Skip to content

Instantly share code, notes, and snippets.

@amitabhaghosh197
Last active August 29, 2015 14:03
Show Gist options
  • Save amitabhaghosh197/73da6f1fda92020d17e4 to your computer and use it in GitHub Desktop.
Save amitabhaghosh197/73da6f1fda92020d17e4 to your computer and use it in GitHub Desktop.
Add Custom CSS in Redux Framework
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
<?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