WordPress.org

Ready to get started?Download WordPress

Forums

Need Help adding html code before and after footer widget titles. (5 posts)

  1. SueForPeace
    Member
    Posted 1 year ago #

    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.

  2. SueForPeace
    Member
    Posted 1 year ago #

    maybe even just a <span> and </span>

  3. SueForPeace
    Member
    Posted 1 year ago #

    [Code moderated]

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    I'm sorry but your chosen theme is not released under GPL. Non GPL products are not welcome in the WordPress community. Official WordPress policy states that all plugins and themes that are publicly released are required to adhere to http://wordpress.org/about/gpl/

    I would also strongly recommend that you read this article and consider changing to a theme from a reputable source.

  5. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    generally, the html of widget titles is set in functions.php (?) of a theme with the parameters of http://codex.wordpress.org/Function_Reference/register_sidebar

Topic Closed

This topic has been closed to new replies.

About this Topic