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_action( 'genesis_entry_content', 'genesis_do_post_content' ); | |
| /** add meta */ | |
| add_action( 'genesis_entry_content', 'custom_gallery_meta' ); | |
| function custom_gallery_meta() { | |
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 | |
| /** | |
| * Post Info | |
| * Displayed below the post title on the single and archive view | |
| * @author Bill Erickson | |
| * @link http://wordpress.org/support/topic/plugin-interstrategy-events-manager-documentation?replies=4 | |
| * | |
| * @param string, original post info | |
| * @return string, modified post info |
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 | |
| /* Add support for custom background | |
| ------------------------------------------------------------ */ | |
| add_theme_support( 'custom-background', array( 'wp-head-callback' => '__return_false' ) ); |
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 | |
| /* Force full width layout | |
| ------------------------------------------------------------ */ | |
| add_filter('genesis_pre_get_option_site_layout', '__genesis_return_full_width_content'); |
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 | |
| /* Unregister site layouts | |
| ------------------------------------------------------------ */ | |
| genesis_unregister_layout( 'content-sidebar' ); | |
| genesis_unregister_layout( 'sidebar-content' ); | |
| genesis_unregister_layout( 'content-sidebar-sidebar' ); | |
| genesis_unregister_layout( 'sidebar-sidebar-content' ); | |
| genesis_unregister_layout( 'sidebar-content-sidebar' ); |
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 the edit link | |
| ------------------------------------------------------------ */ | |
| add_filter ( 'genesis_edit_post_link' , '__return_false' ); |
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 | |
| /* Site footer | |
| ------------------------------------------------------------ */ | |
| add_filter('genesis_footer_creds_text', 'jm_footer_creds_text'); | |
| function jm_footer_creds_text($creds) { | |
| $creds = '© 2013 — All Rights Reserved.'; | |
| return $creds; | |
| } |
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 | |
| /* Register widget areas | |
| ------------------------------------------------------------ */ | |
| genesis_register_sidebar( array( | |
| 'id' => 'home-welcome', | |
| 'name' => __( 'Home Welcome', 'jmd' ), | |
| 'description' => __( 'This is the home welcome section.', 'jmd' ), | |
| ) ); |
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 content and add metaboxes | |
| ------------------------------------------------------------ */ | |
| remove_action( 'genesis_entry_content', 'genesis_do_post_content' ); | |
| add_action( 'genesis_entry_content', 'custom_gallery_meta' ); | |
| function custom_gallery_meta() { | |
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 | |
| /* Add column classes | |
| ------------------------------------------------------------ */ | |
| add_filter( 'post_class', 'jm_archive_post_class' ); | |
| function jm_archive_post_class( $classes ) { | |
| $classes[] = 'one-half'; | |
| global $wp_query; | |
| if( 0 == $wp_query->current_post || 0 == $wp_query->current_post % 2 ) |