From f0f5a29a87c773fd74b12e836515d83690b6f752 Mon Sep 17 00:00:00 2001 From: Ole Fredrik Lie Date: Thu, 9 Jun 2016 21:54:52 +0200 Subject: [PATCH 1/9] Target Android >= 2.3 in autoprefixer --- gulpfile.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 205a1271c..cc9c44577 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -19,7 +19,11 @@ var URL = ''; var isProduction = !!(argv.production); // Browsers to target when prefixing CSS. -var COMPATIBILITY = ['last 2 versions', 'ie >= 9']; +var COMPATIBILITY = [ + 'last 2 versions', + 'ie >= 9', + 'Android >= 2.3' +]; // File paths to various assets are defined here. var PATHS = { From 0811b8e4394a93b0ac51155a77e18802b89227e7 Mon Sep 17 00:00:00 2001 From: Ole Fredrik Lie Date: Thu, 9 Jun 2016 21:58:29 +0200 Subject: [PATCH 2/9] Bump to version 2.6.2 --- package.json | 2 +- style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bef6dd9d5..430104607 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "foundationpress", "title": "FoundationPress", - "version": "2.6.1", + "version": "2.6.2", "description": "FoundationPress is a WordPress starter theme based on Foundation 6 by Zurb", "keywords": [ "FoundationPress", diff --git a/style.css b/style.css index 34bd06179..47a618a56 100755 --- a/style.css +++ b/style.css @@ -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.6.1 +Version: 2.6.2 Author: Ole Fredrik Lie Author URI: http://olefredrik.com/ From f99bbfbd5c055715ac76902cc90c12a7bbb05d0a Mon Sep 17 00:00:00 2001 From: Ole Fredrik Lie Date: Fri, 10 Jun 2016 09:13:31 +0200 Subject: [PATCH 3/9] Update changelog --- CHANGELOG.md | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee99c1ba0..519adb3c5 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,74 @@ # Change Log +## [Unreleased](https://github.com/olefredrik/FoundationPress/tree/HEAD) + +[Full Changelog](https://github.com/olefredrik/FoundationPress/compare/v2.6.2...HEAD) + +**Closed issues:** + +- Autoprefixer missing -webkit prefixes [\#826](https://github.com/olefredrik/FoundationPress/issues/826) + +## [v2.6.2](https://github.com/olefredrik/FoundationPress/tree/v2.6.2) (2016-06-09) +[Full Changelog](https://github.com/olefredrik/FoundationPress/compare/v2.6.1...v2.6.2) + +**Closed issues:** + +- Advice on Excessively Large File Size? [\#831](https://github.com/olefredrik/FoundationPress/issues/831) +- no styles [\#830](https://github.com/olefredrik/FoundationPress/issues/830) +- OffCanvas menu -webkit- prefixes in Safari [\#829](https://github.com/olefredrik/FoundationPress/issues/829) +- npm install error [\#827](https://github.com/olefredrik/FoundationPress/issues/827) +- Responsive Menu not toggling [\#825](https://github.com/olefredrik/FoundationPress/issues/825) +- Mobile Menu Accordion Menu - Expand "active" submenu parent automatically [\#822](https://github.com/olefredrik/FoundationPress/issues/822) +- Google Fonts are being added automatically [\#818](https://github.com/olefredrik/FoundationPress/issues/818) +- NPM run production not working with node.js 6.1.0 \(Solved\) [\#815](https://github.com/olefredrik/FoundationPress/issues/815) +- Extra Question For Issues [\#811](https://github.com/olefredrik/FoundationPress/issues/811) +- \ not showing any pages [\#810](https://github.com/olefredrik/FoundationPress/issues/810) +- npm install error [\#809](https://github.com/olefredrik/FoundationPress/issues/809) +- php CodeSniffer not working - Windows 10 [\#808](https://github.com/olefredrik/FoundationPress/issues/808) +- path.js throw error, Path must be a string. Received ' + inspect\(path\); [\#807](https://github.com/olefredrik/FoundationPress/issues/807) +- Logged in to my WP install via Browser Sync [\#806](https://github.com/olefredrik/FoundationPress/issues/806) +- FoundationPress installation via npm failed [\#805](https://github.com/olefredrik/FoundationPress/issues/805) +- Working with an "old" FoundationPress [\#800](https://github.com/olefredrik/FoundationPress/issues/800) +- Every little project requires 70,000 files? [\#797](https://github.com/olefredrik/FoundationPress/issues/797) +- Error trying to compile foundation.scss [\#796](https://github.com/olefredrik/FoundationPress/issues/796) +- can't upload on external save via SFTP [\#794](https://github.com/olefredrik/FoundationPress/issues/794) +- top-bar fixed [\#787](https://github.com/olefredrik/FoundationPress/issues/787) +- Strange character \( ` \) appearing in site text - this theme only [\#782](https://github.com/olefredrik/FoundationPress/issues/782) +- Missing modules when running npm run build or npm install [\#780](https://github.com/olefredrik/FoundationPress/issues/780) +- BwoserSync not working on older project after installing new project [\#779](https://github.com/olefredrik/FoundationPress/issues/779) +- about template page-sidebar-right [\#778](https://github.com/olefredrik/FoundationPress/issues/778) +- Component loading issue when building SCSS. [\#776](https://github.com/olefredrik/FoundationPress/issues/776) +- Significance of this return after running "watch"? [\#775](https://github.com/olefredrik/FoundationPress/issues/775) +- More info on Motion UI [\#772](https://github.com/olefredrik/FoundationPress/issues/772) +- Install foundationPress twice in one themes directory? [\#769](https://github.com/olefredrik/FoundationPress/issues/769) +- Sass Mixins with FoundationPress [\#765](https://github.com/olefredrik/FoundationPress/issues/765) +- errors in sitemap.xml due to functions.php [\#753](https://github.com/olefredrik/FoundationPress/issues/753) +- Adding a second menu to mobile nav? [\#728](https://github.com/olefredrik/FoundationPress/issues/728) +- Fonts issues. [\#703](https://github.com/olefredrik/FoundationPress/issues/703) +- Noob question regarding fonts and how to set them up [\#702](https://github.com/olefredrik/FoundationPress/issues/702) +- Push changes to server with Git, but with whole assets? [\#700](https://github.com/olefredrik/FoundationPress/issues/700) +- Reveal does not display properly on a page with right sidebar layout [\#696](https://github.com/olefredrik/FoundationPress/issues/696) +- Off canvas menu won't open/reveal left [\#682](https://github.com/olefredrik/FoundationPress/issues/682) +- SCSS Not Compiling Because [\#676](https://github.com/olefredrik/FoundationPress/issues/676) +- PostInstall issues [\#672](https://github.com/olefredrik/FoundationPress/issues/672) +- How to make a sticky nav? [\#653](https://github.com/olefredrik/FoundationPress/issues/653) + +**Merged pull requests:** + +- Autoprefixer compability [\#832](https://github.com/olefredrik/FoundationPress/pull/832) ([olefredrik](https://github.com/olefredrik)) +- Add foundation.css as editor styles [\#828](https://github.com/olefredrik/FoundationPress/pull/828) ([derweili](https://github.com/derweili)) +- Update cs\_CZ.po [\#823](https://github.com/olefredrik/FoundationPress/pull/823) ([vladodriver](https://github.com/vladodriver)) +- Updated Issue Template with New Questions [\#821](https://github.com/olefredrik/FoundationPress/pull/821) ([LukePettway](https://github.com/LukePettway)) +- Add missing argument to fix travis CI build [\#795](https://github.com/olefredrik/FoundationPress/pull/795) ([minihays](https://github.com/minihays)) +- Fix typo in gulpfile [\#793](https://github.com/olefredrik/FoundationPress/pull/793) ([perryst5](https://github.com/perryst5)) +- Update german translation [\#789](https://github.com/olefredrik/FoundationPress/pull/789) ([jgierer12](https://github.com/jgierer12)) +- fix missing \ tag [\#788](https://github.com/olefredrik/FoundationPress/pull/788) ([jgierer12](https://github.com/jgierer12)) +- remove favicon [\#784](https://github.com/olefredrik/FoundationPress/pull/784) ([15emedoctor](https://github.com/15emedoctor)) +- Create cs\_CZ.po [\#777](https://github.com/olefredrik/FoundationPress/pull/777) ([vladodriver](https://github.com/vladodriver)) +- Take 2: Optimize responsive images for 3/4 and full width templates [\#771](https://github.com/olefredrik/FoundationPress/pull/771) ([EricRihlmann](https://github.com/EricRihlmann)) +- No download historical file by Travis [\#770](https://github.com/olefredrik/FoundationPress/pull/770) ([mik-laj](https://github.com/mik-laj)) +- Portuguese update \(pt\_PT\) [\#768](https://github.com/olefredrik/FoundationPress/pull/768) ([pedro-mendonca](https://github.com/pedro-mendonca)) + ## [v2.6.1](https://github.com/olefredrik/FoundationPress/tree/v2.6.1) (2016-03-10) [Full Changelog](https://github.com/olefredrik/FoundationPress/compare/v2.6.0...v2.6.1) From b9a564c8d0cc0c5bcc352c8078659cc1f44d6d7c Mon Sep 17 00:00:00 2001 From: Austin Date: Mon, 13 Jun 2016 17:24:04 -0400 Subject: [PATCH 4/9] Update theme-support.php fixed typo **line 35** `formarts` to `formats` --- library/theme-support.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/theme-support.php b/library/theme-support.php index ccfdd49af..585cefd1b 100755 --- a/library/theme-support.php +++ b/library/theme-support.php @@ -32,7 +32,7 @@ function foundationpress_theme_support() { // RSS thingy add_theme_support( 'automatic-feed-links' ); - // Add post formarts support: http://codex.wordpress.org/Post_Formats + // Add post formats support: http://codex.wordpress.org/Post_Formats add_theme_support( 'post-formats', array('aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio', 'chat') ); // Declare WooCommerce support per http://docs.woothemes.com/document/third-party-custom-theme-compatibility/ @@ -43,4 +43,4 @@ function foundationpress_theme_support() { } add_action( 'after_setup_theme', 'foundationpress_theme_support' ); -endif; \ No newline at end of file +endif; From 292aa5debae1d1a33f798c372b2fb825588e579e Mon Sep 17 00:00:00 2001 From: Eccola Date: Thu, 16 Jun 2016 10:46:39 +0300 Subject: [PATCH 5/9] Introducing the_post_navigation and edit_post_link the_post_navigation since WP 4.1: https://developer.wordpress.org/reference/functions/the_post_navigation/ edit_post_link for users not displaying WP Toolbar --- single.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/single.php b/single.php index a93f13ac5..32bba08d9 100755 --- a/single.php +++ b/single.php @@ -27,11 +27,13 @@ ?> + ', '' ); ?>
'' ) ); ?>

+ From ef08dcf036b4f07a3567a95270e4b77d531ffb45 Mon Sep 17 00:00:00 2001 From: Eccola Date: Thu, 16 Jun 2016 10:49:26 +0300 Subject: [PATCH 6/9] Added styles for the_post_navigation --- assets/scss/modules/_navigation.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/assets/scss/modules/_navigation.scss b/assets/scss/modules/_navigation.scss index fcd6c4ac8..01d7d9805 100755 --- a/assets/scss/modules/_navigation.scss +++ b/assets/scss/modules/_navigation.scss @@ -66,3 +66,15 @@ } } +/* Nicolas Gallagher's "Micro clearfix" https://css-tricks.com/snippets/css/clear-fix/ */ +.post-navigation:before, +.post-navigation:after { + content: ""; + display: table; +} +.post-navigation:after { + clear:both; +} +.screen-reader-text {display:none;} +.nav-previous {float:left;} +.nav-next {float:right;} From c99f64f59c3ef575c0880c2a3decbcba246d95d1 Mon Sep 17 00:00:00 2001 From: Eccola Date: Thu, 16 Jun 2016 10:51:48 +0300 Subject: [PATCH 7/9] Added edit_post_link into page.php --- page.php | 1 + 1 file changed, 1 insertion(+) diff --git a/page.php b/page.php index 86d817492..84e0c2310 100755 --- a/page.php +++ b/page.php @@ -25,6 +25,7 @@
+ ', '' ); ?>
'' ) ); ?> From 4dd65c959a5cfecad73a554e745c19b6bc024528 Mon Sep 17 00:00:00 2001 From: Eccola Date: Thu, 16 Jun 2016 14:03:30 +0300 Subject: [PATCH 8/9] Update single.php Add missing space --- single.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/single.php b/single.php index 32bba08d9..4dde2573d 100755 --- a/single.php +++ b/single.php @@ -33,7 +33,7 @@ '' ) ); ?>

- + From 79a9f5d6f5f40c97dc68f5e812fc7452cbca8149 Mon Sep 17 00:00:00 2001 From: Eccola Date: Fri, 17 Jun 2016 09:17:46 +0300 Subject: [PATCH 9/9] Update _navigation.scss Added styles for .screen-reader-text --- assets/scss/modules/_navigation.scss | 43 ++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/assets/scss/modules/_navigation.scss b/assets/scss/modules/_navigation.scss index 01d7d9805..c7b01c536 100755 --- a/assets/scss/modules/_navigation.scss +++ b/assets/scss/modules/_navigation.scss @@ -66,15 +66,46 @@ } } -/* Nicolas Gallagher's "Micro clearfix" https://css-tricks.com/snippets/css/clear-fix/ */ +/* Basic styles for post navigation. Nicolas Gallagher's "Micro clearfix" https://css-tricks.com/snippets/css/clear-fix/ */ .post-navigation:before, .post-navigation:after { - content: ""; - display: table; + content: ""; + display: table; } .post-navigation:after { clear:both; } -.screen-reader-text {display:none;} -.nav-previous {float:left;} -.nav-next {float:right;} +/* Text meant only for screen readers. Addresses part of theme-check issue #840. https://github.com/Automattic/_s/blob/master/style.css */ +.screen-reader-text { + clip: rect(1px, 1px, 1px, 1px); + position: absolute !important; + height: 1px; + width: 1px; + overflow: hidden; +} + +.screen-reader-text:focus { + background-color: #f1f1f1; + border-radius: 3px; + box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); + clip: auto !important; + color: #21759b; + display: block; + font-size: 14px; + font-size: 0.875rem; + font-weight: bold; + height: auto; + left: 5px; + line-height: normal; + padding: 15px 23px 14px; + text-decoration: none; + top: 5px; + width: auto; + z-index: 100000; /* Above WP toolbar. */ +} +.nav-previous { + float:left; +} +.nav-next { + float:right; +}