WordPress.org

Ready to get started?Download WordPress

Forums

Big City
Custom menu item does not display (2 posts)

  1. yodielay
    Member
    Posted 1 year ago #

    I created a custom menu to replace the menu. I want to link to a page that is not in the site, so I created a "custom link". The link to the page shows up fine but the custom link does not display. I have all plugins disabled. Both links show up using Twentyten as the theme. How do I get the link to display? The menu code in header.php for the menu matches Twentyten exactly, but the functions file is different for registering. However, the issue is not the menu showing up, but the custom link showing up.

    http://wordpress.org/extend/themes/big-city/

  2. tygerknight
    Member
    Posted 1 year ago #

    I tried emailing the support email address listed in the style.css file, but it bounced.

    The problem is that the functions.php registers the menu one way

    register_nav_menu('main', 'Main navigation menu');

    and header.php calls for it using another name

    <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>

    Change 'primary' in the second line to 'main' and the custom menu will work.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic