feat: establish CHRNX block theme foundation
This commit is contained in:
21 files changed
+2394
-13
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<?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' );
|
||||
Reference in new issue
Block a user