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 | |
/** | |
* Create ACF setting page under Events CPT menu | |
* | |
* @since 1.0.0 | |
*/ | |
if ( function_exists( 'acf_add_options_sub_page' ) ){ | |
acf_add_options_sub_page(array( | |
'title' => 'Event Settings', | |
'parent' => 'edit.php?post_type=events', |
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_delay": 5, | |
"auto_match_enabled": true, | |
"binary_file_patterns": | |
[ | |
"*.jpg", | |
"*.jpeg", | |
"*.png", | |
"*.gif", | |
"*.ttf", |
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
define( 'WP_DEBUG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
define( 'WP_DEBUG_LOG', 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
<?php | |
// Bokka Utilities must be loaded before all other mu-plugins | |
// as it contains global variables used elsewhere. | |
require WPMU_PLUGIN_DIR.'/bokka-wp-utilities/bokka-utilities.php'; | |
require WPMU_PLUGIN_DIR.'/bokka-wp-mvc/bokka-mvc.php'; |
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
# WordPress # | |
############ | |
# patternlab-php-master/ | |
# wp-config-local.php | |
# wp-content/uploads | |
# wp-content/plugins/debug-log.php | |
# wp-content/blogs.dir/ | |
# wp-config.php | |
# wp-content/upgrade/ | |
# wp-content/backup-db/ |
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
~: cd ~/vagrants/ | |
[develop] vagrants: vagrant up --provision | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Checking if box 'ubuntu/trusty64' is up to date... | |
==> default: [vagrant-hostsupdater] Checking for host entries | |
==> default: [vagrant-hostsupdater] found entry for: 192.168.50.4 vvv | |
==> default: [vagrant-hostsupdater] found entry for: 192.168.50.4 vvv.dev | |
==> default: [vagrant-hostsupdater] found entry for: 192.168.50.4 local.wordpress.dev | |
==> default: [vagrant-hostsupdater] found entry for: 192.168.50.4 src.wordpress-develop.dev | |
==> default: [vagrant-hostsupdater] found entry for: 192.168.50.4 build.wordpress-develop.dev |
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
{ | |
"Right Option Key Sends" : 0, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { | |
"Green Component" : 0.3333333432674408, | |
"Blue Component" : 1, | |
"Red Component" : 0.3333333432674408 | |
}, |
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 parse_git_branch { | |
ref=$(git status 2> /dev/null | grep -E "(On branch|detached) .*$" | grep -oE "\S*$") || return | |
echo "["${ref#refs/heads/}"] " | |
} | |
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion | |
fi | |
PS1='\[\033[0;33m\]$(parse_git_branch)\[\e[32m\]\W\[\e[33m\]: \[\e[0m\]' |
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
/*------------------------------------------------------------------ | |
SASS/CODEKIT PROJECT STRUCTURE | |
-------------------------------------------------------------------- | |
index.html | |
css.css | |
/images/ | |
/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
<header class="header"> | |
<div class="header__top"> | |
<p>Top header bar</p> | |
</div> | |
<div class="header__primary"> | |
<a href="#">Logo</a> | |
<ul> | |
<li><a href="#">Home</a></li> | |
<li><a href="#">About</a></li> | |
<li><a href="#">Contact</a></li> |