Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1452003

    Hello,

    I have some h5 and h3 elements that are not good for my website SEO and I’m not sure how to remove them.

    For example in the header scripts there’s a <h5>’+$title+’
    And then below the blog post h1 is the h3 Leave a comment, even though the element is at the bottom of the page.

    I’m using https://seo-servis.cz/source-zdrojovy-kod/ to test the source code
    And attaching the link to my blog post below

    Thank you

    • This topic was modified 6 months ago by nebuddlho.
    #1452087

    Hey nebuddlho,

    Thank you for the inquiry.

    We didn’t find any h5 element on the page. To adjust the tag of the comment mini heading from h3 to something else, you can add this code to the functions.php file:

    function avf_customize_heading_settings_mod( array $args, $context, array $extra_args = array() ){
    	if( $context == 'comments_open' ){
    		$args['heading'] = 'p';
    	}
    	return $args;
    }
    add_filter( 'avf_customize_heading_settings', 'avf_customize_heading_settings_mod', 10, 3 );
    

    Best regards,
    Ismael

    #1459775

    Hello and thank you for the reply,

    I can see the h5 heading when I view the page source, there is a <h5 class=”modal-title”>. Is this enfold related?

    Best regards

    #1459805

    Hi,

    Thank you for the info.

    there is a < h5 class=”modal-title” >.

    We didn’t find any element in the templates with that class name, only an h3 element with the class name “avia-modal-title”. The h5 element might have been added by a third-party plugin.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.