WP_Query for Event Category
-
I am having trouble creating a custom WP_Query for the taxonomy-event-category template.
I want to alter the number of posts that display because using the normal loop query will pull from the WordPress settings that are set.
If I create a custom WP query and set post type to events it will pull all events and not just the events from that particular category.
How can I tell the custom query to only pull events from the category instead of pull all events?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP_Query for Event Category’ is closed to new replies.