[Resolved] wp_get_archives function… can I exclude a category?
The method of showing the most recent x posts on my theme is to use the wp_get_archives function. I’ve checked the codex (http://codex.wordpress.org/Template_Tags/wp_get_archives#Last_Twenty_Posts) for info on this but I don’t see an answer so I’m asking the question here.
Is it possible to exclude certain categories when using this function. In other words, can I retrieve all of my most recent X posts, excluding any from category Y. If so – can someone please post an example in code?
All help greatly appreciated.
- The topic ‘[Resolved] wp_get_archives function… can I exclude a category?’ is closed to new replies.