This file contains hidden or 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
.gform_wrapper { | |
ul { | |
@extend .list-unstyled; | |
} | |
li { | |
@extend .form-group; | |
} |
This file contains hidden or 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
if ($http_referer ~* "semalt\.com") { | |
return 444; | |
} |
This file contains hidden or 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
$$ | |
$$$$$ $$$ | |
$$$$$ $$$$$ | |
$$$$$$ $$$$$$$ DD $$$$$$$ $$$$$ $$$$$ $$$$$$$ $$$$ | |
$$$$$$ $$$$$$$$$ $$ $$$ $$$ $$ $$$ $$$ $$$$$ | |
$$$$$$ $$$$$ DD DDDDDDDDDD $$ $$ $$ $$ $$ $$ $$ $$ | |
$$$$$$$$$$ $$$$$$ DD DD DD DDD $$$$$$ $$ $$ $$$$$$$ $$ $$ $$ | |
$$$$$$$$$$ ?$$$$$$$ DD DD DD DD $$ $$ $$ $$ $$ $$ $$$$$$$ | |
$$$$$$$$$ $$$$$$$$$ DD DD DD DD $$ $$$ $$$ $$ $$$ $$$$$$$$$ $$ |
This file contains hidden or 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
git log --oneline --decorate --color |
This file contains hidden or 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 | |
// Remove all evidence of WP Engine from the Dashboard, unless the logged in user is "wpengine" | |
$user = wp_get_current_user(); | |
if ( $user->user_login != 'wpengine' ) { | |
add_action( 'admin_init', 'jpry_remove_menu_pages' ); | |
add_action( 'admin_bar_menu', 'jpry_remove_admin_bar_links', 999 ); | |
} | |
/** |
This file contains hidden or 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 | |
/* Change 'Our Team' Archive Slug */ | |
function woothemes_our_team_custom_archive_slug( $archive_slug ) { | |
$new_archive_slug = _x( 'agents', 'post archive url slug', 'our-team-by-woothemes' ); | |
return $new_archive_slug; | |
} | |
add_filter( 'woothemes_our_team_archive_slug', 'woothemes_our_team_custom_archive_slug' ); |
This file contains hidden or 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 | |
// Prefetch For Speed Up | |
function dns_prefetch() { | |
$prefetch = 'on'; | |
echo "\n <!-- DNS Prefetching Start --> \n"; | |
echo '<meta http-equiv="x-dns-prefetch-control" content="'.$prefetch.'">'."\n"; | |
if ($prefetch != 'on') { |
This file contains hidden or 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 | |
################################################################################ | |
// Enable Entry Deletion | |
################################################################################ | |
class RW_Delete_Entry { | |
function __construct() { | |
if( ! property_exists( 'GFCommon', 'version' ) || ! version_compare( GFCommon::$version, '1.8.5.8', '>=' ) ) | |
return; | |
add_filter( 'gform_tooltips', array( $this, 'add_delete_tooltip') ); |
This file contains hidden or 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
add_theme_support( 'jetpack-responsive-videos' ); |
This file contains hidden or 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
################################################################################ | |
// Change Related Posts Header for Properties CPT | |
################################################################################ | |
function jetpackme_related_posts_headline( $headline ) { | |
if ( is_singular( 'properties' ) ) { | |
$headline = sprintf( | |
'<h3 class="jp-relatedposts-headline"><em>%s</em></h3>', | |
esc_html( 'Similar Listings' ) | |
); | |
return $headline; |