removed non used functions
This commit is contained in:
parent
cae631e392
commit
6af061ebdd
|
@ -199,8 +199,3 @@ require get_template_directory() . '/inc/archive-title.php';
|
||||||
* Functions to add admin styles
|
* Functions to add admin styles
|
||||||
*/
|
*/
|
||||||
require get_template_directory() . '/inc/admin-style.php';
|
require get_template_directory() . '/inc/admin-style.php';
|
||||||
|
|
||||||
/**
|
|
||||||
* Functions to add guttemberg editor style
|
|
||||||
*/
|
|
||||||
//require get_template_directory() . '/inc/guttemberg-editor-style.php';
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Sets up theme defaults and registers support for various WordPress features.
|
|
||||||
*/
|
|
||||||
function ofisuport_theme__setup() {
|
|
||||||
// Add support for editor styles.
|
|
||||||
add_theme_support( 'editor-styles' );
|
|
||||||
|
|
||||||
// Enqueue editor styles.
|
|
||||||
add_editor_style( 'assets/css/style-editor.css' );
|
|
||||||
}
|
|
||||||
add_action( 'after_setup_theme', 'ofisuport_theme_setup' );
|
|
Loading…
Reference in New Issue