Skip to content

Commit ba5a8aa

Browse files
committed
bumped to Bootstrap 5.0.0 final, bumped to jQuery 3.6.0 (optional)
1 parent 28d6afc commit ba5a8aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bs5starter/functions/enqueues.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function custom_enqueue_scripts()
44
// * styles *
55

66
// Bootstrap 5 style
7-
wp_register_style('bootstrap5', 'https://cdn.jsdelivr.net/npm/[email protected]-beta1/dist/css/bootstrap.min.css', false, '5.0.0-beta1', null);
7+
wp_register_style('bootstrap5', 'https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css', false, '5.0.0', null);
88
wp_enqueue_style('bootstrap5');
99

1010
// custom style
@@ -16,10 +16,10 @@ function custom_enqueue_scripts()
1616
// remove jQuery
1717
wp_deregister_script('jquery');
1818
// add latest jQuery * uncomment to enable jQuery *
19-
// wp_register_script('jquery', 'https://code.jquery.com/jquery-3.5.1.js', false, '3.5.1', false);
19+
// wp_register_script('jquery', 'https://code.jquery.com/jquery-3.6.0.js', false, '3.6.0', false);
2020
// wp_enqueue_script('jquery');
2121

22-
wp_register_script('bootstrap5', 'https://cdn.jsdelivr.net/npm/[email protected]-beta1/dist/js/bootstrap.bundle.min.js', false, '5.0.0-beta1', true);
22+
wp_register_script('bootstrap5', 'https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js', false, '5.0.0', true);
2323
wp_enqueue_script('bootstrap5');
2424

2525
// custom script

0 commit comments

Comments
 (0)