|
Server : LiteSpeed System : Linux srv526460274 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : kerao9884 ( 1082) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /home/beb188.com/public_html/wp-content/plugins/amp/templates/ |
Upload File : |
<?php
/**
* HTML start template part.
*
* 🚫🚫🚫
* 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
*/
?>
<!doctype html>
<html amp <?php echo AMP_HTML_Utils::build_attributes_string( $this->get( 'html_tag_attributes' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1">
<?php
// Note: The following two <style> tags are combined into <style amp-custom> via AMP_Style_Sanitizer.
// Splitting up the styles into two stylesheets allows for plugin-supplied styles via the amp_post_template_css action
// to be excluded from the styles in the style template part, which are more important given they style the overall page.
/**
* Fires when rendering <head> in Reader mode templates.
*
* @since 0.2
*
* @param AMP_Post_Template $this
*/
do_action( 'amp_post_template_head', $this );
?>
<style class="style-template-part">
<?php $this->load_parts( [ 'style' ] ); ?>
</style>
<style class="amp-post-template-css-action">
<?php
/**
* Fires when printing CSS styles in Reader mode templates.
*
* Callbacks should print bare CSS without any `<style>` or `<link>` tags.
* As an alternative to using this, please consider:
*
* add_action( 'amp_post_template_head', function() { wp_print_styles( 'foo' ); } );
*
* @since 0.3
*
* @param AMP_Post_Template $this
*/
do_action( 'amp_post_template_css', $this );
?>
</style>
</head>
<body class="<?php echo esc_attr( $this->get( 'body_class' ) ); ?>">
<?php
/**
* Fires immediately after printing the <body>.
*
* @since 1.2.1
* @see wp_body_open()
*
* @param AMP_Post_Template $this
*/
do_action( 'amp_post_template_body_open', $this );