• Как вернуть стандартные стили редактору Wordpress?

    @placebo97 Автор вопроса
    azerphoenix

    <?php
    /**
     * AstraReg Theme functions and definitions
     *
     * @link https://developer.wordpress.org/themes/basics/theme-functions/
     *
     * @package AstraReg
     * @since 6.6.6
     */
    
    /**
     * Define Constants
     */
    define( 'CHILD_THEME_ASTRAREG_VERSION', '6.6.6' );
    
    /**
     * Enqueue styles
     */
    
    function child_enqueue_styles() {
    
    	wp_enqueue_style( 'astrareg-theme-css', get_stylesheet_directory_uri() . '/style.css', array('astra-theme-css'), CHILD_THEME_ASTRAREG_VERSION, 'all' );
    
    }
    
    add_action( 'wp_enqueue_scripts', 'child_enqueue_styles', 15 );


    Дочернюю тему делал плагином Child Themes.
    Ответ написан
    Комментировать