Skip to content

Commit

Permalink
Update Loader.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayan Datta authored Aug 2, 2020
1 parent edd0de5 commit 99881d9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions inc/Core/Elementor/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ public function query( $query )

public function render( $content )
{
if ( ! is_singular() ) {
return $content;
}

$start_tag = '<time itemprop="dateModified" datetime="'. get_post_modified_time( 'Y-m-d\TH:i:sP', true ) .'">';
$end_tag = '</time>';

Expand All @@ -85,4 +81,4 @@ public function render( $content )

return $content;
}
}
}

0 comments on commit 99881d9

Please sign in to comment.