Need Help adding html code before and after footer widget titles.
-
I am using a modified version of TechGalisoni theme by SimpleWPthemes.com and I am stuck.
The titles to the footer widgets or “subsidiary” are dynamic. I am trying to style them, but there is no way to do so in CSS. I have to physically put a “<fieldset><legend>” before the titles and a “</legend></fieldset>” after the titles. I’ve tracked down most of it, but I cannot figure out where to add the before_title and after_title. Here is all that I know and any help would be helpful.
<?php get_sidebar( 'subsidiary' ); // Loads the sidebar-subsidiary.php template. ?>
sidebar-subsidiary.php:
if ( is_active_sidebar( 'subsidiary' ) ) : ?> <div id="sidebar-subsidiary" class="sidebar"> <div class="wrap"> <?php dynamic_sidebar( 'subsidiary' ); ?> </div><!-- .wrap --> </div><!-- #sidebar-subsidiary .aside --> <?php endif; ?>
The only thing in functions.php that includes the dynamic_sidebar is:
add_filter('dynamic_sidebar_params','widget_first_last_classes');
I’m lost here.
- The topic ‘Need Help adding html code before and after footer widget titles.’ is closed to new replies.