Little bug fix for datetime html tag in Post Grid element
-
Hi,
this fixes the the wrong datetime format for the w3c validator and search machines and make it ISO conform.
Change the following line in “plugins/essential-addons-for-elementor-lite/includes/Template/Content/Post_Grid.php”:
Old:
<div class="eael-posted-on"><time datetime="' . the_time() . '">' . get_the_date() . '</time></div>
New:
<div class="eael-posted-on"><time datetime="' . get_the_time('c') . '">' . get_the_date() . '</time></div>
Greetings,
doc
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Little bug fix for datetime html tag in Post Grid element’ is closed to new replies.