Forum Replies Created
-
AuthorPosts
-
ashleighkMember
Hello, I was referring to the navigation buttons. The Home button, for example.
ashleighkMembershoudn't this work?
//* Use blog categories with podcast episodes
add_action( 'init', 'ssp_add_categories_to_podcast' );
function ssp_add_categories_to_podcast () {
register_taxonomy_for_object_type( 'category', 'podcast' );
}
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->set('post_type', array( 'post', 'podcast' ) );
}}
ashleighkMemberI tried the code, replacing portfolio with "podcast" but it still won't work. I'll try to look around more. Thanks!
ashleighkMemberThanks I will try those suggestions!
ashleighkMemberSorry. I turned off the tags. They are back on. The same thing happens with the categories (podcast series).
ashleighkMemberSorry for not being clear! When you click on tags, usually you get a page of other posts that use the same tag. That does not happen at the site I mention above. when you click on a tag on a podcast, you don't get a group of episodes that relate to that tag. I hope that is clearer, and I appreciate your help.
ashleighkMemberI moved the widget to the home-bottom widget area and I do not have the problem. This is so odd, I don't know what could have happened.
-
AuthorPosts