Last active
August 29, 2015 14:03
-
-
Save amitabhaghosh197/73da6f1fda92020d17e4 to your computer and use it in GitHub Desktop.
Add Custom CSS in Redux Framework
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
Now you can write a custom css for your pages or posts. Just write in the editor and call those classes/ ids in the posts/pages |
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
<?php | |
add_action('wp_head' , 'display_custom_css'); | |
function display_custom_css() | |
{?> | |
<style> | |
<?php $options = get_option('redux_demo'); ?> | |
<?php echo $options['opt-ace-editor-css']; ?> | |
</style> | |
<?php } | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment