-
-
Save valendesigns/97575dab7e75a5c426cf to your computer and use it in GitHub Desktop.
Custom OptionTree Styles
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
/** | |
* 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