oficinasuport-wp-theme/inc/guttembert-editor-style.php

13 lines
356 B
PHP
Raw Normal View History

<?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' );