Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 08-13-2009, 03:59 PM   #1
Active Warrior
 
Join Date: Mar 2009
Posts: 89
Thanks: 20
Thanked 4 Times in 4 Posts
Default WP Header page hack please

Hi, is there a way to suppress certain Pages from appearing from my Header menu in Wordpress? I want certain pages to appear in my sidebar, but not along the top of the page as well.

I'm guessing it might be something to do with the following code, but I have no idea what it means?

'menu.topItemBegin' => "<span class=\"l\"></span><span class=\"r\"></span><span class=\"t\">",
'menu.topItemEnd' => "</span>"

Many thanks!
Bounderby is offline   Reply With Quote
Old 08-13-2009, 04:11 PM   #2
HyperActive Warrior
War Room Member
 
dave830's Avatar
 
Join Date: Dec 2006
Location: Sunny Tampa FL
Posts: 212
Thanks: 106
Thanked 27 Times in 22 Posts
Default Re: WP Header page hack please

Bonderby,

There's a plugin called "Exclude Pages From Navigation".

When installed, the page editor screen will have a checkbox to have this page included/excluded from the main nav menu.

Dave

Read the rules!
dave830 is offline   Reply With Quote
Old 08-13-2009, 04:21 PM   #3
A rat after money...
War Room Member
 
HomeBizNizz's Avatar
 
Join Date: Jul 2009
Location: Inside a cheese...
Posts: 598
Thanks: 363
Thanked 55 Times in 47 Posts
Default Re: WP Header page hack please

No need for a plugin.
Use the widget instead to exclude page id's.
Attached Thumbnails
WP Header page hack please-wf-no-need.jpg  

HomeBizNizz is offline   Reply With Quote
Old 08-13-2009, 05:00 PM   #4
Active Warrior
 
Join Date: Mar 2009
Posts: 89
Thanks: 20
Thanked 4 Times in 4 Posts
Default Re: WP Header page hack please

Thanks but neither of these work for what I am looking for.
The widget only works for the sidebar, not the header menu. And the plug-in excludes the page completely not just from the header menu.
For example, say I have pages Home, Contact, Privacy, Content2, Content3 etc. I want pages Content2, Content3 etc. to show in the sidebar, but not along the top with the others. The widget can suppress pages in the sidebar but not the other way around that I can see, and the plug-in excludes a page from both header AND sidebar, not just header.
Do I have to create them as posts instead? I find pages easier to organise that's all.
Bounderby is offline   Reply With Quote
Old 08-13-2009, 07:17 PM   #5
Active Warrior
War Room Member
 
spicer's Avatar
 
Join Date: Apr 2008
Location: , , USA.
Posts: 75
Blog Entries: 4
Thanks: 0
Thanked 19 Times in 16 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: WP Header page hack please

I do not know of any plugin or easy way,but if you look in the header file of your theme by going to themes and selecting editor you could copy and paste the file into word or other editor that would allow you to search for the text of the menu item you are trying to remove and then edit the line. Depending on the theme it may or may not be easy to find and edit. It will most likely be in a section title nav or something similar..

What theme are you using?

PM Me about how to get your own BMW in 120 days plus be earning enough money to quit your day job. Qualify in as little as 120 days to get your own BMW helping people lose weight and loss fast. We provide a 90 day challenge that really motivates the customers as well. They can win prizes including cash and vacations based on the amount of weight lost. What is better than helping people lose weight, become healthier and make money? Fully automated website and back office to get you started.
spicer is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
hack, header, menu, page

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 03:04 PM.