• arthurdent2003

    (@arthurdent2003)


    Hi!

    How can I manually remove a page from the Shailan Drop Down Menu with php?

    I am using qtranslate for a two language blog – in the english version one Page should not appear. I tried this:

    <?php if(qtrans_getLanguage()==’de’): ?><?php shailan_dropdown_menu(); ?><?php endif; ?>
    <?php if(qtrans_getLanguage()==’en’): ?><?php shailan_dropdown_menu(); ?><?php endif; ?>

    but how can I tell shailan to exclude one page?
    thank you!

    AD

Viewing 1 replies (of 1 total)
  • I’m using this plugin for a drop down, however I have 2 nav’s :
    ‘secondary’ ) ); ?>
    ‘primary’ ) ); ?>
    using functions :
    register_nav_menus( array(
    ‘primary’ => __( ‘Primary Navigation’, ‘Total Escrow’ ),
    ‘secondary’ => __(‘Secondary Navigation’, ‘Total Escrow’)
    ) );
    the second nav is fine and only has list items from the appearance => menus
    but the shailan_dropdown has all list items from both primary and secondary but I only want the list items from Primary, could any body advise me on this please??

Viewing 1 replies (of 1 total)
  • The topic ‘Shailan Drop Down Menu’ is closed to new replies.