Skip to content

Commit

Permalink
Add support for block styles and enqueue editor styles #35
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Jan 20, 2022
1 parent 52f96c2 commit c83cbf5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ function thisis_support() {
//add_theme_support( 'custom-line-height' );
// Add default posts and comments RSS feed links to head.
//add_theme_support( 'automatic-feed-links' );
// Add support for block styles.
add_theme_support( 'wp-block-styles' );

// Enqueue editor styles.
add_editor_style( 'style.css' );
}

/**
Expand Down

0 comments on commit c83cbf5

Please sign in to comment.