• shivamkr45

    (@shivamkr45)


    I wanted to show the latest updated date on my blog posts and Google SERPs.

    So, I used [modified_date] tag in header element along with this PHP

    function post_modified_date() {
        return get_the_modified_date();
    }
    add_shortcode( 'modified_date', 'post_modified_date' );

    Everything worked perfectly, but i Don’t know why most of the page in Google SERP is not showing any date.

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

Viewing 1 replies (of 1 total)
  • Theme Author Tom

    (@edge22)

    Hi there,

    Header Elements are a pro-only feature, which we aren’t allowed to support here due to WordPress.org rules. Can you open a topic in our premium forums?: https://generatepress.com/support

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Updated Date Problem’ is closed to new replies.