Remove WordPress List Pages from Sidebar

Since I already created a horizontal menu listing all my main pages, I want to remove the pages list from sidebar. The theme template file that need to edit is sidebar.php.

I just need to remove this line, <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> as shown below:

After removing the line, the sidebar.php will become:

Related Posts



Comments powered by Disqus