WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] wp_get_archives function… can I exclude a category?

[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.

    c0y0te

Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] wp_get_archives function… can I exclude a category?’ is closed to new replies.
Skip to toolbar