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
[alias] | |
; Pushes any work to current branch | |
; Sets the remote and the current branch programatically | |
; Sets the staging branch to second argument or default to develop | |
; Checks out the staging branch | |
; Pulls the remote work then pushes | |
; Checks out the original branch | |
merge-staging = "!f() { \ | |
git push; \ | |
REMOTE=`git remote`; \ |
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
@media only screen and (min-width: 1101px) { | |
.nav-primary { | |
text-align: center; | |
} | |
.nav-primary .wrap { | |
display: inline-block; | |
width: auto !important; | |
} | |
} |
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 | |
/** | |
* Theme functions.php file. | |
* | |
* This file adds functions to the {theme}. | |
* | |
* @package nls | |
* @author NicktheGeek | |
* @license GPL-2.0+ | |
* @link http://designsbynickthegeek.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
<?php | |
add_action( 'genesis_before', 'child_conditional_actions' ); | |
function child_conditional_actions() { | |
if( /**insert your conditional statements here */ ) { | |
//put your actions here | |
} | |
//you could add additional conditional statements as needed here |
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 | |
add_filter( 'agentpress_featured_listings_widget_loop', 'child_featured_listings_widget_loop' ); | |
/** | |
* This code will replace the "," left behind in AgentPress feature listing widget after | |
* the listing detail IDs have been changed. | |
* Change the IDs to suit your needs. | |
*/ | |
function child_featured_listings_widget_loop( $loop ){ |