Changeset 2171788
- Timestamp:
- 10/11/2019 01:42:21 PM (6 years ago)
- Location:
- magnet/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (1 diff)
-
WP-klangoo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
magnet/trunk/README.txt
r2037113 r2171788 3 3 Tags: Klangoo, Magnet, Related articles, Recommended articles, Summary, Personalization, Analytics, Semantic, Analysis, Entity, Entities, Names, In-text links, SEO, interlinking 4 4 Requires at least: 4.0 5 Tested up to: 5. 15 Tested up to: 5.2.3 6 6 Stable tag: trunk 7 7 License: GPLv2 or later -
magnet/trunk/WP-klangoo.php
r2014841 r2171788 50 50 <meta itemprop="description" content="<?php echo esc_attr( magnet_get_excerpt( get_the_ID() ) ); ?>"/> 51 51 <meta itemprop="pageType" content="<?php echo esc_attr( $page_type ); ?>"/> 52 <meta itemprop="datePublished" content="<?php $date = new DateTime( get_the_time('Y-m-d G:i:s '.get_option('gmt_offset')) ); $date->setTimezone(new DateTimeZone('UTC')); echo $date->format('c'); ?>"/>53 <meta itemprop="dateModified" content="<?php $date = new DateTime( get_the_modified_date('Y-m-d G:i:s '.get_option('gmt_offset')) ); $date->setTimezone(new DateTimeZone('UTC')); echo $date->format('c'); ?>"/>52 <meta itemprop="datePublished" content="<?php $date = new DateTime( get_the_time('Y-m-d G:i:s+'.get_option('gmt_offset')) ); $date->setTimezone(new DateTimeZone('UTC')); echo $date->format('c'); ?>"/> 53 <meta itemprop="dateModified" content="<?php $date = new DateTime( get_the_modified_date('Y-m-d G:i:s+'.get_option('gmt_offset')) ); $date->setTimezone(new DateTimeZone('UTC')); echo $date->format('c'); ?>"/> 54 54 <meta itemprop="url" content="<?php echo esc_attr( get_permalink() ) ?>"/> 55 55 <meta itemprop="inLanguage" content="<?php echo esc_attr( substr( get_locale(), 0, 2 ) ); ?>"/>
Note: See TracChangeset
for help on using the changeset viewer.