Hi dpolcino,
Do you have a page setup where I can see the Sub Post Navigation being used so I may get an idea of what you are trying to do?
Cheers
Hi Mat!
Yes you can go to http://www.noiseandvision.com
Check out “Showcase” menu, that’s a nice example how you can drill down to the sub-pages and the menu on right follows along by changing its title.
-D
There is a way to get you pretty close to what you are looking for.
- Create a folder in your theme titled ‘advanced-sidebar-menu’
- Copy the file named category_list.php from this plugins views folder into the new folder you created in your theme
Once you have the file in your theme you may edit it as much as you like and the plugin will still be editable.
You will see some code near the top of the file
//Displays the title
$asm->title();
//Include the parent page if chosen
if( $asm->include_parent() ){
echo '<ul class="parent-sidebar-menu">';
wp_list_categories( 'title_li=&include=' . $top_cat);
}
Replace that code with this
echo '<h4 class="widget-title">';
wp_list_categories( 'title_li=&include=' . $top_cat);
echo '</h4>';
Remove this code from bottom of the file
#-- if a parent category was displayed
if( $asm->include_parent() ){
echo '</ul><!-- End #parent-sidebar-menu -->';
}
Keep in mind your widget title will still be a link and therefore you may have to add some css to get it to match perfectly, but this should get you close.
I have not testing this, and am commenting from memory so you may have to adjust it slightly.
Good Luck
Cheers
Great thanks for the head-start. I’ll dive in and try it out.
PS. The other plugin allows title to be a link as well, so I can easily match their behavior on that count.
Just in case anyone wants to achieve the same thing, I found the just replacing this $asm->title();
with the above code works great.
Removing the other lines causes the widget to display nothing at all (at least in my configuration)