Forked from braddalton/Add Style Sheet for Plugin To Child Theme Genesis.php
Created
November 29, 2013 17:36
-
-
Save nhatdong/7709224 to your computer and use it in GitHub Desktop.
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
| add_action( 'wp_enqueue_scripts', 'wpsites_second_style_sheet' ); | |
| function wpsites_second_style_sheet() { | |
| wp_register_style( 'plugins-style', plugins_url('plugins/your-plugin/style.css', __FILE__) ); | |
| wp_enqueue_style( 'plugins-style' ); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment