C:\xampp\htdocs\landing\wp-content\plugins\amp\templates\single.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
/**
 * Single view template.
 *
 * ðŸš«ðŸš«ðŸš«
 * DO NOT EDIT THIS FILE WHILE INSIDE THE PLUGIN! Changes You make will be lost when a new version
 * of the AMP plugin is released. You need to copy this file out of the plugin and put it into your
 * custom theme, for example. To learn about how to customize these Reader-mode AMP templates, please
 * see: https://amp-wp.org/documentation/how-the-plugin-works/classic-templates/
 * ðŸš«ðŸš«ðŸš«
 *
 * @package AMP
 */

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

$this->load_parts( [ 'html-start' ] );
?>

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

<article class="amp-wp-article">
    <header class="amp-wp-article-header">
        <h1 class="amp-wp-title"><?php echo $this->get'post_title' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></h1>
        <?php
        
/**
         * Filters the template parts loaded in the header area of the AMP legacy post template.
         *
         * @since 0.4
         * @param string[] Templates to load.
         */
        
$this->load_partsapply_filters'amp_post_article_header_meta', [ 'meta-author''meta-time' ] ) );
        
?>
    </header>

    <?php $this->load_parts( [ 'featured-image' ] ); ?>

    <div class="amp-wp-article-content">
        <?php echo $this->get'post_amp_content' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
    </div>

    <footer class="amp-wp-article-footer">
        <?php
        
/**
         * Filters the template parts to load in the footer area of the AMP legacy post template.
         *
         * @since 0.4
         * @param string[] Templates to load.
         */
        
$this->load_partsapply_filters'amp_post_article_footer_meta', [ 'meta-taxonomy''meta-comments-link' ] ) );
        
?>
    </footer>
</article>

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

<?php
$this
->load_parts( [ 'html-end' ] );
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586