PDF rausgenommen
This commit is contained in:
34
msd2/wordpress/wp-content/plugins/amp/templates/page.php
Normal file
34
msd2/wordpress/wp-content/plugins/amp/templates/page.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Page view template.
|
||||
*
|
||||
* @package AMP
|
||||
*/
|
||||
|
||||
/**
|
||||
* Context.
|
||||
*
|
||||
* @var AMP_Post_Template $this
|
||||
*/
|
||||
|
||||
$this->load_parts( array( 'html-start' ) );
|
||||
?>
|
||||
|
||||
<?php $this->load_parts( array( 'header' ) ); ?>
|
||||
|
||||
<article class="amp-wp-article">
|
||||
<header class="amp-wp-article-header">
|
||||
<h1 class="amp-wp-title"><?php echo esc_html( $this->get( 'post_title' ) ); ?></h1>
|
||||
</header>
|
||||
|
||||
<?php $this->load_parts( array( 'featured-image' ) ); ?>
|
||||
|
||||
<div class="amp-wp-article-content">
|
||||
<?php echo $this->get( 'post_amp_content' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<?php $this->load_parts( array( 'footer' ) ); ?>
|
||||
|
||||
<?php
|
||||
$this->load_parts( array( 'html-end' ) );
|
Reference in New Issue
Block a user