How come children not indenting with wp_list_pages
-
I am trying to figure out how to indent all children (show all children all the time) in my left sidebar. I am using the Whitespace theme and learning as I go, still barely know what I am doing!
I have read some posts where people ask if widgets are used in the template but no further comments. Is that why this isn’t working?I do have an active Widget in the right sidebar but not the left one.
I have the following code on https://www.criticalgolf.com (I need to leave 2 pages out of the left sidebar, so I excluded them):
<div id=”l_sidebar”>
<ul id=”l_sidebarwidgeted”>
<?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(1) ) : else : ?>-
<?php wp_list_pages(‘exclude=2,13&sort_column=menu_order&title_li=’); ?>
<?php endif; ?>
</div>
<!– end l_sidebar –>Also tried using the Flexi Pages widget but no luck.
Thanks much!
- The topic ‘How come children not indenting with wp_list_pages’ is closed to new replies.