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
/** | |
* MobileFix | |
* | |
* Fix fullheight elements on mobile with that pesky URL bar | |
*/ | |
/** | |
* Threshold of screen height difference at which elements will update their | |
* height, so will essentially only update on orientation change. | |
* Change to 0 if you want elements to adjust every time URL bar moves |
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
<?php | |
/** | |
* File wp-content/sunrise.php | |
* | |
* This allows us to copy the production multisite database to staging/local and still use | |
* it directly without altering domains | |
* | |
* This file can be present on all copies of the site, but it should only be added to the | |
* wp-config file of local/staging (via `define( 'SUNRISE', true )`) | |
* |
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
{ | |
"global": { | |
"parse": { | |
"applicationId": "com.example.parseAppID", | |
"javascriptKey": "XXXX", | |
"clientKey": "YYYY", | |
"restAPIKey": "ZZZZ", | |
"serverURL": "https://example.com/parse/" | |
} | |
} |
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
function my_mce_before_init_insert_formats( $init_array ) { | |
$style_formats = array( | |
array( | |
'title' => 'Headline', | |
'block' => 'h2', | |
'classes' => 'headline', | |
'wrapper' => false, | |
), | |
array( | |
'title' => 'Blockquote', |
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
module.exports = function(grunt) { | |
require('load-grunt-tasks')(grunt); | |
require('grunt-postcss')(grunt); | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
sass: { | |
options: { | |
sourceMap: 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
preferred_syntax = :scss | |
http_path = '/' | |
css_dir = 'css' | |
sass_dir = 'scss' | |
images_dir = 'img' | |
javascripts_dir = 'js' | |
fonts_dir = 'fonts' | |
relative_assets = true |
NewerOlder