Jump to content

[SOLVED] Simple question about a wordpress site


Jebaloo

Recommended Posts

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>

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.