• Hi!

    I created a child theme for twenty twenty two theme and I need to add my own .css style sheet. I queued it up by:

    <?php
    add_action( 'wp_enqueue_scripts', 'child_enqueue_assets' );
    
    function child_enqueue_assets() {
    	wp_enqueue_style( 'style', get_stylesheet_uri() );
    }

    On the front-end side, the styles have been read, but on the Editor’s side there are no them – is it possible to add a function that will also show the applied styles on the cockpit / editor side?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to load custom css stylesheet do Editor site in childtheme?’ is closed to new replies.