cblcruz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to change the Page Navigation from the Top Left?Hi alchymyth,
Thanks a lot, that did the trick
using the & to link the parameter I was able to remove the word “Pages” from my menu.
Thanks again,
cblcruz
Forum: Fixing WordPress
In reply to: How to change the Page Navigation from the Top Left?Thank alchymyth,
I changed line 462 as you said and I was able to remove the page from the list however a word “Pages” is shown on top of all my list (menu) now and that is, not only ugly, but unnecessary.
——–from line 460—–function sandbox_globalnav() { echo '<div id="menu"><ul><li class="page_item"></li>'; $menu = wp_list_pages('exclude=130','title_li=&sort_column=menu_order&echo=0'); // Params for the page list in header.php echo str_replace(array("\r", "\n", "\t"), '', $menu); echo '<li class="page_item"><a href="'. get_bloginfo_rss('rss2_url') .'"></a></li></ul></div>'; }
——-to line 465——–
How do I remove the word “Pages” from the top of my menu?
it only shows when I include the (Exclude=xxx) clause.Also, at the code there is a comment stating that we should pass the pararms from the header.php. Do you or anybody here knows how to do that since my menu is being formed via sandbox like that:
<?php sandbox_globalnav() ?>
Any help will be appreciated,
Kindly,
Forum: Themes and Templates
In reply to: [Theme: modmat] want to exclude some pages from navigationHi Guys,
I simply want to exclude on page from the entire siteexclude=130
where do I put that effectively?
thanks for any help
Forum: Fixing WordPress
In reply to: How to change the Page Navigation from the Top Left?Hi,
I would like to know, if any of you know, where can I edit my page lists for the menu?Some pages I do not need to be listed and would like to have removed.
I know that we can do that by using:
<?php wp_list_pages('exclude=89' ); ?>
Being 89 the page ID I want to exclude, and that on my header.php page but it doesnt work with AutoFocus Template.
Any ideas on how to exclude pages from the top menu?
Thanks,