-
AuthorPosts
-
February 19, 2019 at 12:09 pm #1068890
Hi,
My SEO man tell me that aren’t h1 tags in my Enfold website and it’s bad for SEO. Is it true? Can I do something baout it?
Thanks
February 19, 2019 at 1:38 pm #1068951Hey toniface,
Which page and which element are you referring to?
Best regards,
VictoriaFebruary 19, 2019 at 3:47 pm #1068997Well it is up to you to place a h1 on each page you like. The heading ALB Element gives you all possibilities to choose the h-tag you like.
btw: It’s one of countless golden SEO rules: Never use more than one H1 heading per page. Many SEO tools report errors when this rule is violated. The assumption is that the page topic must be described in a single H1 heading and that otherwise there may only be H2 headings and any further subdivisions.
For Google, however, it is not a problem if several H1 headings are used per page. John Müller has announced this in a recent webmaster hangout. One user had previously described the following situation: On his website, the text logo is enclosed by H1 tags. In addition, there is an additional H1 heading for each page text. According to Müller, this is normal and almost standard in connection with HTML5.
February 19, 2019 at 5:38 pm #1069042Hi Victoria,
My website is http://www.camporan.com and can’t find h1 in homepage. I need know h1 in home page and in the woocommerce products.
Thanks!
February 19, 2019 at 5:39 pm #1069044Thanks for your comments, Guenni007 !
February 19, 2019 at 8:31 pm #1069074F.e. if you like to replace all h2 headings in the slider with h1 – put this into your child-theme functions.php
function replace_tags_with_tags(){ ?> <script> (function($) { function replaceElementTag(targetSelector, newTagString) { $(targetSelector).each(function(){ var newElem = $(newTagString, {html: $(this).html()}); $.each(this.attributes, function() { newElem.attr(this.name, this.value); }); $(this).replaceWith(newElem); }); } replaceElementTag('.avia-slideshow h2', '<h1></h1>'); }(jQuery)); </script> <?php } add_action('wp_footer', 'replace_tags_with_tags');
if you just want this only on that page set an if-clause:
function replace_tags_with_tags(){ if(is_page(504)){ ?> <script> (function($) { function replaceElementTag(targetSelector, newTagString) { $(targetSelector).each(function(){ var newElem = $(newTagString, {html: $(this).html()}); $.each(this.attributes, function() { newElem.attr(this.name, this.value); }); $(this).replaceWith(newElem); }); } replaceElementTag('.avia-slideshow h2', '<h1></h1>'); }(jQuery)); </script> <?php } } add_action('wp_footer', 'replace_tags_with_tags');
February 19, 2019 at 8:34 pm #1069076if you like to have the possiblity to have an input field to have the h-tag choice on every caption this is an edited ALB :
https://webers-testseite.de/edited-enfold-alb-elements/#sliders
scroll to the top of the page to read the tutorial how to make it.February 20, 2019 at 9:01 am #1069313February 28, 2019 at 8:43 pm #1072738Dear Victoria,
I told you my webpage. Where are the h1 in home, pages and products pages?
Thanks!
March 3, 2019 at 6:20 am #1073823 -
AuthorPosts
- You must be logged in to reply to this topic.