This repository has been archived by the owner on May 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from Codeinwp/development
Fixed issue with sidebar not appearing on 404 not found page New Github icon New option to change the color for the icon menu Styled captions on gallery Reorganize Customize panels Added grunt + fix all the errors generated
- Loading branch information
Showing
48 changed files
with
6,765 additions
and
4,154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.git | ||
.distignore | ||
.gitignore | ||
.travis.yml | ||
.jshintrc | ||
Gruntfile.js | ||
grunt | ||
phpcs.xml | ||
node_modules | ||
logs | ||
package.json | ||
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# IntelliJ project files | ||
.idea | ||
*.iml | ||
out | ||
gen | ||
node_modules | ||
logs | ||
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"boss": true, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"eqnull": true, | ||
"expr": true, | ||
"immed": true, | ||
"noarg": true, | ||
"nonbsp": true, | ||
"onevar": true, | ||
"quotmark": "single", | ||
"trailing": true, | ||
"undef": true, | ||
"unused": true, | ||
"browser": true, | ||
"globals": { | ||
"_": false, | ||
"Backbone": false, | ||
"jQuery": false, | ||
"JSON": false, | ||
"wp": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
language: php | ||
|
||
## PHP versions to test against | ||
php: | ||
- "7.0" | ||
- "5.6" | ||
- "5.5" | ||
- "5.4" | ||
- "5.3" | ||
- "5.2" | ||
sudo: false | ||
env: | ||
- WP_VERSION=master WP_MULTISITE=0 | ||
install: | ||
- . $HOME/.nvm/nvm.sh | ||
- nvm install stable | ||
- nvm use stable | ||
- npm install | ||
- npm install grunt-cli -g | ||
before_script: | ||
## Install the wordpress latest version | ||
- export WP_DEVELOP_DIR=/tmp/wordpress/ | ||
- mkdir -p $WP_DEVELOP_DIR | ||
- git clone --depth=1 --branch="$WP_VERSION" git://develop.git.wordpress.org/ $WP_DEVELOP_DIR | ||
- theme_slug=$(basename $(pwd)) | ||
- theme_dir=$WP_DEVELOP_DIR/src/wp-content/themes/$theme_slug | ||
- cd .. | ||
- mv $theme_slug $theme_dir | ||
- cd $WP_DEVELOP_DIR | ||
- cp wp-tests-config-sample.php wp-tests-config.php | ||
- sed -i "s/youremptytestdbnamehere/wordpress_test/" wp-tests-config.php | ||
- sed -i "s/yourusernamehere/root/" wp-tests-config.php | ||
- sed -i "s/yourpasswordhere//" wp-tests-config.php | ||
- mysql -e 'CREATE DATABASE wordpress_test;' -uroot | ||
|
||
## install PHPCS and Wordpress standards | ||
- pear install pear/PHP_CodeSniffer | ||
- mkdir wordpress-coding-standards && curl -L https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/archive/master.tar.gz | tar xz --strip-components=1 -C wordpress-coding-standards | ||
- phpenv rehash | ||
- phpcs --config-set installed_paths $WP_DEVELOP_DIR/wordpress-coding-standards | ||
- phpenv rehash | ||
- cd $theme_dir | ||
|
||
script: | ||
grunt travis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,5 @@ | |
</main><!-- #main --> | ||
</div><!-- #primary --> | ||
|
||
<?php get_sidebar(); ?> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// jshint node:true | ||
|
||
module.exports = function( grunt ) { | ||
'use strict'; | ||
|
||
var loader = require( 'load-project-config' ), | ||
config = require( 'grunt-theme-fleet' ); | ||
config = config(); | ||
config.files.php.push( '!inc/admin/**/*.php' ); | ||
config.files.js.push( '!inc/admin/**/*.js' ); | ||
loader( grunt, config ).init(); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.