0.5.0 Pre release draft

This commit is contained in:
koenemann 2016-10-27 11:51:16 +02:00
parent 71d7614066
commit 2c2fe4d765
2 changed files with 9 additions and 4 deletions

View File

@ -21,6 +21,11 @@ http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
## Changelog
- ** Pre Release 0.5.0 **
- Adding Greek language - Thx @stef-k
- Adding vertical-one-page template for landingpages - Thx @stef-k
- ** 0.4.9 Oct. 25th 2016 **
- Updating to Bootstrap 4 Alpha 5
- Using the correct BS4 markup for navbar - Thx @tedgeving

View File

@ -6,9 +6,9 @@
*/
function understrap_scripts() {
wp_enqueue_style( 'understrap-styles', get_stylesheet_directory_uri() . '/css/theme.min.css', array(), '0.4.7' );
wp_enqueue_style( 'understrap-styles', get_stylesheet_directory_uri() . '/css/theme.min.css', array(), '0.4.9' );
wp_enqueue_script( 'jquery' );
wp_enqueue_script( 'understrap-scripts', get_template_directory_uri() . '/js/theme.min.js', array(), '0.4.7', true );
wp_enqueue_script( 'understrap-scripts', get_template_directory_uri() . '/js/theme.min.js', array(), '0.4.9', true );
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
@ -16,7 +16,7 @@ function understrap_scripts() {
// menu - vertical page association
if ( is_page_template( 'page-templates/vertical-one-page.php' ) || is_home() || is_single() ) {
wp_enqueue_script( 'vertical-one-page', get_template_directory_uri() . '/js/vertical-one-page.js', array( 'jquery' ), '0.4.8', true );
wp_enqueue_script( 'vertical-one-page', get_template_directory_uri() . '/js/vertical-one-page.js', array( 'jquery' ), '0.4.9', true );
$page_for_posts = strtolower( get_the_title( get_option( 'page_for_posts' ) ) );
$home_url = home_url();
$is_single = is_single();
@ -46,7 +46,7 @@ if ( is_active_sidebar( 'hero' ) ):
"items" => intval( get_theme_mod( 'understrap_theme_slider_count_setting', 1 ) )
);
wp_enqueue_script( "understrap-slider-script", get_stylesheet_directory_uri() . '/js/slider_settings.js', array(), '0.4.7' );
wp_enqueue_script( "understrap-slider-script", get_stylesheet_directory_uri() . '/js/slider_settings.js', array(), '0.4.9' );
wp_localize_script( "understrap-slider-script", "understrap_slider_variables", $data );
}
}