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
[core] | |
excludesfile = ~/.gitignore |
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 | |
/** | |
* `includes/class-*-activator.php | |
*/ | |
/** | |
* Add setting to register the plugins activation. | |
* | |
* Create an option field in the database to check against later. | |
* |
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 | |
/** | |
* Child functions and definitions. | |
* | |
* @link https://codex.wordpress.org/Functions_File_Explained | |
* | |
* @package child | |
*/ | |
if ( ! function_exists( 'child' ) ) : | |
add_action( 'wp_enqueue_scripts', 'enqueue_styles' ); |
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
/** | |
* HTML5 Shiv | |
* Enables use of HTML5 sectioning elements in legacy Internet | |
* Explorer and provides basic HTML5 styling for Internet Explorer 6-9 | |
*/ | |
// add ie conditional html5 shim to header | |
function add_ie_html5_shim () { | |
echo '<!--[if lt IE 9]>'; | |
echo '<script src="'. get_stylesheet_directory_uri() .'/js/lib/html5shiv-printshiv.js"></script>'; |
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
/* | |
// Hide only visually, but have it available for screenreaders: h5bp.com/v | |
*/ | |
.visuallyhidden { | |
border: 0; | |
clip: rect(0 0 0 0); | |
height: 1px; | |
margin: -1px; | |
overflow: hidden; |
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
<script> | |
Modernizr.load([ | |
{ | |
test: Modernizr.mq("only screen and (max-width: 320px)"), | |
yep: 'mobile.js' | |
}, | |
{ | |
test: Modernizr.mq("only screen and (min-width: 321px)"), | |
yep: 'desktop.js' | |
} |
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
Show hidden characters
{ | |
"auto_complete_commit_on_tab": true, | |
"color_scheme": "Packages/Color Scheme - Default/Blackboard.tmTheme", | |
"dictionary": "Packages/Language - English/en_GB.dic", | |
"font_size": 16, | |
"hot_exit": false, | |
"show_tab_close_buttons": false, | |
"tab_size": 2, | |
"spell_check": true, | |
"translate_tabs_to_spaces": true, |
NewerOlder