Support » How-To and Troubleshooting » [Resolved] How can I put my pages in my sidebar?
9 years, 3 months ago
I’ve tried a few experiments on my own but nothing works.
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
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.