Delete Page list from sidebar
-
I am working on a blog for a client that has a page list that has been hard coded into the theme’s sidebar. It appears at the bottom under the contact form. (I didn’t create this theme and it doesn’t have widgets) I have been trying to remove the list but can’t seem to do it. I went into the php code for the Page Template.php and anywhere it said submenu and tried removing it but nothing happened. The page is at:
http://www.disccert.com/grads/
The page list is supposed to be password protected but the sub-pages are coming up and can be accessed. (that’s another issue)The code I tried to remove was:
<?php
$children = wp_list_pages(“title_li=&child_of=”.$root_parent_id.”&sort_column=menu_order&echo=0″);
if ($children) { ?>
<ul id=”submenu”>
<?php echo $children; ?><?php } ?>
She doesn’t want to do a membership site so I need to find a solution ASAP. Thanks.
- The topic ‘Delete Page list from sidebar’ is closed to new replies.