简体   繁体   中英

Wordpress Child Theme Not Updating

I am working with Wr Nitro child theme. I have created the functions.php file, but all modifications are not showing up in the platform. I've already tried everything, cleared the cache, updating woocommerce files, but no results. There's my function.php code:

function wr_nitro_child_enqueue_scripts(){
wp_enqueue_style('wr-nitro-child-style', get_stylesheet_directory_uri() . '/style.css');
} add_action('wp_enqueue_scripts', 'wr-nitro_child_enqueue_scripts', 1000000000 );

you have different functions inside add_action and as a function name. wr_nitro_child_enqueue_scripts vs wr-nitro_child_enqueue_scripts I suggest always copying function and variable names instead of writing them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM