Jump to content
Sign in to follow this  
gamesworkshop

Hiding posts in main page area but still showing them in sidebar lists?

Recommended Posts

gamesworkshop    0
gamesworkshop

I want to prevent posts from certain categories from appearing in the main page posts area, but I still want those posts to appear as a list in a sidebar. I've tried using plugins like Front Page Excluded Categories, but that also stops them from appearing in any category lists I create in the sidebars. Anyone have any ideas? Thanks, Paul.

Share this post


Link to post
Share on other sites
Kate    3
Kate

Hi Paul - Are you using PlatformPro? If so, you could modify the query in template.postloop.php. I would first copy this to your child theme, and modify it from there. If you're using another theme, you can use the equivalent PHP file, but note that your changes, in that case, would be overwritten if/when you update the theme.

Share this post


Link to post
Share on other sites
gamesworkshop    0
gamesworkshop

Hi Kate, Thanks for your reply. Yes I am using Platform Pro, but I'm not sure my php skills are good enough for me to do that right now. I'll take a look this evening. Regards, Paul.

Share this post


Link to post
Share on other sites
cmunns    16
cmunns

Also note that if you create a custo menu in APPEARANCE - MENUS you can have your sidebar list any categories, pages, etc that you wish.

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  

×