skip to Main Content

Bootstrap not working in my custom plugin – WordPress

// register jquery and style on initialization add_action('init', 'register_script'); function register_script() { wp_register_style( 'bootstrap', plugins_url('/bootstrap/css/bootstrap.css', __FILE__)); } // use the registered jquery and style above add_action('wp_enqueue_scripts', 'enqueue_style'); function enqueue_style(){ wp_enqueue_style( 'bootstrap' ); } my folder's name is turnover-calculator it only…

VIEW QUESTION
Back To Top
Search