Created
December 28, 2015 03:49
-
-
Save jimmyk69/52cc6b79de159b26084e to your computer and use it in GitHub Desktop.
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
function rm314_column_stylesheet() { | |
$my_style_url = WP_PLUGIN_URL . '/rm314_column_shortcodes/styles.css'; | |
$my_style_file = WP_PLUGIN_DIR . '/rm314_column_shortcodes/styles.css'; | |
if ( file_exists($my_style_file) ) { | |
wp_register_style('column-styles', $my_style_url); | |
wp_enqueue_style('column-styles'); | |
} | |
} | |
add_action('wp_print_styles', 'rm314_column_stylesheet'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment