• wp-newbee

    (@wp-newbee)


    Hello,
    Thank you for this beautiful theme.
    As your instruction to create a blog, I created a category called blog and assigned posts that need to be shown there. I have nav in the menu for it.
    My client likes to have some of these posts also assigned to another category called Podcast which also has a nav in the menu. So far, so good, the problem accords when user click on the (..more) link and the whole post appears with both nav highlighted on top menu: https://training.bhhscalifornia.com/greggneuman/

    I tried few solutions I found online, but it didn’t work. such as
    //custome post template for podcast
    function get_custom_cat_template($single_template) {
    global $post;

    if ( in_category( ‘podcast’ )) {
    $single_template = dirname( __FILE__ ) . ‘/single-template.php’;
    }
    return $single_template;
    }

    add_filter( “single_template”, “get_custom_cat_template” );

    by using above code both blog and podcast are using single-template.php
    Would you please help me with this problem

    I really appreciate your help in advance.

    Thank you.

    newbee

Viewing 1 replies (of 1 total)
  • Theme Author Access Keys

    (@access-keys)

    HI There,
    Please contact us via this link we can customize your site as your requirement.
    Premium customization will charge $35/hour.
    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Two category tab menu are highlighted as current page’ is closed to new replies.