Last active
May 27, 2018 18:47
-
-
Save MohammedKaludi/895e576f6fa98d00721bdc7dd7687bd7 to your computer and use it in GitHub Desktop.
Add Custom CSS in AMPforWP via Hook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('amp_post_template_css','ampforwp_add_custom_css_example', 11); | |
function ampforwp_add_custom_css_example() { ?> | |
/* Add your custom css here */ | |
body { | |
background: red; | |
} | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment