Created
April 13, 2019 11:39
-
-
Save Asikur22/9e22c9d5946349852dbe34e41e934771 to your computer and use it in GitHub Desktop.
Add Internal CSS Style in Wordpress
This file contains hidden or 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
| function add_internal_css_style() { | |
| ?> | |
| <style type="text/css"> | |
| .classname { | |
| margin: 0; | |
| } | |
| </style> | |
| <?php | |
| } | |
| add_action( 'wp_head', 'add_internal_css_style' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment