Multiple featured posts using categories.
-
Currently I’m having difficulty featuring 3 posts from 3 different categories on the homepage of a project I was working on.
So far, I’m using the wp_query method, but it appears, even after using wp_reset_query to hold on whatever is called in the first function.
The only way I know around this is to offset the query. This does not give me the results I want because once I add a new feature and set the category to a specific category it switches all the containers and not just the one marked for “Feature1”.
[Code moderated as per the Forum Rules. Please use the pastebin]
- The topic ‘Multiple featured posts using categories.’ is closed to new replies.