zulok on "Multiple CPT under one single menu entry point"

ساخت وبلاگ

Hi

First of all, apologies if this has been answered before however I have been searching for 2-3 hours in the WP Support unsuccessfully.

I have several CPT that represent different types of agenda items (event, trainings, workshops...) and I would like to display all of them as an Archive template from a single menu item that it is neither the front page, neither the blog page.

As submenus of this one, there would be a link to each CPT subtype sluc (I know how to do this). But at first navigation level of the menu I would like to see a mix of all CPT's together.

Here is what I want to do

1) Menu Item 1
2) Menu Item 2
3) Menu Agenda -> Resolves to an archive page showing cpt1 & cpt2 & cpt3
3.1) Events CPT1 -> mysite.comcpt1
3.2) Trainings CPT2 -> mysite.comcpt2
3.3) Workshops CPT3 -> mysite.comcpt3
4) Menu Item 4
5) Menu Item 5

Thanks

Zulok

PS: BTW, I am using pre_get_posts to sort CPTs by a date that is stored in postmeta

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 292 تاريخ : سه شنبه 12 مرداد 1395 ساعت: 3:31