0
Я не могу понять, что случилось с моим кодом. Это он до сих пор:Что-то не так с enqueueing bootstrap в functions.php (Wordpress)
function reg_scripts() {
wp_enqueue_style('bootstrapstylemin', get_template_directory_uri() . '/bootstrap/css/bootstrap.min.css');
wp_enqueue_style('bootstrapstyleresmin', get_template_directory_uri() . '/bootstrap/css/bootstrap-responsive.min.css');}
add_action('wp_enqueue_scripts', 'reg_scripts');
function wpbootstrap_scripts_with_jquery(){
wp_enqueue_script('custom-scriptes', get_stylesheet_directory_uri() . '/bootstrap/js/bootstrap.js', array('bootstrap-jquery'));
add_action('wp_enqueue_scripts', 'wpbootstrap_scripts_with_jquery');
I am sorry, there is a screenshot of the console
После того как я увидел эти ошибки, я удалил CDN, но до сих пор не работает.
Вы не указали, что неправильно, так что никто не может сделать для вас ничего. Вы проверили консоль на наличие ошибок? то есть. 404 по файлам? # – David