• Resolved solaris13

    (@solaris13)


    Hi,

    I would like to insert, with the help of Custom Schema field, available at the end of each post, the dateModified attribute.

    I want to let Google crawl know when a post was last updated. What I’m actually looking for is a way to make Google display last modified date in search results instead of the published date.

    This will attract more users to click on the search result, as readers are tempted to click on more recent articles displaying in Google Search.

    For example I have a post that was initially published on:
    Published on: Dec 9, 2018 at 17:59
    and updated:
    Updated on: Jul 9, 2020 @ 17:34

    How can I manually insert the updated data in the Custom Schema field?
    Is there a line of code that you can provide?

    I notice that the current source code displays the following meta, but apparently Google still displays the published time in search results instead of modified time.

    Any idea why?
    <meta property=”article:published_time” content=”2018-12-09T17:59:06-05:00″>
    <meta property=”article:modified_time” content=”2020-07-09T17:34:43-04:00″>
    <meta property=”og:updated_time” content=”2020-07-09T17:34:43-04:00″>

    Many thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Sanjeev Kumar

    (@sanjeevsetu)

    Why do you want to set custom schema? It will take lot of time to setup for every post. We have other options as well where you can set BlogPost, Article, TechArticle etc. schema type from our custom post type area. Just you setup the schema as per your requirement and we internally will collect all details related to post even modified date in json-ld. For more details follow it https://structured-data-for-wp.com/docs/.

    If you still need help. Please write us again

Viewing 1 replies (of 1 total)
  • The topic ‘How to add dateModified Custom Schema to single post’ is closed to new replies.