Need help? Check out our Support site, then


Navigation menus

  1. nicholascarter1990
    Member

    Hey guys, Fairly new to wordpress, Need some help with the nav menu. Default theme has a nice and smooth "drop-down" menu. I have a theme i have made from someone elses (about 2% of their code remains xD)

    <div id="access" role="navigation"><br /> <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?><br /> <div class="skip-link screen-reader-text"><a href="#content">"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div><br /> <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?><br /> <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?><br /> </div><!-- #access -->

    When ever i add this to my page as a replacement for...

    <ul> <?php if ( !motion_hide_homelink() ) : ?><li class="page_item<?php echo ( is_home() || is_front_page() ? ' current_page_item' : '' ); ?>"><a>/">Home</a><?php endif; ?><br /> <?php wp_list_pages('depth=1&title_li=0&sort_column=menu_order'); ?> </ul>

    The entire page screws up, Any ideas?

  2. You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you'll find help at the WordPress.org forums.

    If you don't understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It'll help people to answer your question.

    This is an automated message.

Topic Closed

This topic has been closed to new replies.

About this Topic