Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #759 from olefredrik/feature/childThemeSupport
Browse files Browse the repository at this point in the history
Feature/child theme support
  • Loading branch information
olefredrik committed Mar 8, 2016
2 parents 2508e2d + bbf67fb commit d74aecd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library/enqueue-scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
function foundationpress_scripts() {

// Enqueue the main Stylesheet.
wp_enqueue_style( 'main-stylesheet', get_stylesheet_directory_uri() . '/assets/stylesheets/foundation.css', array(), '2.3.0', 'all' );
wp_enqueue_style( 'main-stylesheet', get_template_directory_uri() . '/assets/stylesheets/foundation.css', array(), '2.5.1', 'all' );

// Deregister the jquery version bundled with WordPress.
wp_deregister_script( 'jquery' );
Expand All @@ -23,7 +23,7 @@ function foundationpress_scripts() {

// If you'd like to cherry-pick the foundation components you need in your project, head over to gulpfile.js and see lines 35-54.
// It's a good idea to do this, performance-wise. No need to load everything if you're just going to use the grid anyway, you know :)
wp_enqueue_script( 'foundation', get_template_directory_uri() . '/assets/javascript/foundation.js', array('jquery'), '2.3.0', true );
wp_enqueue_script( 'foundation', get_template_directory_uri() . '/assets/javascript/foundation.js', array('jquery'), '2.5.1', true );

// Add the comment-reply library on pages where it is necessary
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "foundationpress",
"title": "FoundationPress",
"version": "2.5.0",
"version": "2.5.1",
"description": "FoundationPress is a WordPress starter theme based on Foundation 6 by Zurb",
"keywords": [
"FoundationPress",
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Theme Name: FoundationPress
Theme URI: http://foundationpress.olefredrik.com
Github Theme URI: https://github.com/olefredrik/FoundationPress
Description: FoundationPress is a WordPress starter theme based on Foundation 6 by Zurb
Version: 2.5.0
Version: 2.5.1
Author: Ole Fredrik Lie
Author URI: http://olefredrik.com/
Expand Down

0 comments on commit d74aecd

Please sign in to comment.