WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] hide page (3 posts)

  1. citeewurkor
    Member
    Posted 8 years ago #

    hello, I tried the Codex, but it seems to be down at the moment, could someone alter this for me right quick to hide page ID 8 in the sidebar

    <?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>

    thanks

  2. moshu
    Member
    Posted 8 years ago #

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

  3. citeewurkor
    Member
    Posted 8 years ago #

    Thank you kind sir!

Topic Closed

This topic has been closed to new replies.

About this Topic