WordPress.org

Ready to get started?Download WordPress

Forums

Dropdown Menu Widget
Exclude Pages in php - 2 Languages qtranslate (1 post)

  1. arthurdent2003
    Member
    Posted 3 years 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

    ps- Sorry for doublepost

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by arthurdent2003
  • This topic is not resolved
  • WordPress version: 3.1.1