![]() |
| ||||||||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
HyperActive Warrior
War Room Member
Join Date: May 2009
Posts: 148
Thanks: 78
Thanked 24 Times in 4 Posts
|
Hello Guys,
I am having a few problems, I am trying to figure out how to hide wordpress pages on a free theme I have found. Here is some of the code from the header.php PHP Code:
Any help at all is appreciated. |
|
My New Personal Blog: Samuel Bell : http://samuelbells-junction.com
|
|
|
|
|
|
|
#2 |
|
Advanced Warrior
War Room Member
Join Date: May 2008
Location: Swansea, South Wales, UK
Posts: 798
Thanks: 391
Thanked 137 Times in 93 Posts
|
Try adding the plugin to "exclude pages from menus" you tick a box if you want the page to show in any user menues, so if you want to hide a page, create it, and untick the box.
Search for it in your "Add New" plugins area. Cheers Sue EDIT - This is the name of the plugin "Exclude Pages from Navigation" |
|
SALE---> Wordpress Christmas Theme Package Sale, 5 Themes for just $7 <---SALE
Featured Content Gallery Integration, 5 Designs to choose from! One-to-One Wordpress Coaching Service Available at Low Hourly Rate - Let the frustration end now! Wordpress Installs, Theme Design, Site Tweaks & other services available - 20% discount for Warriors! |
|
|
|
|
|
|
#3 |
|
Warrior Member
Join Date: Oct 2009
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
|
I haven't seen such a complicated code,usually list_pages function is failry enough...
To hide pages in the navbar you should paste your header.php in Notepad++ or other editor and find the matching closing php tag for Code:
<?php function get_the_pa_ges() {
Code:
?> I hope this helps |
|
|
|
|
|
#4 |
|
Vetwriter
War Room Member
Join Date: Dec 2005
Location: Australia.
Posts: 447
Thanks: 29
Thanked 31 Times in 30 Posts
|
Susanne is on the ball, I use that plugin too, it's very simple to use.
Here's the link WordPress › Exclude Pages WordPress Plugins |
|
|
|
|
|
|
![]() |
|
| Tags |
| hinding, pages, problems, wordpress |
| Thread Tools | |
|
|
![]() |