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
{ | |
"window.menuBarVisibility": "classic", | |
"phpformatter.composer": false, | |
"phpformatter.pharPath": "/home/linuxbrew/.linuxbrew/bin/php-cs-fixer", | |
"php-docblocker.extra": [ | |
"Description", | |
"@package", | |
"@since", | |
"@author Jason Chafin", | |
"@link http://www.blackbirdconsult.com", |
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
<section class="slider"> | |
<div class="flexslider"> | |
<ul class="slides"> | |
<li><img src="http://imgur.com/..." alt=""></li> | |
<li><img class="lazy" data-src="http://imgur.com/..." alt=""></li> | |
<li><img class="lazy" data-src="http://imgur.com/..." alt=""></li> | |
<li><img class="lazy" data-src="http://imgur.com/..." alt=""></li> | |
<li><img class="lazy" data-src="http://imgur.com/..." alt=""></li> | |
</ul> | |
</div> |
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
/** | |
* Replace WordPress jQuery with Google Hosted Libraries | |
* @author Blackbird Consulting/Jason Chafin | |
* @link https://gist.github.com/Herm71/916bc9481f62845ddc97248a871cab4a | |
*/ | |
function bb_modify_jquery(){ | |
if (!is_admin()){ | |
// deregister WordPress JQuery |
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
/** | |
* Remove Query String from Static Resources | |
* @author Blackbird Consulting/Jason Chafin | |
* @link https://gist.github.com/Herm71/47f5d0f14d9ca526c95584c94b0050ec | |
* | |
* @param $src | |
* @return modified query string | |
*/ | |
function _bb_remove_query_string($src){ |
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 | |
/** | |
* Plugin Name: Blackbird Custom Functionality | |
* Plugin URI: https://github.com/Herm71/blackbird-core-functionality-plugin.git | |
* Description: Contains custom functionality. Theme independent. | |
* Version: 1.1.0 | |
* Author: Blackbird Consulting | |
* Author URI: http://www.blackbirdconsult.com/ | |
* License: GPL2 | |
* |
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
blackbird@computer:~/htdocs$ssh bbdev@blackbirdwork.com | |
#ssh into work server | |
bbdev@blackbirdwork.com:~/$ cd git | |
#change into my git archive directory | |
bbdev@blackbirdwork.com:~/git$ git init --bare new_project_directory.git | |
#create new bare repository for our new project | |
bbdev@blackbirdwork.com:~/git$ exit |
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 | |
//* Do NOT include the opening php tag | |
//* Add HTML5 markup structure | |
add_theme_support( 'html5' ); |
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
<div style="Palette2"> | |
<style type="text/css"> | |
.color1 { background-color: #474A53} | |
.color2 { background-color: #21232A} | |
.color3 { background-color: #F1F0EB} | |
.color4 { background-color: #95979C} | |
.color5 { background-color:#DAC8B3} | |
.clear {clear:both} | |
.square { |