Wordpress Navigation Menu Problem

8 replies
  • WEB DESIGN
  • |
Hey everyone,

I am so sorry for the completely noob question but i figure if i never ask I am never going to learn. When building a site with wordpress how do I keep new pages from showing up on the navigation menu??

My theme is called "freshy 2"

I am trying to build a site with more of a corporate feel than a blog and it is my first doing anything other than a traditional blog setup. I want to have hundreds of pages eventually but every time I add a page, it adds it to the navigation menu but I only want the home, about, and contact to show up.

I tried to contact the developer but he has not gotten back to me and I have searched a lot through several forums including this one and google. Again I am sorry for the noob question I just really need some help. Then I have to figure out how to change the header!

Thanks everyone
#menu #navigation #problem #wordpress
  • Profile picture of the author Ashley Skuse
    Hey TheJunkMan,

    Try checking the Appearance section in the admin panel where you can add and remove widgets. From what I'm seeing, it is a widget theme, but it may not necessarily be using a widget for the page links. If they're down the side, you should be able to remove the Pages widget.

    If the page links are appearing along the top, they may more likely be in the template code. Enter the Editor section in the admin panel, and take a look in header.php to see if there's any code inserting your page links automatically.

    I understand that you may not be able to recognise the possible code, so if you still have any problems after this then I will take a closer look for you later on.
    {{ DiscussionBoard.errors[1641492].message }}
    • Profile picture of the author TheJunkMan
      Hey Ashley,

      Yeah it is on the top in the header! I checked the widgets just to make sure and there was one but only for the sidebar pages.

      I opened the Header.php in the editor and to be honest with you, I am absolutely clueless as to what any of it is! I am sorry! I will post it here if that is okay.

      I would appreciate your help so much if it is not too much trouble!

      Thank you and here is the header.php file from my site!

      And if you could show me how to change the header image while it is up that would be awesome!


      <?php
      define ('TEMPLATE_DOMAIN','freshy2');
      load_theme_textdomain(TEMPLATE_DOMAIN);
      global $freshy_options;
      $freshy_options = get_option('freshy_options');
      ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
      <head profile="http://gmpg.org/xfn/11">
      <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
      <title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>
      <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
      <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" title="Freshy"/>
      <!--[if lte IE 6]>
      <link rel="stylesheet" href="<?php print get_bloginfo('stylesheet_directory').'/fix-ie.php'; ?>" type="text/css" media="screen"/>
      <![endif]-->
      <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
      <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
      <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
      <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
      <?php wp_get_archives('type=monthly&format=link'); ?>
      <?php wp_head(); ?>
      </head>
      <body>
      <div id="body">

      <div id="header">
      <div class="container">
      <div id="title">
      <h1>
      <a href="<?php echo get_settings('home'); ?>">
      <span><?php bloginfo('name'); ?></span>
      </a>
      </h1>
      <div class="description">
      <small><?php bloginfo('description'); ?></small>
      </div>
      <div id="quicklinks">
      <ul>
      <?php if ($freshy_options['custom_quicklinks'])
      {
      foreach ($freshy_options['custom_quicklinks'] as $custom_quicklink)
      {
      ?>
      <li>
      <a href="<?php echo $custom_quicklink['url']; ?>">
      <?php _e($custom_quicklink['label'],TEMPLATE_DOMAIN); ?>
      </a>
      </li>
      <?php
      }
      }
      ?>
      <?php if($freshy_options['header_rss']) : ?>
      <li><a title="rss" href="<?php bloginfo('rss2_url'); ?>" class="rss">rss</a></li>
      <?php endif; ?>
      </ul>
      <?php if($freshy_options['header_search']) : include (TEMPLATEPATH . '/searchform.php'); endif; ?>
      </div>
      </div>
      <div id="header_image">

      <div id="menu">
      <div class="menu_container">

      <ul>

      <?php if ('page' != get_option('show_on_front')) : // no page has been chosen as frontpage ?>

      <li class="<?php if (is_home()) echo 'current_page_item'; ?>">
      <a href="<?php echo get_settings('home'); ?>">
      <?php _e($freshy_options['first_menu_label'],TEMPLATE_DOMAIN); ?>
      </a>
      </li>

      <?php endif; ?>

      <?php wp_list_pages('sort_column=menu_order&title_li='); ?>

      <?php if ($freshy_options['custom_menus'])
      {
      foreach ($freshy_options['custom_menus'] as $custom_menu)
      {
      ?>
      <li>
      <a href="<?php echo $custom_menu['url']; ?>">
      <?php _e($custom_menu['label'],TEMPLATE_DOMAIN); ?>
      </a>
      </li>
      <?php
      }
      }
      ?>

      <?php if ($freshy_options['last_menu_type']=='email' || $freshy_options['last_menu_type']=='link') : ?>

      <li class="last_menu">

      <?php if ($freshy_options['last_menu_type']=='email') : ?>

      <a href="mailto:<?php echo $freshy_options['contact_email']; ?>">
      <?php _e($freshy_options['last_menu_label'],TEMPLATE_DOMAIN); ?>
      </a>

      <?php elseif ($freshy_options['last_menu_type']=='link') : ?>

      <a href="<?php echo $freshy_options['contact_link']; ?>">
      <?php _e($freshy_options['last_menu_label'],TEMPLATE_DOMAIN); ?>
      </a>

      <?php endif; ?>

      </li>

      <?php endif; ?>

      </ul>

      </div><span class="menu_end"></span>
      </div>

      </div>
      </div>
      </div>

      <div id="page" <?php echo freshy_layout_class() ?>>
      <div class="container">
      <div id="frame">
      {{ DiscussionBoard.errors[1641574].message }}
      • Profile picture of the author LynnM
        Haven't tried this myself, but it's a plugin that allows you to exclude pages from the navigation: WordPress › Exclude Pages WordPress Plugins



        Lynn
        {{ DiscussionBoard.errors[1641648].message }}
        • Profile picture of the author TheJunkMan
          Originally Posted by LynnM View Post

          Haven't tried this myself, but it's a plugin that allows you to exclude pages from the navigation: WordPress › Exclude Pages WordPress Plugins



          Lynn
          Thank you so much I truly appreciate that! When I FTP'd that particular one it did not seem to work but it inspired me to search through my wp admin section. I searched through the admin section and found one by Simon Wheatly that works awesome!

          Thank you!


          And now if anyone could help me change the header image, I would appreciate it so much!!

          The developer of the theme created a plugin but no one can get it to work properly with the header image.

          Does anyone know how to change the header image?

          Thanks
          {{ DiscussionBoard.errors[1642148].message }}
          • Profile picture of the author LynnM
            Originally Posted by TheJunkMan View Post

            Thank you so much I truly appreciate that! When I FTP'd that particular one it did not seem to work but it inspired me to search through my wp admin section. I searched through the admin section and found one by Simon Wheatly that works awesome!

            Thank you!


            And now if anyone could help me change the header image, I would appreciate it so much!!

            The developer of the theme created a plugin but no one can get it to work properly with the header image.

            Does anyone know how to change the header image?

            Thanks
            You're welcome, glad you found a solution. As for the header, you can normally change the Freshy one within admin...but looking at their site, there have been a few comments left about problems with Wordpress 2.9: Freshy 2 theme (Wordpress) | jide.fr


            Lynn
            {{ DiscussionBoard.errors[1643910].message }}
  • Profile picture of the author nota-bene
    It is located in your stylesheet:

    #header_image {
    padding-top:200px;
    background-image:url(images/headers/499153_79030836.jpg);
    background-position:center;

    *EDIT*

    All your headers are in a folder with that same name. So images/headers/ - all you need to do is upload your header to that folder and change the name on your stylesheet as highlighted in red.
    Signature

    {{ DiscussionBoard.errors[1644500].message }}
    • Profile picture of the author TheJunkMan
      Originally Posted by nota-bene View Post

      It is located in your stylesheet:

      #header_image {
      padding-top:200px;
      background-image:url(images/headers/499153_79030836.jpg);
      background-position:center;

      *EDIT*

      All your headers are in a folder with that same name. So images/headers/ - all you need to do is upload your header to that folder and change the name on your stylesheet as highlighted in red.

      That worked great man, thank you again, I really appreciate it!

      Thank you so much for all your guys help! Everything worked! I love this forum!

      Thanks very much
      {{ DiscussionBoard.errors[1654905].message }}
  • Profile picture of the author nota-bene
    No problems!
    Signature

    {{ DiscussionBoard.errors[1664257].message }}

Trending Topics