• Resolved reqcontent

    (@reqcontent)


    Hello,

    Is there a way to add microdata in html element? We are using elementor?
    E.g.
    for a blog index page, for each topic container, current it is:
    <h2>blog post title</h2>
    <div>blog post description</div>

    Is there a way to change to:
    <h2 itemprop=”headline”>blog post title</h2>
    <div itemprop=”description”>blog post description</div>

    Please advise.
    Thank you.
    Req

    • This topic was modified 3 years ago by reqcontent.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, I have checked about microdata with Elementor and you can see a guide here –
    https://elementor.com/blog/rich-snippets/

    Use ctrl+f and you will find the information about how to add microdata.

    Further than that, WordPress has a guide using a widget to add microdata to the page, you can see more here –
    https://awhitepixel.com/blog/wordpress-custom-widget-schema-business/

    Please let me know if you need further assistance on this subject.

    Thread Starter reqcontent

    (@reqcontent)

    @talmo
    I just roughly went through the resources in your reply, seems they are giving method to generate and add schema by using json-ld, but not microdata, as the json-ld is recommended.
    But if there is a way to just add by using microdata, please help to reply here, we just wanted to add it to specific places of a page.

    Thanks for the reply.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add microdata in html’ is closed to new replies.