WordPress.org

Ready to get started?Download WordPress

Forums

PHP code for Drop Down Menue (4 posts)

  1. ioushirts
    Member
    Posted 4 years ago #

    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!

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Have you tried looking for support at WooThemes?

  3. jonradio
    Member
    Posted 4 years ago #

    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

  4. ioushirts
    Member
    Posted 4 years ago #

    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') ); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic