Reply 312037 to: WooCommerce Updates

Avatar: Olga Barlow
Olga Barlow
Support staff
December 15, 2021 at 16:55

Hello,

Use the below code

<?php add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
    wp_enqueue_style( 'child-style', get_stylesheet_uri(), array( 'bootstrap', 'parent-style' ) );
    wp_enqueue_script( 'royal-child-scripts', get_stylesheet_directory_uri().'/cpm/cpm.js' );
}

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.