diff --git a/.ftppass b/.ftppass new file mode 100644 index 0000000..9a30947 --- /dev/null +++ b/.ftppass @@ -0,0 +1,6 @@ +{ + "key1": { + "username": "ascribe", + "password": "zS!wfsBm9FK$" + } +} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 01d866b..37c6e4f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +<<<<<<< HEAD # Created by .ignore support plugin (hsz.mobi) ### JetBrains template # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion @@ -48,3 +49,11 @@ crashlytics.properties crashlytics-build.properties +======= +node_modules +release +vendor +composer.lock +phpunit.xml +.idea +>>>>>>> otherTheme diff --git a/.idea/ascribe.iml b/.idea/ascribe.iml index c956989..92f80f6 100644 --- a/.idea/ascribe.iml +++ b/.idea/ascribe.iml @@ -4,5 +4,6 @@ + \ No newline at end of file diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..82f552b --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,187 @@ +module.exports = function( grunt ) { + + // Project configuration + grunt.initConfig( { + pkg: grunt.file.readJSON( 'package.json' ), + concat: { + options: { + stripBanners: true, + banner: '/*! <%= pkg.title %> - v<%= pkg.version %>\n' + + ' * <%= pkg.homepage %>\n' + + ' * Copyright (c) <%= grunt.template.today("yyyy") %>;' + + ' * Licensed GPLv2+' + + ' */\n' + }, + main: { + src: [ + 'assets/js/src/ascribe.js' + ], + dest: 'assets/js/ascribe.js' + } + }, + jshint: { + all: [ + 'Gruntfile.js', + 'assets/js/src/**/*.js', + 'assets/js/test/**/*.js' + ] + }, + uglify: { + all: { + files: { + 'assets/js/ascribe.min.js': ['assets/js/ascribe.js'] + }, + options: { + banner: '/*! <%= pkg.title %> - v<%= pkg.version %>\n' + + ' * <%= pkg.homepage %>\n' + + ' * Copyright (c) <%= grunt.template.today("yyyy") %>;' + + ' * Licensed GPLv2+' + + ' */\n', + mangle: { + except: ['jQuery'] + } + } + } + }, + + less: { + all: { + options: { + sourceMap: false + }, + files: { + 'assets/css/ascribe.css': 'assets/css/less/ascribe.less' + } + } + }, + + + postcss: { + dist: { + options: { + processors: [ + require('autoprefixer-core')({browsers: 'last 2 versions'}) + ] + }, + files: { + 'assets/css/ascribe.css': [ 'assets/css/ascribe.css' ] + } + } + }, + + cssmin: { + options: { + banner: '/*! <%= pkg.title %> - v<%= pkg.version %>\n' + + ' * <%=pkg.homepage %>\n' + + ' * Copyright (c) <%= grunt.template.today("yyyy") %>;' + + ' * Licensed GPLv2+' + + ' */\n' + }, + minify: { + expand: true, + + cwd: 'assets/css/', + src: ['ascribe.css'], + + dest: 'assets/css/', + ext: '.min.css' + } + }, + watch: { + livereload: { + files: ['assets/css/*.css'], + options: { + livereload: true + } + }, + styles: { + files: ['assets/css/less/**/*.less'], + tasks: ['less', 'autoprefixer', 'cssmin'], + options: { + debounceDelay: 500 + } + }, + scripts: { + files: ['assets/js/src/**/*.js', 'assets/js/vendor/**/*.js'], + tasks: ['jshint', 'concat', 'uglify'], + options: { + debounceDelay: 500 + } + } + }, + 'sftp-deploy': { + css: { + auth: { + host: 'server.territorial.ca', + port: 22, + authKey: 'key1' + }, + cache: 'sftpCache.json', + src: '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/css/', + dest: '/home/ascribe/public_html/wp-content/themes/ascribe/assets/css', + exclusions: ['/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/node_modules', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/release', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/vendor', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/.git', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/.idea', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/**/.DS_Store'], + serverSep: '/', + concurrency: 4, + progress: true + }, + js: { + auth: { + host: 'server.territorial.ca', + port: 22, + authKey: 'key1' + }, + cache: 'sftpCache.json', + src: '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/js/', + dest: '/home/ascribe/public_html/wp-content/themes/ascribe/assets/js', + exclusions: ['/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/node_modules', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/release', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/vendor', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/.git', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/.idea', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/**/.DS_Store'], + serverSep: '/', + concurrency: 4, + progress: true + }, + controller: { + auth: { + host: 'server.territorial.ca', + port: 22, + authKey: 'key1' + }, + cache: 'sftpCache.json', + src: '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/controller/', + dest: '/home/ascribe/public_html/wp-content/themes/ascribe/controller/', + exclusions: ['/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/node_modules', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/release', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/vendor', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/.git', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/.idea', + '/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/**/.DS_Store'], + serverSep: '/', + concurrency: 4, + progress: true + } + } + } ); + + // Load tasks + require('load-grunt-tasks')(grunt); + + // Register tasks + + grunt.registerTask( 'css', ['less', 'postcss', 'cssmin', 'sftp-deploy:css'] ); + + grunt.registerTask( 'js', ['jshint', 'concat', 'uglify', 'sftp-deploy:js'] ); + + grunt.registerTask( 'controller', ['sftp-deploy:controller'] ); + + grunt.registerTask( 'default', ['css', 'js', 'controller'] ); + + grunt.util.linefeed = '\n'; +}; diff --git a/assets/css/ascribe.css b/assets/css/ascribe.css new file mode 100644 index 0000000..e69de29 diff --git a/assets/css/ascribe.min.css b/assets/css/ascribe.min.css new file mode 100644 index 0000000..e69de29 diff --git a/assets/css/less/ascribe.less b/assets/css/less/ascribe.less new file mode 100644 index 0000000..e69de29 diff --git a/assets/js/ascribe.js b/assets/js/ascribe.js new file mode 100644 index 0000000..ccf7689 --- /dev/null +++ b/assets/js/ascribe.js @@ -0,0 +1,8 @@ +/*! ascribe - v0.0.1 + * http://wordpress.org/themes + * Copyright (c) 2015; * Licensed GPLv2+ */ +( function( window, undefined ) { + 'use strict'; + + +} )( this ); diff --git a/assets/js/ascribe.min.js b/assets/js/ascribe.min.js new file mode 100644 index 0000000..8ba2638 --- /dev/null +++ b/assets/js/ascribe.min.js @@ -0,0 +1,4 @@ +/*! ascribe - v0.0.1 + * http://wordpress.org/themes + * Copyright (c) 2015; * Licensed GPLv2+ */ +!function(a,b){"use strict"}(this); \ No newline at end of file diff --git a/assets/js/src/ascribe.js b/assets/js/src/ascribe.js new file mode 100644 index 0000000..decb66f --- /dev/null +++ b/assets/js/src/ascribe.js @@ -0,0 +1,13 @@ +/** + * ascribe + * http://wordpress.org/themes + * + * Copyright (c) 2015 Territorial + * Licensed under the GPLv2+ license. + */ + +( function( window, undefined ) { + 'use strict'; + + +} )( this ); diff --git a/bootstrap.php.dist b/bootstrap.php.dist new file mode 100644 index 0000000..b634b94 --- /dev/null +++ b/bootstrap.php.dist @@ -0,0 +1,31 @@ +=5.4" + }, + "require-dev": { + "antecedent/patchwork": "1.2.*", + "phpunit/phpunit" : "*@stable", + "brianium/paratest" : "dev-master", + "10up/wp_mock" : "dev-master" + } +} diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..b15ad80 --- /dev/null +++ b/functions.php @@ -0,0 +1,29 @@ + element. + * + * @uses apply_filters() + * + * @since 0.1.0 + * + * @return void. + */ +function header_meta() { + $humans = ''; + + echo apply_filters( 'wptheme_humans', $humans ); +} diff --git a/languages/wptheme.pot b/languages/wptheme.pot new file mode 100644 index 0000000..fb2fd30 --- /dev/null +++ b/languages/wptheme.pot @@ -0,0 +1,16 @@ +msgid "" +msgstr "" +"Project-Id-Version: ascribe\n" +"POT-Creation-Date: 2015-09-16T23:52:34.272Z\n" +"PO-Revision-Date: 2015-09-16T23:52:34.274Z\n" +"Last-Translator: 10up \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" +"_n_noop:1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;" +"esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: ..\n" + diff --git a/package.json b/package.json new file mode 100644 index 0000000..35e66c3 --- /dev/null +++ b/package.json @@ -0,0 +1,37 @@ +{ + "name": "ascribe", + "title": "ascribe", + "description": "The best WordPress theme ever made!", + "version": "0.0.1", + "homepage": "http://wordpress.org/themes", + "repository": { + "type": "git", + "url": "" + }, + "author": { + "name": "Territorial", + "email": "us@territorial.ca", + "url": "http://territorial.ca" + }, + "devDependencies": { + "autoprefixer-core": "^5.2.1", + "grunt": "^0.4.5", + "grunt-contrib-clean": "^0.6.0", + "grunt-contrib-compress": "^0.13.0", + "grunt-contrib-concat": "^0.5.1", + "grunt-contrib-copy": "^0.8.0", + "grunt-contrib-cssmin": "^0.12.3", + "grunt-contrib-jshint": "^0.11.2", + "grunt-contrib-less": "^1.0.1", + "grunt-contrib-qunit": "^0.7.0", + "grunt-contrib-uglify": "^0.9.1", + "grunt-contrib-watch": "^0.6.1", + "grunt-phpunit": "^0.3.6", + "grunt-postcss": "^0.5.4", + "grunt-sass": "^1.0.0", + "grunt-sftp-deploy": "^0.2.4", + "load-grunt-tasks": "^3.2.0", + "qunitjs": "~1.18.0" + }, + "keywords": [] +} diff --git a/sftpCache.json b/sftpCache.json new file mode 100644 index 0000000..888b39a --- /dev/null +++ b/sftpCache.json @@ -0,0 +1 @@ +{"/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/css//ascribe.css":"2015-09-17T22:20:29.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/css//ascribe.min.css":"2015-09-17T22:20:29.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/css//readme.md":"2015-09-16T23:52:34.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/css//less/ascribe.less":"2015-09-17T22:05:05.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/js//ascribe.js":"2015-09-17T22:20:36.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/js//ascribe.min.js":"2015-09-17T22:20:36.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/js//src/ascribe.js":"2015-09-16T23:52:34.000Z","/Users/sarahetter/Dropbox/_shared/sarahetter/ascribe/assets/js//vendor/readme.md":"2015-09-16T23:52:34.000Z"} \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..f0f9b82 --- /dev/null +++ b/style.css @@ -0,0 +1,19 @@ +/** + * Theme Name: ascribe + * Theme URI: http://wordpress.org/themes + * Description: The best WordPress theme ever made! + * Author: Territorial + * Author URI: http://territorial.ca + * Version: 0.1.0 + * Tags: + * Text Domain: wptheme + * + * License: GPLv2+ + * License URI: http://www.gnu.org/licenses/gpl-2.0.html + */ + +/** + * Built using yo wp-make:theme + * Copyright (c) 2014 10up, LLC + * https://github.com/lkwdwrd/generator-wp-make + */