Okay
  Public Ticket #3405427
H1 not showing on Recent post
Closed

Comments

  • WebmasterUees started the conversation

    Hi,

    I'm using a Recento Post option on my homepage but the title its set as a H2 insted of a H1, that's becoming a problem for my SEO strategy. Can you please tell me how can I change this? I need to have the H1 first and then the rest.

    Thaks in advance

    Best regards

  •  3,256
    Andrew replied

    Hi there,

    It's not possible to change the h2 tags on the recent posts element from the settings.

    To change the headings you would need to alter the template file responsible for the recent posts element by overriding it in a child theme as shown here https://themenectar.com/docs/salient/overriding-salient-wpbakery-element-template-files-through-a-child-theme/

    For the recent posts element, it's (wp-content/plugins/salient-core/includes/vc_templates/recent_posts.php.

    Hope this clears things up and is something you can implement.
    Cheers.
    Noah.