Dequeue styles with query doesn’t work

Thank you very much @Tom J Nowell and @Sally CJ . As you pointed out, it worked with the below: function remove_inline_style(){ if ( is_page( ‘live’ ) ){ remove_action( ‘wp_enqueue_scripts’, array( Design_Scheme::get_instance(), ‘header_style_css’ ), 11 ); } } add_action( ‘wp_enqueue_scripts’, ‘remove_inline_style’); thank you for your help.

Loading a stylesheet conditionally & verifying CSS

If you want to load something on the archive page than, You should use is_archive() rather than is_page( ‘archived-posts’ ), and after that, you can use the keyboard command Ctrl + u to check view source of chrome. Thereafter, use command Ctrl + f to search ‘arch-post-stylesheet’css handle’ (Don’t forget to remove quotes while searching).

CSS properties in textarea in the Customizer

As it happens, I was literally just doing some stuff with the customizer. You can use the following class to get what you need.. WP_Customize_Code_Editor_Control I’ll include it in the control ready to go. $wp_customize->add_control( new WP_Customize_Code_Editor_Control( $wp_customize, ‘favorite_html’, array( ‘label’ => ‘Theme CSS’, ‘description’ => ”, ‘code_type’ => ‘text/css’, ‘section’ => ‘section_id’, ‘settings’ => … Read more