Shailan Drop Down Menu (2 posts)

  1. arthurdent2003
    Posted 5 years ago #


    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!


  2. bmdesign
    Posted 4 years ago #

    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??

Topic Closed

This topic has been closed to new replies.

About this Topic