Difficult WordPress Question...?

WordPress powered site that is setup with a custom front page. For the most part, the frontage is structured like so:

Cat 1

<bold>

Latest post from category

</bold>

<li>

next 5 posts from category

</li>

Cat 2

<bold>

Latest post from category

</bold>

<li>

next 5 posts from category

</li>

Cat 3

<bold>

Latest post from category

</bold>

<li>

next 5 posts from category

</li>

The problem is, a post can be assigned to more than one category. So, I could write a post "Sample Post" and publish it in the Cat 1 and Cat 2 categories. From here, the front page would display that post under two of the categories, and it would also be the most recent post, so it would be published as <bold>Sample Post</bold> for both categories on the homepage.

I am trying to get the post to only be displayed under one category on the homepage. Any other recommendations regarding this issue would also be welcomed.

Update:

Thank you so much for your recommendations, Gary. However, I do not want to have to adjust the date or limit myself to categorizing a post into just one category.

I'm trying to figure out the code that would allow for a post to be in as many categories as I want, but only be displayed on my homepage under one of the categories.

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 Q2A.ES - All rights reserved.