Make is_sportspress dependant on post types

This commit is contained in:
Brian Miyaji
2014-05-30 18:27:04 +10:00
parent ab95b0facc
commit 2f97cfb7d3
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ class SP_Template_Loader {
add_filter( 'the_content', array( $this, 'staff_content' ) );
}
public function add_content( $content, $template, $append = false) {
public function add_content( $content, $template, $append = false ) {
ob_start();
call_user_func( 'sp_get_template_part', 'content', 'single-' . $template );
if ( $append )