Skip to content

Instantly share code, notes, and snippets.

@billerickson billerickson/functions.php Secret
Created Dec 19, 2018

Embed
What would you like to do?
<?php
/**
* Gutenberg scripts and styles
*
*/
function be_gutenberg_scripts() {
wp_enqueue_style( 'be', get_stylesheet_directory_uri() . '/assets/css/gutenberg.css', array(), filemtime( get_stylesheet_directory() . '/assets/css/gutenberg.css' ) );
}
add_action( 'enqueue_block_editor_assets', 'be_gutenberg_scripts' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.