Topic: CMS Navigation doesn't work ?
How Do I not show page tittles on the navigation?
I have a lot of pages which i dont want to show on the navigation and also CMS navigation plug in doesn't work with this theme.
Tatsuya
Ask Questions and Find Answers for Press75.com Themes and Plugins
You are not logged in. Please login or register.
If you have purchased themes from Press75.com, a verified forum account has already been created for you. Please login using the information sent to the email address you used to purchase your theme or theme pack. Only Premium Theme members can post topics within Premium Theme forums. Please post topics within the appropriate theme forum. Premium theme topics posted within the free theme forums will be removed without prior notification.
Please note that I do not offer support for installation, customization or administration of WordPress itself, nor do I provide support for any 3rd party plugins you might choose to use with your theme. For more information on how to use WordPress please refer to the official WordPress documentation codex which can be found at "http://codex.wordpress.org/".
How Do I not show page tittles on the navigation?
I have a lot of pages which i dont want to show on the navigation and also CMS navigation plug in doesn't work with this theme.
Tatsuya
theme folder
header.php
line 38-line 44
<div id="navigation">
<ul>
<li <?php if (is_home()) { echo 'class="current_page_item"'; } ?>><a href="<?php echo get_option('home'); ?>/" title="Home">Home</a></li>
<?php wp_list_pages('title_li='); ?>
</ul>
</div>
if you do not what the page shows .delete this code
Thank you for the quick reply.
I did what you said, but I wanna leave a couple of tittles too.
How do I distinguish page tittles that I want to show and I dont want to show on navigation ?
Thank you for the quick reply.
I did what you said, but I wanna leave a couple of tittles too.
How do I distinguish page tittles that I want to show and I dont want to show on navigation ?
<?php wp_list_pages('title_li=&exclude=1,2,3'); ?>
due to the codes i list in the first reply
you can modify the
<?php wp_list_pages('title_li='); ?>
to
<?php wp_list_pages('title_li=&exclude=1,2,3'); ?> change 1,2,3 to the page id you do not want to show.
a reference is http://codex.wordpress.org/Template_Tags/wp_list_pages
Is it what you want?
Yes that's what I want.
Thank you so much!!
Powered by PunBB, supported by Informer Technologies, Inc.
Currently used extensions: pun_repository, pun_antispam. Copyright © 2008 PunBB