tab menu for taxonomies newbie question
-
Hello everybody,
I’m fairly new to wordpress so this might be a simple one. Here is my problem:
In my wordpress project I have custom post type “articles”. This custom post type has a taxonomy “category”.
On my articles overview page I want to display these article posts. That all works well.
Now I need to add a tab menu where I can filter my article posts by the taxonomy that I declared. So I would have four different tab:
– all posts
– category 1 posts
– category 2 posts
– category 3 postsDepending on which tap I press the list underneath my category tap menu would change.
I have no clue how to do that. Can I somehow trigger the “query_posts(‘post_type=article’)” method from js?
I would also need to change the query_posts method that it only looks for posts with a certain taxonomy.
Any help is appreciated.Regards
Robin
- The topic ‘tab menu for taxonomies newbie question’ is closed to new replies.