0

I have custom post type and I want to have a menu where I combine category or categories from default Wordpress post type and from my custom post type.

Let's say I have these categories

  • sport, books, movies, any in default post type
  • sport, books, school, any in my custom post type

can I have a menu link where I would display

  • sport posts from both post types?
  • sport, books posts from default post type and any from my custom post type?
1

What I would suggest in this situation is that you create a "CUSTOM QUERY" to query the posts. Set this custom query into a page, then use Appearance > Menu's to add the page into your menu structure.

I hope this helps.

  • how do I link custom query with the page? – Radek Apr 3 '11 at 22:59
  • Just us query_posts or wp_query search them on the codex mate. – Xavier Apr 4 '11 at 0:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.