Skip to content

Commit

Permalink
small theme changes
Browse files Browse the repository at this point in the history
  • Loading branch information
babobski committed Jul 16, 2020
1 parent fb34b9b commit fc38b94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,16 @@ function bootstrap_script_init() {
// Get theme version number (located in style.css)
$theme = wp_get_theme();

wp_register_script('bootstrap', get_template_directory_uri(). '/js/bootstrap.bundle.min.js', array( 'jquery' ), BOOTSTRAP_VERSION, true);
wp_register_script('bootstrap', get_template_directory_uri() . '/js/bootstrap.bundle.min.js', array( 'jquery' ), BOOTSTRAP_VERSION, true);
wp_enqueue_script('bootstrap');

wp_register_script( 'site', get_template_directory_uri().'/js/site.js', array( 'jquery', 'bootstrap' ), $theme->get( 'Version' ), true );
wp_register_script( 'site', get_template_directory_uri() . '/js/site.js', array( 'jquery', 'bootstrap' ), $theme->get( 'Version' ), true );
wp_enqueue_script( 'site' );

wp_register_style( 'bootstrap', get_stylesheet_directory_uri().'/css/bootstrap.min.css', array(), BOOTSTRAP_VERSION, 'all' );
wp_register_style( 'bootstrap', get_template_directory_uri() . '/css/bootstrap.min.css', array(), BOOTSTRAP_VERSION, 'all' );
wp_enqueue_style( 'bootstrap' );

wp_register_style( 'screen', get_stylesheet_directory_uri().'/style.css', array(), $theme->get( 'Version' ), 'screen' );
wp_register_style( 'screen', get_template_directory_uri() . '/style.css', array(), $theme->get( 'Version' ), 'screen' );
wp_enqueue_style( 'screen' );
}
}
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Theme Name: Bootsrap 4 on WordPress
Theme URI: http://bootstrap4onwordpress.babobski.nl/
Description: Bootstrap 4 on Wordpress
Version: 1.6
Version: 2.0.3
Author: Babobski
Author URI: https://www.babobski.nl
Tags: babobski, bootstrap, basic theme
Expand Down

0 comments on commit fc38b94

Please sign in to comment.