Jump to content

newbie trying to retire posts


Anna99

Recommended Posts

i'm very much a newbie to PHP (10 days) setting up a blog using WordPress.  the theme i am using is: http://www.eblogtemplates.com/demo/

 

after installing, the developer's instructions mentions creating a category called "Asides" so all the posts selected with that category will get placed in that section (bottom left).

 

i am using that particular section for news synopses and each post has at least 2 categories ("Asides" and something else).  because these news briefs expire after a certain time, i tried *retiring* it by unchecking Asides, but then the post gets bumped up into both the Latest and Recent Posts section. essentially, i'm trying to have *retired* posts NOT appear anywhere on the main page, but available for viewing in the Archives.

 

i found the PHP code for excluding posts in certain categories on the home page.  apparently the rule is if post has more than 1 category, it will not work.  so i've tried making the post have only 1 category, and with 2 categories (but in this case, i state the 2 categories to exclude in the code). these scenarios do not work. 

 

help please.

Link to comment
https://forums.phpfreaks.com/topic/117644-newbie-trying-to-retire-posts/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.