Showing Pages in Header or Sidebar, Not Both
-
There has to be a simple way to approach this.
I know that within the sidebar.php, I have to change part of this to get it to show the pages on the sidebar. Exactly what to change I can’t figure out.
<?php /**
* Pages navigation. Disabled by default because all new pages are added
* to the main navigation.
* If enabled: Blix default pages are excluded by default.
*
?>
<h2>Pages</h2>
<ul class=”pages”>
<?php
$excluded = BX_excluded_pages();
wp_list_pages(‘title_li=&sort_column=menu_order&exclude=’.$excluded);
?><?php */ ?>
In addition, if I correctly change that, my pages show up in both the header and the sidebar. I want to have a few show up in the header and the rest in the sidebar.
What is the simplest way to make that happen.
The site is
https://www.ncaea.appstate.edu/blog/index.php/Thanks for any direction you can provide.
- The topic ‘Showing Pages in Header or Sidebar, Not Both’ is closed to new replies.