View functions.php
This file contains 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( 'ssp_enable_rss_stylesheet', '__return_false' ); |
View functions.php
This file contains 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_filter( 'ssp_archive_slug', 'ssp_modify_podcast_archive_slug' ); | |
function ssp_modify_podcast_archive_slug ( $slug ) { | |
return 'new-slug'; | |
} |
View functions.php
This file contains 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_filter( 'ssp_feed_slug', 'ssp_modify_podcast_feed_slug' ); | |
function ssp_modify_podcast_feed_slug ( $slug ) { | |
return 'new-slug'; | |
} |
View functions.php
This file contains 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_filter( 'ssp_feed_number_of_posts', 'ssp_modify_number_of_posts_in_feed' ); | |
function ssp_modify_number_of_posts_in_feed ( $n ) { | |
return 25; // Where 25 is the number of episodes that you would like to include in your RSS feed | |
} |
View functions.php
This file contains 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_filter( 'ssp_use_post_tags', '__return_false' ); |
View functions.php
This file contains 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_action( 'init', 'ssp_add_categories_to_podcast', 15 ); | |
function ssp_add_categories_to_podcast () { | |
register_taxonomy_for_object_type( 'category', 'podcast' ); | |
} |
View function.php
This file contains 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
global $ss_podcasting; | |
$audio_player = $ss_podcasting->episode_meta( $episode_id ); |
View cache-exclusion
This file contains 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
/podcast-download/.+ | |
/podcast-player/.+ |
View functions.php
This file contains 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_action( 'pre_get_posts', 'ssp_add_podcast_to_category_archives' ); | |
function ssp_add_podcast_to_category_archives( $query ){ | |
if( is_admin() ) { | |
return; | |
} | |
if( $query->is_tax('category') || $query->is_category()) { | |
$query->set('post_type', array( 'post', 'podcast' ) ); | |
} |
View .htaccess
This file contains 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
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] |
NewerOlder