Excluding Pages In The Wordpress Sidebar
I created a Youtube video to show how you can exclude a page from showing up in the Wordpress sidebar of your blog. I did a quick search on Google for a plug-in but was not able to find anything. If anyone knows of a plug-in please post on the blog.
Find:
The first thing you will need to do is edit the sidebar.php file. Do a search for the following function: wp_list_pages.
Edit:
Next you will need to find the post ID for the page you want to exclude. Once you know this you will add this “&exclude=5” to your wp_list_pages function.
Example: <?php wp_list_pages(’sort_column=menu_order&title_li&exclude=5′); ?>
Upload:
Once you have modified and saved your file then upload to your server and the page will be updated.
Done
Technorati Tags: Youtube, Wordpress, Google, plug-in, wp_list_pages
Related posts:
- Excluding Categories in Wordpress Sidebar Widget
- Limit the Number of Pages in Your Wordpress Navigation Bar
- Making WordPress SEO Friendly URLS
- Protect Your Wordpress Site From a Malicious Attack
- Adding A Wordpress Blog to Your Facebook Page
- Future Posting In WordPress (Video)
- Adding YouTube Videos to your Blog Post
I am passionate about SEO | Social Media | Blogging | Wordpress. Living a good life in Los Angeles with my wife and daughter. I am an internet Marketing consultant who can be hired on an hourly basis. 

