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
/********** Screen Reader Text starts about line 482 ************/ | |
th { | |
font-weight: 400; | |
} | |
/* ## Screen Reader Text | |
--------------------------------------------- */ | |
.screen-reader-text, |
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 copy opening PHP tag | |
// Display full content only for specified categories | |
add_action( 'genesis_before_loop', 'wsm_full_content_category_archive' ); | |
/* | |
* Replace your-category with the slug for your category. | |
* If you wish to display full post content on multiple categories then | |
* separate the slugs with commas like this: | |
* 'your-category', 'your-other-category' |
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 | |
/* | |
* | |
* Template Name: IDX Broker | |
* | |
* This template is for displaying the IDX info from | |
* IDXBroker.com in your Genesis child theme. | |
*/ | |
add_action( 'genesis_before_content', 'wsm_idx_open_tag' ); |
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
iframe, | |
object, | |
embed { | |
max-width: 100%; | |
} |
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 | |
/** | |
* | |
* Template Name: Blog | |
* | |
* Modified Blog page template to add content area above | |
* blog archives | |
* | |
*/ |
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 | |
// don't copy openting php tag | |
// Add odd/even classes to blog archives | |
add_filter ( 'post_class' , 'wsm_oddeven_post_class' ); | |
global $current_class; | |
$current_class = 'odd'; | |
function wsm_oddeven_post_class ( $classes ) { | |
global $current_class; | |
$classes[] = $current_class; |
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 | |
// Don't copy opening php tag | |
// Move featured image above post title in Genesis 2.0+ (HTML5) | |
remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 ); | |
add_action( 'genesis_entry_header', 'genesis_do_post_image', 8 ); |
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
/* Structural | |
--------------------------------------------- */ | |
#wrap .site-container | |
#inner .site-inner | |
#content-sidebar-wrap .content-sidebar-wrap | |
#content .content | |
/* Header | |
--------------------------------------------- */ | |
#header .site-header |
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 | |
// Don't copy the opening php tag above | |
add_filter( 'genesis_author_box', 'wsm_author_box_pattern' ); | |
function wsm_author_box_pattern( $pattern ) { | |
$gravatar = get_avatar(get_the_author_id() , 80); | |
$author = get_the_author_meta( 'display_name' ); | |
$description = get_the_author_meta( 'description' ); | |