Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from original source #3

Merged
merged 14 commits into from
Jun 28, 2016
69 changes: 69 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
- \<?php foundationpress\_top\_bar\_r\(\); ?\> 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 \</div\> 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)

Expand Down
43 changes: 43 additions & 0 deletions assets/scss/modules/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,46 @@
}

}
/* 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;
}
.post-navigation:after {
clear:both;
}
/* 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;
}
6 changes: 5 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
4 changes: 2 additions & 2 deletions library/theme-support.php
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -43,4 +43,4 @@ function foundationpress_theme_support() {
}

add_action( 'after_setup_theme', 'foundationpress_theme_support' );
endif;
endif;
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.6.1",
"version": "2.6.2",
"description": "FoundationPress is a WordPress starter theme based on Foundation 6 by Zurb",
"keywords": [
"FoundationPress",
Expand Down
1 change: 1 addition & 0 deletions page.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<?php do_action( 'foundationpress_page_before_entry_content' ); ?>
<div class="entry-content">
<?php the_content(); ?>
<?php edit_post_link( __( 'Edit', 'foundationpress' ), '<span class="edit-link">', '</span>' ); ?>
</div>
<footer>
<?php wp_link_pages( array('before' => '<nav id="page-nav"><p>' . __( 'Pages:', 'foundationpress' ), 'after' => '</p></nav>' ) ); ?>
Expand Down
2 changes: 2 additions & 0 deletions single.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@
?>

<?php the_content(); ?>
<?php edit_post_link( __( 'Edit', 'foundationpress' ), '<span class="edit-link">', '</span>' ); ?>
</div>
<footer>
<?php wp_link_pages( array('before' => '<nav id="page-nav"><p>' . __( 'Pages:', 'foundationpress' ), 'after' => '</p></nav>' ) ); ?>
<p><?php the_tags(); ?></p>
</footer>
<?php the_post_navigation(); ?>
<?php do_action( 'foundationpress_post_before_comments' ); ?>
<?php comments_template(); ?>
<?php do_action( 'foundationpress_post_after_comments' ); ?>
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.6.1
Version: 2.6.2
Author: Ole Fredrik Lie
Author URI: http://olefredrik.com/

Expand Down