Tagged: , , ,

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1259285

    h3 is messing up my seo.
    Want these tags changed to strong.
    http://bestfortmyersrealestate.com

    • This topic was modified 4 years, 1 month ago by daves1997.
    #1259362

    Hey daves1997,

    Please have a look at the following thread:

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1259383

    When I remove this in firefox everything works find.
    <h3 class=”widgettitle”>Categories</h3>

    Need to find this and change to strong.
    Tks

    #1259393

    Hi daves1997,

    You need to copy this file to your child theme /includes/admin/register-widget-area.php, yes, you need to create your child theme.
    And edit that file exchanging all h3 to the strong.

    Best regards,
    Victoria

    #1259415

    I have a child theme

    #1259418

    did as instructed. still there.
    should I change them in the enfold theme also?

    #1259431

    Hi daves1997,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Actually, this can be a better solution for you:

    Best regards,
    Victoria

    • This reply was modified 4 years, 1 month ago by Victoria.
    #1259434
    This reply has been marked as private.
    #1260042

    Hi,

    Did you use the snippet that @guenni007 provided in the previous thread?

    function register_custom_footer_widget(){   
        $footer_columns = avia_get_option( 'footer_columns', '5' );
        for ($i = 1; $i <= $footer_columns; $i++){
    		unregister_sidebar( 'av_footer_'.$i );
    
    		register_sidebar(array(
    			'name' => 'Footer - column'.$i,
    			'before_widget' => '<section id="%1$s" class="widget clearfix %2$s">', 
    			'after_widget' => '<span class="seperator extralight-border"></span></section>', 
    			'before_title' => '
    <h5 class="widgettitle">', 
    			'after_title' => '</h5>
    ', 
    			'id'=>'av_footer_'.$i
    		));
    	}	
    }
    add_action( 'widgets_init', 'register_custom_footer_widget', 11 );
    

    This will unregister the footer widgets, and register them back with the new before_title value.

    // https://kriesi.at/support/topic/heading-tags-in-the-footer-widget-areas/#post-1198686

    Best regards,
    Ismael

    #1260134

    I did and received this error
    Your PHP code changes were rolled back due to an error on line 0 of file Unknown. Please fix and try saving again.

    Exception thrown without a stack frame

    #1260398

    Hi daves1997,

    I added the code for you. Please check.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1260416

    Not working. Still H tags in all widget titles. Should be Strong

    #1260631

    Hi,

    You have to adjust the value of the before_title and after_title parameters, or the value found in these lines.

    'before_title' => '
    <h5 class="widgettitle">', 
    'after_title' => '</h5>
    '
    

    It is set to h5 currently. Try to replace it with the following code instead.

    'before_title' => '<strong class="widgettitle">', 
    'after_title' => '</strong>'
    

    Thank you for your patience.

    Best regards,
    Ismael

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Remove h3 tags from widget title’ is closed to new replies.