• Resolved pedigo328

    (@pedigo328)


    I was wondering how you create pages but not have them show up under the navigation?
    For example, on my site (rpportfolio.myartsonline.com) the links Poems, Websites, Templates, Videos, and Games, I don’t want to show on the navigation. And I’m not sure how to make them pages but not make them appear on the navigation.

    And then one last questions is, the subtitle below the title that says on my site “Just another WordPress weblog”, and also at the bottom where it says Copyright 2007 BlogName, how do you change those two things?

Viewing 7 replies - 1 through 7 (of 7 total)
  • shadow

    (@shadow)

    Something like this should help:

    <ul>
    <?php
    wp_list_pages('exclude=17,38' ); ?>
    </ul>

    As shown at https://codex.www.ads-software.com/wp_list_pages

    shadow

    (@shadow)

    2. Just another WordPress weblog

    can be changed via your Admin panel – Options. Second text box.

    3. This will be code written into your theme in a file called footer.php – editable either using an offline text editor – which you change and save file and then upload via ftp
    Or online via Presentataion – Theme editor – if you have permissions on those files which allow you to edit online.

    Thread Starter pedigo328

    (@pedigo328)

    Alright sir, just one last question, sorry I’m a noob at wordpress, but what page do I put that in? As in the exclude code. And the excluding numbers are the page ids correct?

    shadow

    (@shadow)

    No need to apologise – that’s why we have forums like this – to learn ??

    what page do I put that in?

    It will go into your header.php file and you should already see it in place – just change the bit between the brackets to include the relevant ID’s ('exclude=17,38' )

    Thread Starter pedigo328

    (@pedigo328)

    <ul>
      <li>
      <a class="<? echo (is_home())?'on':''; ?>" href="<?php echo get_option('home'); ?>/">Home</a></li>
      <?php $pages = wp_list_pages('title_li=0'); ?>
     </ul>

    This is the code I have, since I’m using a different theme. How would I edit that to exclude those certain pages?

    shadow

    (@shadow)

    Add the exclude code to your current coding:

    <?php $pages = wp_list_pages('exclude=17,38&title_li=0'); ?>

    Just change and add the ID’s to suit your particular situation.

    Thread Starter pedigo328

    (@pedigo328)

    Ahh alright. Cool, thanks a million bud!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Children Links in Navigation’ is closed to new replies.