arthurdent2003
Member
Posted 1 year ago #
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
bmdesign
Member
Posted 8 months 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??