Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Update functions.php #113

Merged
merged 1 commit into from
Oct 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,8 @@

if ( ! function_exists( 'twentytwentytwo_support' ) ) :
function twentytwentytwo_support() {

// Adding support for featured images.
add_theme_support( 'post-thumbnails' );

// Adding support for core block visual styles.
add_theme_support( 'wp-block-styles' );

// Adding support for responsive embedded content.
add_theme_support( 'responsive-embeds' );
}
add_action( 'after_setup_theme', 'twentytwentytwo_support' );
endif;
Expand Down Expand Up @@ -41,9 +34,6 @@ function twentytwentytwo_editor_styles() {
add_action( 'admin_init', 'twentytwentytwo_editor_styles' );
endif;

// Opt-in to only load styles for rendered blocks.
add_filter( 'should_load_separate_core_block_assets', '__return_true' );

if ( ! function_exists( 'twentytwentytwo_get_font_face_styles' ) ) :
/**
* Get font face styles.
Expand Down