21 lines
438 B
PHP
21 lines
438 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( 'assets/css/base.css' );
|
|
|
|
add_image_size( 'chrnx-card', 720, 480, true );
|
|
}
|
|
add_action( 'after_setup_theme', 'chrnx_setup' );
|