Forums

wp_list_pages (13 posts)

  1. khandor
    Member
    Posted 3 years ago #

    I can't find this code anywhere in wordpress 2.5.1.

    It isn't in the header.php file.

    Can someone please tell me where it's located?

    Thanks in advance.

  2. Chris_K
    Member
    Posted 3 years ago #

    That would totally depend on what theme you're using -- and if that theme happens to use that tag. Share :-)

  3. khandor
    Member
    Posted 3 years ago #

    Default Theme

  4. Chris_K
    Member
    Posted 3 years ago #

    sidebar.php

  5. khandor
    Member
    Posted 3 years ago #

    Thank you, Sir. :-)

  6. khandor
    Member
    Posted 3 years ago #

    I'm trying to hide a specific page on my blog and have added in the

    "&exclude=710" text to the existing code within the sidebar.php file. It now looks like this [below]:

    <?php wp_list_pages('title_li=<h2>Pages</h2>&exclude=710' ); ?>

    yet it is still visible in my sidebar.

    Any idea what I might be doing wrong?

  7. Chris_K
    Member
    Posted 3 years ago #

    Are you running any cache plugins? If so, be sure to clear cache after any theme changes.

  8. khandor
    Member
    Posted 3 years ago #

    How do I clear the cache?

  9. khandor
    Member
    Posted 3 years ago #

    ... because I think I've done that already and still the page is not hidden.

  10. Chris_K
    Member
    Posted 3 years ago #

    Well, are you running a caching plugin?

    If yes, it'll have a page under Options (are you really running 2.5.1?) and from there you'll likely spot a button to clear cache.

  11. khandor
    Member
    Posted 3 years ago #

    I have certain basic plugins working but do not think I am using a "caching plugin".

    Can you give me an example of one of those?

  12. khandor
    Member
    Posted 3 years ago #

    yes to 2.5.1

  13. Chris_K
    Member
    Posted 3 years ago #

    caching plugins tend to have the word "cache" in their name ;-)

    Are you positive that 710 is the page ID in question?

Topic Closed

This topic has been closed to new replies.

About this Topic