Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created December 19, 2018 15:24
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save billerickson/c87927a3be89906937b0114f666c0f8b to your computer and use it in GitHub Desktop.
<?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