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 | |
/** | |
* This file limits the content to a specified number of characters. | |
* It is from the Genesis framework | |
* | |
* @package Foundation | |
* @version Since 3.2.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 | |
/** | |
* This file limits the content to a specified number of characters. | |
* It is from the Genesis framework | |
* | |
* @package Foundation | |
* @version Since 3.2.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 | |
/** | |
* Plugin Name: Metro Theme Widget Titles | |
* Plugin URI: http://blackhillswebworks.com | |
* Description: Fixes a theme/plugin compatibility issue by removing the StudioPress Metro theme widget title filter and adding another filter that is compatible with plugins. | |
* Version: 0.1 | |
* Author: John Sundberg | |
* Author URI: http://blackhillswebworks.com | |
* License: GPLv2 or later |
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Register Genesis box widget area | |
genesis_register_sidebar( array( | |
'id' => 'after-post', | |
'name' => __( 'Genesis Box', 'themename' ), | |
'description' => __( 'This is a widget area that can be placed after the post', 'themename' ), | |
) ); |
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
// A Fork of: http://garethcooper.com/2014/01/zurb-foundation-5-and-wordpress-menus/ | |
/** | |
* | |
* Do Primary Top-Bar Navigation | |
* | |
**/ | |
add_action('genesis_header', 'custom_do_top_bar_navigation', 11); | |
function custom_do_top_bar_navigation() { ?> |
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
/** | |
* | |
* Off-Canvas Navigation required Open & Close Wraps | |
* | |
**/ | |
// OPEN Off Canvas Wraps | |
add_action('genesis_before_header', 'custom_do_open_off_canvas_wraps', 9); | |
function custom_do_open_off_canvas_wraps() { ?> |
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 | |
//* Do NOT include the opening php tag | |
/** Add Genesis Box on Single Posts support for HTML5 by Charlotte Anne**/ | |
add_action('genesis_before_comments', 'child_genesis_box'); | |
function child_genesis_box() { | |
if ( is_single() ) | |
require(CHILD_DIR.'/genesis-box.php'); | |
} |
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 | |
//Layout.php | |
add_action( 'genesis_init', 'genesis_create_initial_layouts', 0 ); | |
Feed.php | |
add_filter( 'feed_link', 'genesis_feed_links_filter', 10, 2 ); | |
add_action( 'template_redirect', 'genesis_feed_redirect' ); | |
Options.php | |
add_filter( 'get_term', 'genesis_get_term_filter', 10, 2 ); | |
//SEO.php | |
add_action( 'after_setup_theme', 'genesis_seo_compatibility_check', 5 ); |