| | #1 |
| Warrior Member Join Date: 2009
Posts: 28
Thanks: 7
Thanked 1 Time in 1 Post
|
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 |
| |
| | #2 |
| Warrior Writer War Room Member Join Date: 2010 Location: UK
Posts: 166
Thanks: 16
Thanked 17 Times in 16 Posts
|
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. |
| |
| The Following User Says Thank You to Ashley Skuse For This Useful Post: |
| | #3 |
| Warrior Member Join Date: 2009
Posts: 28
Thanks: 7
Thanked 1 Time in 1 Post
|
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"> |
| |
| | #4 |
| Advanced Warrior War Room Member Join Date: 2005 Location: NE Scotland
Posts: 554
Thanks: 569
Thanked 464 Times in 319 Posts
|
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 |
| |
| The Following User Says Thank You to LynnM For This Useful Post: |
| | #5 | |
| Warrior Member Join Date: 2009
Posts: 28
Thanks: 7
Thanked 1 Time in 1 Post
|
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 | |
| |
| | #6 | |
| Advanced Warrior War Room Member Join Date: 2005 Location: NE Scotland
Posts: 554
Thanks: 569
Thanked 464 Times in 319 Posts
|
Lynn | |
| |
| | #7 |
| HyperActive Warrior War Room Member Join Date: 2009 Location: London Town
Posts: 175
Thanks: 59
Thanked 28 Times in 28 Posts
|
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. |
| Last edited on 20th Jan 2010 at 12:08 PM. Reason: Further Clarification/Poor Spelling | |
| |
| The Following User Says Thank You to nota-bene For This Useful Post: |
| | #8 | |
| Warrior Member Join Date: 2009
Posts: 28
Thanks: 7
Thanked 1 Time in 1 Post
|
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 | |
| |
| The Following User Says Thank You to TheJunkMan For This Useful Post: |
| | #9 |
| HyperActive Warrior War Room Member Join Date: 2009 Location: London Town
Posts: 175
Thanks: 59
Thanked 28 Times in 28 Posts
|
No problems!
|
| | |
| |
|
| Bookmarks |
| Tags |
| menu, navigation, problem, wordpress |
| |