File: /home/nassaugo/public_html/wp-content/themes/drone-media/content-page.php
<?php
/**
* The default template to display the content of the single page
*
* @package WordPress
* @subpackage DRONE_MEDIA
* @since DRONE_MEDIA 1.0
*/
$drone_media_seo = drone_media_is_on(drone_media_get_theme_option('seo_snippets'));
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'post_item_single post_type_page' );
if ($drone_media_seo) {
?> itemscope="itemscope"
itemprop="mainEntityOfPage"
itemtype="//schema.org/<?php echo esc_attr(drone_media_get_markup_schema()); ?>"
itemid="<?php echo esc_url(get_the_permalink()); ?>"
content="<?php the_title_attribute(); ?>"<?php
}
?>>
<?php
do_action('drone_media_action_before_post_data');
// Structured data snippets
if ($drone_media_seo)
get_template_part('templates/seo');
// Now featured image used as header's background
// Uncomment next rows (or remove false from the condition) to show featured image for the pages
if ( false && !drone_media_sc_layouts_showed('featured') && strpos(get_the_content(), '[trx_widget_banner]')===false) {
do_action('drone_media_action_before_post_featured');
drone_media_show_post_featured();
do_action('drone_media_action_after_post_featured');
} else if (has_post_thumbnail()) {
?><meta itemprop="image" "//schema.org/ImageObject" content="<?php echo esc_url(wp_get_attachment_url(get_post_thumbnail_id())); ?>"><?php
}
do_action('drone_media_action_before_post_content');
?>
<div class="post_content entry-content">
<?php
the_content( );
wp_link_pages( array(
'before' => '<div class="page_links"><span class="page_links_title">' . esc_html__( 'Pages:', 'drone-media' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'pagelink' => '<span class="screen-reader-text">' . esc_html__( 'Page', 'drone-media' ) . ' </span>%',
'separator' => '<span class="screen-reader-text">, </span>',
) );
?>
</div><!-- .entry-content -->
<?php
do_action('drone_media_action_after_post_content');
do_action('drone_media_action_after_post_data');
?>
</article>