View gist:bee04c3e9c1e6b026d7b
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 | |
/** | |
* Change Beer Directory plugin slug from 'beer' to 'soup' | |
* | |
* @link http://wordpress.stackexchange.com/questions/41988/redeclare-change-slug-of-a-plugins-custom-post-type | |
*/ | |
function brewery_add_custom_rewrite_rule() { | |
// First, try to load up the rewrite rules. We do this just in case |
View gist:7c23e7aef3531c0fce54
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
.template_pets_wrap .pet_meta_wrap ul li:before { | |
content: "\f00c"; | |
font-family: FontAwesome; | |
font-size: .85em; | |
display: inline-block; | |
margin-left: -1.2em; | |
width: 1.5em; | |
color: #e2e2e2; | |
} |
View gist:087171889999c37d8f48
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
/** | |
* Custom Customizer Style | |
*/ | |
function custom_customizer_style() { | |
wp_enqueue_style( 'rescue-customizer-style', get_template_directory_uri() . '/customizer/style.css', array(), '', 'all' ); | |
} | |
add_action( 'customize_controls_enqueue_scripts', 'custom_customizer_style' ); |
View gist:ce8f51e33642573e6da6
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
0,15,30,45 * * * * curl -I http://rescuethemes.com/leafping/wp-cron.php?doing_wp_cron |
View gist:5ad9eb0605a98fe10ab1
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
.top-bar-section li.current_page_item:not(.has-form) a:not(.button) { | |
color: #aaaaaa; | |
} | |
/* For mobile only, use this */ | |
@media only screen and (max-width: 40em) { | |
.top-bar-section li.current_page_item:not(.has-form) a:not(.button) { | |
color: #aaaaaa; | |
} |
View gist:c53ab185f45ba251e961
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
/* Change the number to reflect however many prodcuts to show in a single row */ | |
if (!function_exists('merch_loop_columns')) { | |
function merch_loop_columns() { | |
return 3; | |
} | |
} |
View gist:5a2cb23dc6304155cb2e
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
.woocommerce.archive ul.products li.product { | |
margin-bottom: 5em; | |
} | |
.woocommerce.archive ul.products li.product h3 { | |
top: 1.5em; | |
color: #616671; | |
} | |
.woocommerce.archive mark { | |
background-color: #f6f6f6; | |
color: #888f9e; |
View gist:66a2dacc24d3fe6ec81f
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
@font-face{ | |
font-family:FontAwesome; | |
src:url('../css/fonts/fontawesome-webfont.eot?#iefix') format('eot'), | |
url('../css/fonts/fontawesome-webfont.woff') format('woff'), | |
url('../css/fonts/fontawesome-webfont.ttf') format('truetype'), | |
url('../css/fonts/fontawesome-webfont.svg#FontAwesome') format('svg'); | |
} |
View gist:76709205421b4bf1b011
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
.admin-bar p.demo_store { | |
top: 0; | |
} | |
p.demo_store { | |
padding: 0.5em 0; | |
font-size: 0.9em; | |
} |
View gist:8657ff6e5cdb8eebc394
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
.footer_copyright { | |
display: none; | |
} |
OlderNewer