Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 05-05-2009, 10:28 AM   #1
Advanced Warrior
War Room Member
 
SusanneUK's Avatar
 
Join Date: May 2008
Location: Swansea, South Wales, UK
Posts: 981
Thanks: 512
Thanked 182 Times in 123 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to SusanneUK
Default Help please, need to put HOME tab on header navbar

Hope someone can help me. I am making a stic blog using Wordpress and have uploaded a free "sandbox" theme from WP org.

I want to put "home" into the header navbar which of course would lead someone back to the home static page.

At the moment it is listing the name of the page(s) which is very long and I would rather there was a home tab there that leads back to the first page (hope I am making myself clear, sorry if not).

Once I have the home tab in place I will then exclude the page via ID number from the navbar. If I do that now, there is no way (in the way I want this designed) for a visitor to go from say the contact page (not on there yet) back to the front page.

This is my header code:
Code:
 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="XHTML namespace" <?php language_attributes() ?>>
<head profile="XFN 1.1 profile">
 <title><?php wp_title( '-', true, 'right' ); echo wp_specialchars( get_bloginfo('name'), 1 ) ?></title>
 <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
 <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url') ?>" />
<?php wp_head() // For plugins ?>
 <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" title="<?php printf( __( '%s latest posts', 'sandbox' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" />
 <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( __( '%s latest comments', 'sandbox' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" />
 <link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
</head>
<body class="<?php sandbox_body_class() ?>">
<div id="wrapper" class="hfeed">
 <div id="header">
  <h1 id="blog-title"><span><a href="<?php bloginfo('home') ?>/" title="<?php echo wp_specialchars( get_bloginfo('name'), 1 ) ?>" rel="home"><?php bloginfo('name') ?></a></span></h1>
  <div id="blog-description"><?php bloginfo('description') ?></div>
 </div><!--  #header -->
 <div id="access">
  <div class="skip-link"><a href="#content" title="<?php _e( 'Skip to content', 'sandbox' ) ?>"><?php _e( 'Skip to content', 'sandbox' ) ?></a></div>
  <?php sandbox_globalnav() ?>
 </div><!-- #access -->
Can anyone tell me what I need to change to make this possible, if it is LOL

Thanks in advance
Sue

One-to-One WordPress Coaching Service Available at Low Hourly Rate - Let the frustration end now! WordPress Installs, Theme Design, Site Tweaks & other WordPress services available
SusanneUK is offline   Reply With Quote
Old 05-05-2009, 11:27 AM   #2
Advanced Warrior
War Room Member
 
SusanneUK's Avatar
 
Join Date: May 2008
Location: Swansea, South Wales, UK
Posts: 981
Thanks: 512
Thanked 182 Times in 123 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to SusanneUK
Default Re: Help please, need to put HOME tab on header navbar

OK well I posted here and then went and did some more looking around via google and ended up doing this work around to this problem, I will post it here in case this ends up helping someone else with the same problem.

First I installed "Exclude Pages from Navigation" plugin by Simon Wheatley which puts an extra box to the right of your posting area for pages and I think posts too.

It comes as default ticked to "Include this page in user menus" so if you want a page included in any menu then leave it ticked, if not, untick it.

Then I went and created a page and put this into the title area:

<a href=”you need to have your blog URL here/”>Home </a>

And it is important to leave the space in after the word "home" if you will only be using one word for the title of your page using this method, if you are using two words then it is fine.

Nothing else is posted in the page.

I left the box ticked to include it in user menus.

I then went to the page that I didn't want listed in the navbar but that is the actual home page (confusing LOL) and unticked the box to include it in user menus.

It worked for me, hope someone finds it useful.

Sue

One-to-One WordPress Coaching Service Available at Low Hourly Rate - Let the frustration end now! WordPress Installs, Theme Design, Site Tweaks & other WordPress services available
SusanneUK is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
header, home, navbar, put, tab

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 07:01 AM.