v1.3.3
Fix
v1.3.2
- Deleted files that is no longer use. (html5shiv.js, html5shiv.min.js, respond.min.js, fix-bootstrap.css).
- Moved css, fonts, img, js into assets folder. Make file structure clean and related.
- Update PHP register common scripts/styles in one method.
- Add modern Bootstrap3 for alternative. ( Source code ). Use filter
bootstrap_basic_use_modern_bootstrapto set that modern or original will be use. Default is still use original Bootstrap 3.
Example code to use in your theme or plugin:add_filter('bootstrap_basic_use_modern_bootstrap', '__return_true');.
CSS not loaded?
If you create child theme and previously do something like this.
wp_dequeue_style('bootstrap-style');
wp_enqueue_style('bootstrap-3', trailingslashit(get_template_directory_uri()) . 'css/bootstrap.min.css');
wp_enqueue_style('my-theme-main-style', trailingslashit(get_stylesheet_directory_uri()) . 'assets/css/main.min.css', ['bootstrap-3']);You are doing it wrong and it will cause your theme breaks!
Replace with this.
// the commented out code below can be remove them entirely.
//wp_dequeue_style('bootstrap-style');
//wp_enqueue_style('bootstrap-3', trailingslashit(get_template_directory_uri()) . 'css/bootstrap.min.css');
wp_enqueue_style('my-theme-main-style', trailingslashit(get_stylesheet_directory_uri()) . 'assets/css/main.min.css', ['bootstrap-style']);v1.3.1
Fix
- Fix prevent call
the_widget()while certain widget is not registered.
v1.3.0
Update
- Remove Internet Explorer supported.