Jebaloo Posted December 22, 2007 Share Posted December 22, 2007 Ok, Well I just wrote a problem in this post and then fixed it on my own about 10 seconds later! I do have another question though, so let me just get it together, and I'll post it here in a couple of minutes! Quote Link to comment https://forums.phpfreaks.com/topic/82850-solved-simple-question-about-a-wordpress-site/ Share on other sites More sharing options...
Jebaloo Posted December 22, 2007 Author Share Posted December 22, 2007 OK here it is, I'm working on this site: http://lacrossescotland.com/ It's in its very early stages (is quite ugly right now, the pictures are just placemarkers - forgive me) At the top of the page there is an automatic system of showing ALL of the pages that are in the site as menu items. I intend to have upwards of 20 pages on the site eventually, but these will be subcategorised under about 5 main headers. I really don't know an awful lot about php, but do you think it would be possible to work out a way of telling it only to show the 5 page titles that I want? Below is any code that I 'think' will be useful, but if it's not please let me know what to extract and I'll get it for you: (this is from within the 'header.php file' <div id="menu"> <ul> <li class="page_item"><a href="<?php echo get_settings('home'); ?>">Home</a></li> <?php wp_list_pages('title_li=&depth=1'); ?> </ul> </div> Quote Link to comment https://forums.phpfreaks.com/topic/82850-solved-simple-question-about-a-wordpress-site/#findComment-421373 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.