Files
chrnx-dev-wp/inc/setup.php
T

22 lines
535 B
PHP

<?php
/**
* Theme setup.
*
* @package CHRNX
*/
/**
* Register the theme's core WordPress features.
*/
function chrnx_setup() {
add_theme_support( 'title-tag' );
add_theme_support( 'post-thumbnails' );
add_theme_support( 'responsive-embeds' );
add_theme_support( 'editor-styles' );
add_editor_style( array( 'assets/css/base.css', 'assets/css/layout.css' ) );
remove_action( 'wp_footer', 'the_block_template_skip_link' );
add_image_size( 'chrnx-card', 720, 480, true );
}
add_action( 'after_setup_theme', 'chrnx_setup' );