WordPress.org

Support

Support » How-To and Troubleshooting » PHP code for Drop Down Menue

PHP code for Drop Down Menue

  • Hi,

    I’ve just installed the theme Overeasy from Woo Themes on my site http://www.saymma.com. I’ve created parent pages which appear in the top navigation menu, and three child pages under one of the parent pages. However, the 3 child pages are not appearing in a pull-down menu from the parent. Is this something I have to fix in php in the header.php file? Here is the code that is in there now:

    <div id=”nav1″>

      <li <?php if ( is_home() ) { ?> class=”current_page_item” <?php } ?>>/”><span>Home</span>
      <?php if ( get_option(‘woo_addblog’) ) { ?><li <?php if ( is_category() || is_search() || is_single() || is_tag() || is_search() || is_archive() ) { ?> class=”current_page_item” <?php } ?>>” title=”Blog”><span>Blog</span><?php } ?>
      <?php woo_show_pagemenu( get_option(‘woo_menupages’) ); ?>

    </div>
    <!–/nav1–>

    Does anyone know how to do this?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    @esmi

    Forum Moderator

    Have you tried looking for support at WooThemes?

    From what I could tell, this theme was released in October 2008, which means it was not tested with any of the versions of WordPress, Firefox, and IE released since then.

    As this is a Pay Theme and is not included in the WordPress directory of Themes, I would suggest that a better place to get help is the Woo Themes forum at http://forum.woothemes.com/

    edit – originally written before I saw esmi’s post

    Yeah, actually I got this from a friend, so don’t qualify for the support 🙁

    I’m pretty sure it’s somewhere near this piece that I need to code it to include child pages, but I”m not familiar enough with PHP to know how to change it properly.

    <?woo_show_pagemenu( get_option(‘woo_menupages’) ); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP code for Drop Down Menue’ is closed to new replies.
Skip to toolbar