| 1 |
<?php |
| 2 |
/** |
| 3 |
* Parse.ly repeated meta elements output |
| 4 |
* |
| 5 |
* @package Parsely\wp-parsely |
| 6 |
* @author Parse.ly |
| 7 |
* @copyright 2012 Parse.ly |
| 8 |
* @license GPL-2.0-or-later |
| 9 |
*/ |
| 10 |
|
| 11 |
?> |
| 12 |
<meta name="parsely-title" content="<?php echo esc_attr( $parsely_page['headline'] ); ?>" /> |
| 13 |
<meta name="parsely-link" content="<?php echo esc_attr( $parsely_page['url'] ); ?>" /> |
| 14 |
<meta name="parsely-type" content="<?php echo esc_attr( $parsely_post_type ); ?>" /> |
| 15 |
<meta name="parsely-image-url" content="<?php echo esc_attr( $parsely_page['thumbnailUrl'] ); ?>" /> |
| 16 |
<meta name="parsely-pub-date" content="<?php echo esc_attr( $parsely_page['datePublished'] ); ?>" /> |
| 17 |
<meta name="parsely-section" content="<?php echo esc_attr( $parsely_page['articleSection'] ); ?>" /> |
| 18 |
<meta name="parsely-tags" content="<?php echo esc_attr( $parsely_page['keywords'] ); ?>" /> |
| 19 |
<?php foreach ( (array) $parsely_page['author'] as $author ) { ?> |
| 20 |
<meta name="parsely-author" content="<?php echo esc_attr( $author['name'] ); ?>" /> |
| 21 |
<?php } |
| 22 |
|