Exclude posts from main Loop
-
Hi there,
I’ve searched the forum and while I’ve found this question repeatedly, I’ve not found it answered in a way that helps my particular situation.
I’ve built a site for a journalist, where he has a number of categories to which he adds his published writing, e.g. travel, environment, culture. On the front page there is a loop of the three most recent publications. Now, he would like to exclude a couple of the posts – essentially when he feels the latest publication isn’t strong enough to go on the front page, he doesn’t want it listed in that loop of three-most-recent, but still wants to add it to the site/archive.
Since each post is published in one or more categories based on topic, I can’t simply exclude a category from being listed on the front page. One round-about way of doing it would be to create a new category – frontpage – and add the preferred three posts to it, then only show this category on the frontpage, but not in the archive. I could then show the three latest posts from this category.. hm, thinking aloud, that might work?
Ideally, a way to have a checkbox saying “Show on frontpage” would be better I think, since it would exclude having to create more categories, but I’ve searched for such a plugin and can’t find any.
Well, I will try the idea I described above, but will still post this query in case I forget how to do it and end up searching the forum again (!), or in case someone else has the same question. Or if someone knows of a better solution!
The site in question is https://www.michaellevitin.com/
- The topic ‘Exclude posts from main Loop’ is closed to new replies.