Tagged: heading, seo, widget title
Hey,
all WIDGET TITLES are defined as H3-elements:
<h3 class=”widgettitle”>Title</h3>.
This is not good for SEO. How can this be changed – e.g. as paragraphs using css-classes?
Thanks for your help!
Tom
Hi Tom,
That should actually have no effect on SEO since crawlers actually take context for what they crawl and not just straight up h1-6 elements like you would read them.
Regards,
Devin
Hey Devin,
thanks for the reply. In this case I must disagree. I place great value on SEO. Please let me know how I can change the widget headings using:
<p class”widgettitle>Title</p>
Regards, Tom
why should h3 be bad for SEO? You can have a number of h3s on a site – you should have just 1 h1 per page, but a handfull of h3s is okay. In almost every theme I can remember the widget-titles are h3s….
If one has a lot of content and wants to give it a logical structure using h1-h6, then the h3 in widget areas are counterproductive…
That is definitely outdated SEO practices but you can remove or modify the wrap on widgets in:
enfoldframeworkphpclass-sidebar-generator.php:
Line 164 and line 165. Any change in styling will need to be re-done though I don’t know if anything is directly tied to H3 or not.
In addition to that location there are a number of others in the following files with the same structure:
enfoldconfig-bbpressconfig.php
enfoldincludesadminregister-widget-area.php
enfoldincludeserror404.php
enfoldincludesloop-search.php
Regards,
Devin