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 | |
//* Remove .site-inner | |
add_filter( 'genesis_markup_site-inner', '__return_null' ); | |
add_filter( 'genesis_markup_content-sidebar-wrap_output', '__return_false' ); | |
add_filter( 'genesis_markup_content', '__return_null' ); | |
?> |
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
jQuery( document ).ready( function( $ ) { | |
jQuery( '.content' ).masonry(); | |
} ); | |
jQuery( 'img' ).load(function() { | |
jQuery( '.content' ).masonry(); | |
} ); |
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
.entry-content a { | |
color: #232323; | |
text-decoration: none; | |
background: linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#d43c67,#d43c67); | |
background-repeat: no-repeat,no-repeat,repeat-x; | |
background-position: 0 95%,100% 95%,0 95%; | |
background-size: .05em 1px,.05em 1px,1px 1px; | |
text-shadow: 0.03em 0 #fff, -0.03em 0 #fff, 0 0.03em #fff, 0 -0.03em #fff, 0.06em 0 #fff, -0.06em 0 #fff, 0.09em 0 #fff, -0.09em 0 #fff, 0.12em 0 #fff, -0.12em 0 #fff, 0.15em 0 #fff, -0.15em 0 #fff; | |
} |
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 | |
$get_featured_cats = array( | |
'taxonomy' => 'product_cat', | |
'orderby' => 'name', | |
'hide_empty' => '0', | |
'include' => $cat_array | |
); | |
$all_categories = get_categories( $get_featured_cats ); | |
$j = 1; |
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 shown above. Copy the code shown below. | |
//* Customize search form input box text | |
add_filter( 'genesis_search_text', 'sp_search_text' ); | |
function sp_search_text( $text ) { | |
return esc_attr( 'Search my blog...' ); | |
} |
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( 'init', 'cd_register_shortcode' ); | |
/** | |
* Register shortcode with the theme | |
*/ | |
function cd_register_shortcode() { | |
add_shortcode( '404-search', 'cd_search_shortcode' ); | |
} |
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: 960px) { | |
/* Flexible Widgets | |
--------------------------------------------- */ | |
.flexible-widgets .widget { | |
float: left; | |
margin-left: 3%; | |
} |