-
AuthorPosts
-
November 9, 2020 at 4:27 pm #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.
November 9, 2020 at 7:34 pm #1259362Hey daves1997,
Please have a look at the following thread:
If you need further assistance please let us know.
Best regards,
VictoriaNovember 9, 2020 at 8:26 pm #1259383When I remove this in firefox everything works find.
<h3 class=”widgettitle”>Categories</h3>Need to find this and change to strong.
TksNovember 9, 2020 at 8:55 pm #1259393Hi 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,
VictoriaNovember 9, 2020 at 10:39 pm #1259415I have a child theme
November 9, 2020 at 11:07 pm #1259418did as instructed. still there.
should I change them in the enfold theme also?November 10, 2020 at 12:06 am #1259431Hi 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.
November 10, 2020 at 12:15 am #1259434This reply has been marked as private.November 12, 2020 at 4:22 am #1260042Hi,
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,
IsmaelNovember 12, 2020 at 2:15 pm #1260134I 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
November 13, 2020 at 11:42 pm #1260398Hi daves1997,
I added the code for you. Please check.
If you need further assistance please let us know.
Best regards,
VictoriaNovember 14, 2020 at 12:21 am #1260416Not working. Still H tags in all widget titles. Should be Strong
November 16, 2020 at 5:20 am #1260631Hi,
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 -
AuthorPosts
- The topic ‘Remove h3 tags from widget title’ is closed to new replies.