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_action( 'genesis_before_loop', 'prefix_full_content_specific_categories' ); | |
| /** | |
| * Filter the output of specific categories so that they display the full | |
| * content regarldess of what's selected in the Genesis theme options panel. | |
| * | |
| * @author FAT Media <http://youneedfat.com> | |
| * @copyright Copyright (c) 2013, FAT Media, LLC | |
| * @license GPL-2.0+ | |
| * @uses is_category <http://codex.wordpress.org/Function_Reference/is_category> |
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 | |
| /** | |
| * Template Name: FitFluential Finds Archives | |
| * Description: This is a page template to show the FitFluential Finds CPT | |
| * | |
| * @package FitFluential | |
| * @subpackage Genesis | |
| * @copyright Copyright (c) 2013, WP SIte Care, LLC | |
| * @license GPL-2.0+ | |
| * @since 1.0.0 |
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_action( 'pre_get_posts', 'prefix_include_cpts_in_search' ); | |
| /** | |
| * Include custom post types in search results. | |
| * | |
| * Custom post types are not included in the default WordPress search | |
| * functionality. This code will add them to all front-end searches. | |
| * | |
| * @author FAT Media, LLC | |
| * @link http://youneedfat.com |
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_action( 'genesis_before_content', 'wpbacon_podcast_date_info' ); | |
| /** | |
| * Displays information about the podcast's air date including the date, time, | |
| * and whether or not it's already aired. | |
| * | |
| * @since 2.0.0 | |
| */ | |
| function wpbacon_podcast_date_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 | |
| /** | |
| * Functions | |
| * | |
| * @package BE_Genesis_Child | |
| * @since 1.0.0 | |
| * @link https://github.com/billerickson/BE-Genesis-Child | |
| * @author Bill Erickson <[email protected]> | |
| * @copyright Copyright (c) 2011, Bill Erickson | |
| * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
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_filter( 'jetpack_get_available_modules', 'prefix_hide_jetpack_modules' ); | |
| /** | |
| * Disable all non-whitelisted jetpack modules. | |
| * | |
| * As it's written, this will allow all of the currently available Jetpack | |
| * modules to work display and be activated normally. | |
| * | |
| * If there's a module you'd like to disable, simply comment it out or remove it | |
| * from the whitelist and it will no longer be available for activation. |
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_action ( 'genesis_entry_header', 'sk_show_page_excerpt' ); | |
| function sk_show_page_excerpt() { | |
| $post = get_post( get_the_ID() ); | |
| $the_excerpt = $post->post_excerpt; | |
| if ( ! is_page() || empty( $the_excerpt ) ) { | |
| return; | |
| } | |
| echo $the_excerpt; |