Skip to content

Instantly share code, notes, and snippets.

@Roy-Oto
Created June 1, 2021 03:32
How to create a CSS input field for AMP
// AMP 用 CSS の入力欄
add_action( 'amp_post_template_css', 'xyz_amp_my_additional_css_styles' );
function xyz_amp_my_additional_css_styles( $amp_template ) {
?>
/* CSS の追加は以下に */
/* CSS の追加はこの上に */
<?php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment