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
//* Child theme (do not remove) | |
define( 'CHILD_THEME_NAME', __( 'Agency Pro Theme', 'agency' ) ); | |
define( 'CHILD_THEME_URL', 'http://my.studiopress.com/themes/agency/' ); | |
define( 'CHILD_THEME_VERSION', '3.0.20131011' ); |
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
/** | |
* Filter Simple Page Ordering to exclude Pages but include custom post types that are hierarchical but don't have page attributes | |
* | |
* @link http://blackhillswebworks.com/?p=5017 | |
*/ | |
add_filter( 'simple_page_ordering_is_sortable', 'bhww_turn_off_simple_page_ordering_for_pages' ); | |
function bhww_turn_off_simple_page_ordering_for_pages( $sortable ) { | |
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
/* HTML5 version */ | |
.home .site-inner .soliloquy-container { | |
margin: 0 0 20px; | |
} | |
/* non-HTML5 version */ | |
.home #inner .soliloquy-container { | |
margin: 0 0 20px; | |
} |
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
/** | |
* Add a slider to the home page, if there is one to add | |
* | |
* @link http://blackhillswebworks.com/?p=4986 | |
*/ | |
add_action( 'genesis_before_content', 'metro_home_add_soliloquy_slider' ); | |
function metro_home_add_soliloquy_slider() { | |
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
.gist-container { | |
background: url(images/gist-background-image.jpg) no-repeat center top; | |
min-height: 65px; | |
} |
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
<div class="gist-container"> | |
https://gist.github.com/6146811 | |
</div> |
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
/** | |
* Embed Gists with a URL | |
* | |
* Usage: | |
* Paste a gist link into a blog post or page and it will be embedded eg: | |
* https://gist.github.com/2926827 | |
* | |
* If a gist has multiple files you can select one using a url in the following format: | |
* https://gist.github.com/2926827?file=embed-gist.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 | |
/** | |
* 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 |