WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How can I put my pages in my sidebar?

[Resolved] How can I put my pages in my sidebar?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Do you mean the actual content of your pages?
    If so you can use the Improved Include Page plugin.
    If you just want a list of your pages you can use the wp_list_pages function

    I used this code

    <?php
    wp_list_pages(‘sort_column=menu_order&title_li=’); ?>

    it works just like I wanted it to, the pages appear in the sidebar but they still appear in the navigation bar, is there something that can make it so they just appear in the sidebar?

    It depends on your template. But, you’ll probably find a similar piece of code in your navigation bar php file (or in ‘header.php’) which you can remove.

    Yup, turns out I was deleting <div> during my ‘experiments’ and that’s why my site would get scrambled, now I have it all under control, thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] How can I put my pages in my sidebar?’ is closed to new replies.
Skip to toolbar