Created
December 15, 2017 01:30
-
-
Save richtabor/73659f1f732f735256db4024145c1de9 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
/** | |
* Enqueue WordPress theme styles within Gutenberg. | |
*/ | |
function tabor_gutenberg_styles() { | |
// Load the theme styles within Gutenberg. | |
wp_enqueue_style( 'tabor-gutenberg', get_theme_file_uri( '/assets/css/gutenberg.min.css' ), false, '@@pkg.version', 'all' ); | |
} | |
add_action( 'enqueue_block_editor_assets', 'tabor_gutenberg_styles' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment