Jump to content
Sign in to follow this  
laurenp

Is it possible to exclude certain categories from the post navigation?

Recommended Posts

laurenp

Hi, I am setting up a website and have a "portfolio" category with a number of sub categories. I also have "blog" category. I have post navigation set up in my portfolio (or single post page) template so people can move from one item to the next. The problem is my regular blog posts will show up in the navigation for the portfolio category and vice versa. Any suggestions on how I could exclude all other categories apart from Portfolio and it's sub categories from the post navigation? Or even better could I create two post navigation sections.. one for the portfolio category and one for the blog category? Cheers, Lauren

Share this post


Link to post
Share on other sites
Kate

Hi Lauren, Have you tried custom menus? Appearance->Menus.

Share this post


Link to post
Share on other sites
laurenp

Hi Kate, This is different to custom menu - it's the dynamically generated post nav. which is a section I apply in the template. So as I add a new portfolio or blog item it adds it to the list. and it appears in a next/previous format. As far as I know this can't be achieved with the WP Menus???

Share this post


Link to post
Share on other sites
laurenp

Hi Catrina here is a link to the page in question: http://www.tomatocreative.com.au/2011/07/wicks-surf-wordpress-website-design/ You can see the post nav at the top. Unfortunately the top right shows "coming soon" which is in the blog category. I want to hide this category from the post nav and just have those items assigned to the portfolio category show up. There is a more recent post where Adam M posted the following link... I think this could be somewhere on the right track for my issue however I was hoping to be able to make an edit to the section in the base theme rather than Wordpress itself. I'm not a PHP programmer by any means but I think I should be able to hack it somehow. http://brightscape.net/blog/exclude-category-wordpress-blog-loop-rss-feed/ Hopefully I'm over-thinking it and there is a simple solution??? thank you!

Share this post


Link to post
Share on other sites
laurenp

Hi Catrina here is a link to the page in question: http://www.tomatocreative.com.au/2011/07/wicks-surf-wordpress-website-design/ You can see the post nav at the top. Unfortunately the top right shows "coming soon" which is in the blog category. I want to hide this category from the post nav and just have those items assigned to the portfolio category show up. There is a more recent post on this forum where Adam M posted the following link... I think this could be somewhere on the right track for my issue however I was hoping to be able to make an edit to the section in the base theme rather than Wordpress itself. http://brightscape.net/blog/exclude-category-wordpress-blog-loop-rss-feed/ Hopefully I'm over-thinking it and there is a simple solution??? thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×