Skip to content

Instantly share code, notes, and snippets.

@valendesigns
Created November 14, 2012 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save valendesigns/97575dab7e75a5c426cf to your computer and use it in GitHub Desktop.
Save valendesigns/97575dab7e75a5c426cf to your computer and use it in GitHub Desktop.
Custom OptionTree Styles
/**
* Enqueue custom styles for OptionTree.
*/
function ot_custom_style() {
/* Register Style */
wp_register_style( 'ot-custom-style', get_template_directory_uri() . '/css/ot-custom-style.css' );
/* Enqueue Style */
wp_enqueue_style( 'ot-custom-style' );
}
add_action( 'admin_print_styles', 'ot_custom_style', 20 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment