Last active
August 16, 2016 09:26
-
-
Save farookibrahim/b15ca6db2d49bbe5d637e12aebfa2426 to your computer and use it in GitHub Desktop.
Unicase Child Style Enqueue with RTL
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
| function uc_child_enqueue_styles() { | |
| global $unicase_version; | |
| wp_enqueue_style( 'unicase-style', get_template_directory_uri() . '/rtl.css', '', $unicase_version ); | |
| wp_enqueue_style( 'unicase-child-style', get_stylesheet_directory_uri() . '/style.css', array( 'unicase-style' ) ); | |
| } | |
| add_action( 'wp_enqueue_scripts', 'uc_child_enqueue_styles' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment