SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Add backend styles for Gutenberg.
  2. add_action( 'enqueue_block_editor_assets', 'add_gutenberg_assets' );
  3.  
  4. /**
  5.  * Load Gutenberg stylesheet.
  6.  */
  7. function add_gutenberg_assets() {
  8.     // Load the theme styles within Gutenberg.
  9.     wp_enqueue_style( 'photographus-gutenberg', get_theme_file_uri( '/dist/gutenberg-editor-style.css' ), false );
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top