Sindbad~EG File Manager

Current Path : /var/www/html/wordpress_alg24news/wp-content/themes/newsbt-mobile/amp/
Upload File :
Current File : /var/www/html/wordpress_alg24news/wp-content/themes/newsbt-mobile/amp/single.php

<?php 
/*
 * Security 	: blocking direct access
 * Source		: http://codex.wordpress.org/Theme_Development#Template_Files
*/
defined('ABSPATH') or die("Access Restricted");
/**
 * Single view template.
 *
 * @package AMP
 */

/**
 * Context.
 *
 * @var AMP_Post_Template $this
 */

$this->load_parts( array( 'html-start' ) );
global $post;
?>

<?php $this->load_parts( array( 'header' ) ); ?>

<?php echo mwp_amp_post_thumbnail($post->ID); ?>

<div class="amp-wp-article">

	<div class="amp-wp-article-header">
		
		<h1 class="amp-wp-title"><?php echo esc_html( $this->get( 'post_title' ) ); ?></h1>
		<?php
		$second_title = get_post_meta($post->ID, 'title_post_seconde' , true);
		if (!empty($second_title)) {
			?><h2 class="amp-wp-title-2"><?php echo esc_attr($second_title); ?></h2><?php
		} ?>
		<?php $this->load_parts( apply_filters( 'amp_post_article_header_meta', array( 'meta-author', 'meta-time' ) ) ); ?>
	</div>

	<div class="amp-wp-article-content">
		<?php echo mwp_optional_gallery_amp($post->ID); ?>

		<?php
		/* 
		 * Video SEO - Start
		*/
		$videos_ids = mwp_option('category-videos');
		if (!empty($videos_ids) && in_category($videos_ids) ) {
			if (mwp_option('video-seo') == 1) { 
				echo '<div id="primary" itemprop="video" itemscope itemtype="http://schema.org/VideoObject">';
			}
		}
		?>
		
		<?php echo $this->get( 'post_amp_content' ); // WPCS: XSS ok. Handled in AMP_Content::transform(). ?>
		
		<?php
		/* 
		 * Video SEO - END
		*/
		if (!empty($videos_ids) && in_category($videos_ids) ) {
			if (mwp_option('video-seo') == 1) { 
				mwp_video_schema();
				echo '</div>';
			}
		} ?>
		
		<?php echo mwp_amp_addthis(); ?>
		<?php echo mwp_amp_page_box(); ?>
		
		<?php
		if ( mwp_option('amp-related-post') == 1 ) :
			require( get_template_directory() . '/amp/helper/related-template.php' );
		endif;
		?>
	</div>

	<div class="amp-wp-article-footer">
		<?php $this->load_parts( apply_filters( 'amp_post_article_footer_meta', array( 'meta-taxonomy', 'meta-comments-link' ) ) ); ?>
	</div>
</div>

<?php $this->load_parts( array( 'footer' ) ); ?>

<?php
$this->load_parts( array( 'html-end' ) );

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists