php - Wordpress Custom Post Type conflict with sub page -


heres setup: • page called weddings children pages called winter, spring, fall, summer. • custom post type called 'weddings'. • taxonomy called wedding_type assigned custom post type weddings.

when go page website.com/weddings, shows of weddings posts, types on 1 page. when go website.com/weddings/summer, want use different template can query wedding posts, taxomomy 'wedding_type' of summer. 404. believe because looking wedding post called 'summer'.

any ideas? don't have code post, set via cpt ui plugin.

just change slug of parent page "weddings". slug of page may "weddings", can change "all-weddings" or "list-weddings".

your problem automatically resolve change slug of page named "weddings".


Popular posts from this blog