WordPress.org

Ready to get started?Download WordPress

Forums

wp list - hide Pages subhead (5 posts)

  1. isayhello
    Member
    Posted 7 years ago #

    Hi there,

    I'm fairly new to this but after using this page as a reference:

    http://codex.wordpress.org/Template_Tags/wp_list_pages

    I literally copy the code into my sidebar.php, that they say will hide it, yet its having no effect whatsoever. There must be something additional that is required.

    Apologies if this is a repost, did a search and couldn't find an exact answer to my question.

    regards
    amanda

  2. MichaelH
    Member
    Posted 7 years ago #

    Take a look at the WordPress Default 1.6 theme's wp-content/themes/default/sidebar.php and see how it uses wp_list_pages().

  3. MichaelH
    Member
    Posted 7 years ago #

    Oops, sorry--did you try:

    <?php wp_list_pages('title_li='); ?>
  4. isayhello
    Member
    Posted 7 years ago #

    thank you yes i have, that exact code was in the aforementioned page. it has no effect?

  5. MichaelH
    Member
    Posted 7 years ago #

    Can you paste your code for your template (index.php or sidebar.php or whatever it is) at http://wordpress.pastebin.ca/ and report that link back here.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic