New from WP 5.5: custom line heigths and units for Gutenberg. Opt in accessible features for widgets

This commit is contained in:
mateuswetah 2020-07-30 09:49:14 -03:00
parent 440112a895
commit ce74fc429d
1 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,7 @@ if ( ! function_exists( 'tainacan_setup' ) ) {
/**
* Display in gutenberg plugin the full width for image
*/
add_theme_support( 'align-wide' );
add_theme_support( 'html5', array( 'comment-list', 'comment-form' ) );
add_theme_support( 'html5', array( 'navigation-widgets', 'comment-list', 'comment-form' ) );
add_theme_support( 'post-thumbnails' );
add_theme_support( 'automatic-feed-links' );
/**
@ -150,6 +148,8 @@ if ( ! function_exists( 'tainacan_setup' ) ) {
),
) );
add_theme_support( 'align-wide' );
add_theme_support( 'custom-line-height' );
add_theme_support( 'custom-units' );
add_theme_support( 'editor-style' );
add_editor_style( 'editor-style.css' );