Setting the modified and updated time = published?
-
After spending much longer than I probably care to admit I finally figured out (at least it seems to be working) how to set the JSON-LD to make the Modified Date never increase.
How can I do the same thing with the two modified meta tags? Thanks in advance!
<meta property=”article:published_time” content=”2019-11-21T00:03:11-06:00″>
<meta property=”article:modified_time” content=”2020-02-05T23:10:58-06:00″>
<meta property=”og:updated_time” content=”2020-02-05T23:10:58-06:00″>add_filter( ‘rank_math/snippet/rich_snippet_article_entity’, function( $data ) {
$data[‘dateModified’] = $data[‘datePublished’];
return $data;
}, 50, 1 );
- The topic ‘Setting the modified and updated time = published?’ is closed to new replies.