WordPress.org

Ready to get started?Download WordPress

Forums

Simple Organization theme help (3 posts)

  1. AVwriter
    Member
    Posted 3 years ago #

    I have my site - Frembes.com - running on Arcsin's Simple Organization theme. I'd like to be able to publish a primary page (a page, not a post) without it showing up in the top menu. Actually, I'd like to publish a page without it showing up in *any* menu. Is that possible? If so, how?

  2. Brett
    Member
    Posted 3 years ago #

    You can, but you have to get your hands dirty with code. First and foremost, backup your files before you start editing them!

    Okay? Cool. In your functions file add this line somewhere:

    register_nav_menu( 'primary', __( 'Primary Menu', 'arcsin' ) );

    Got it? Now in your header.php file look for the line that has:

    <ul class="tabbed">
    <?php sm_mainnav(); ?>
    </ul>

    And replace it with this:

    <?php wp_nav_menu('menu_location=primary&menu_id=&menu_class=tabbed'); ?>

    Let me know how it worked out. When you put those in, you can now use the WordPress Custom Menu system found under Appearance. Note: You have to be using WordPress 3.0+ to do this, but you should already be running WP 3.2.1

  3. AVwriter
    Member
    Posted 3 years ago #

    Thanks for the instructions! i'll have to do this over the weekend so that no one sees it if I totally mess it up. I'll post back whether it worked or not.

Topic Closed

This topic has been closed to new replies.

About this Topic