Two hopefully quick questions.
1. How do I remove the list styling around the #index-top widget area? I know how to remove the bullets via CSS, but I would like to remove the list mark up entirely, as I am using this area to display a rotating image and the list mark up makes no sense. Right now, the code displayed looks like this:
<div id="index-top" class="aside">
<ul class="xoxo">
<li id="execphp-443886984" class="widgetcontainer widget_execphp">
<img src="URL/img/image.jpg" width="50px" height="70px" alt="Description here" />
</li></ul>
</div><!-- #index-top .aside -->
I would like to delete the UL and LI entirely and, if necessary, replace the LI with a <DIV>.
2. I wanted more control over my navigation, so looked to replace the wp_page_menu with wp_list_pages. This is what I've done in my function file, but is there a better way to achieve this?
// Unhook default Thematic functions
function unhook_thematic_functions() {
// Don't forget the position number if the original function has one
remove_action('thematic_header','thematic_access',9);
}
add_action('init','unhook_thematic_functions');
// My new header
function child_thematic_access() { ?>
<div id="access">
<ul id="nav"><?php wp_list_pages('title_li=&sort_column=menu_order&depth=1') ?>
</ul>
</div><!-- #access -->
<?php }
add_action('thematic_belowheader','child_thematic_access',9);
Thanks in advance for any & all advice.
Cheers / Angelique