[wp-hackers] Filtering a loop by a custom taxonomy term assignment

scribu mail at scribu.net
Thu Oct 21 00:11:26 UTC 2010

On Thu, Oct 21, 2010 at 1:49 AM, David Morris <dvmorris at gmail.com> wrote:

> I have a custom taxonomy called 'test', and I want to filter the main loop
> to show only posts that are tagged with the term 'test_term'.
> I tried using the 'pre_get_posts' and the 'request' filters, and it doesn't
> seem to be working.

Show us the code.

More information about the wp-hackers mailing list