Jump to content


Photo
- - - - -

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


  • Please log in to reply
3 replies to this topic

#1 gamesworkshop

gamesworkshop

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 17 February 2011 - 09:32 AM

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.

#2 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 17 February 2011 - 02:15 PM

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.

#3 gamesworkshop

gamesworkshop

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 17 February 2011 - 04:21 PM

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.

#4 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 17 February 2011 - 05:31 PM

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.