New answers tagged

0

You could use the default blog posts / custom post type and make use of the custom taxonomy and create a hierarchy of your list types. You can then achieve your page by using a shortcode to pull in your categories ( Salads) and children (Best Non-Veg Salads) . Within your shortcode you could use get_terms()


1

You may simply use register_post_type and register_taxonomy to do so: function add_cpt_salads(){ $labels = array( 'name' => __( 'Salads', 'your-text-domain' ), 'singular_name' => __( 'Salad', 'your-text-domain' ), 'menu_name' => __( 'Salads', 'your-text-domain' ...



Top 50 recent answers are included