Support » Plugin: PowerPress Podcasting plugin by Blubrry » Powerpress Media Box not showing on posts for taxonomy feed

  • Resolved resoundcreative

    (@resoundcreative)


    I have an existing custom post type with an existing taxonomy that I’ve created a new feed for using Powerpress. The feed exists and pulls in the posts from the correct taxonomy term BUT the media box doesn’t show up on any of them and so I can get the audio files added to the posts in the feed (and thus the feed is invalid on CastFeed Validator https://castfeedvalidator.com/?url=http%3A%2F%2Fwww.gbcaz.org%2Fresources-type%2Fequipping-hour%2Ffeed%2F

    And yes, I’ve confirmed that I do not see any checkbox in the screen options in the post to turn on/off the media box. Screenshot: https://www.dropbox.com/s/puodv9dq88xsevg/Screenshot%202020-03-10%2017.44.13.png?dl=0

    Here’s the register code for the taxonomy and custom post type. I’ve reviewed against the official setup guide for Powerpress for both custom post type feeds and taxonomy feeds to ensure I have all the correct settings. I also have two other custom post types on this same website with custom post type feeds set up that work great.

    function create_resource_taxonomies() {
    		// Add new taxonomy, make it hierarchical (like categories)
    		$labels = array(
    			'name'              => _x( 'Resources Types', 'taxonomy general name' ),
    			'singular_name'     => _x( 'Resources Type', 'taxonomy singular name' ),
    			'search_items'      => __( 'Search Resources Types' ),
    			'all_items'         => __( 'All Resources Types' ),
    			'parent_item'       => __( 'Parent Resources Type' ),
    			'parent_item_colon' => __( 'Parent Resources Type:' ),
    			'edit_item'         => __( 'Edit Resources Type' ),
    			'update_item'       => __( 'Update Resources Type' ),
    			'add_new_item'      => __( 'Add New Resources Type' ),
    			'new_item_name'     => __( 'New Resources Type' ),
    			'menu_name'         => __( 'Resources Types' ),
    		);
    
    		$args = array(
    			'hierarchical'      => true,
    			'labels'            => $labels,
    			'show_ui'           => true,
    			'show_admin_column' => true,
    			'query_var'         => true,
    			'rewrite'           => true,
    			'capabilities'      => array(
    					'manage_terms',
    					'edit_terms',
    					'delete_terms',
    					'assign_terms',
    				),
    		);
    
    		register_taxonomy( 'resources-type', array( 'resources' ), $args );
    		//register_taxonomy( 'resources', array( 'resources' ), $args );
    
    	}
    
    	add_action( 'init', 'gbc_add_cpt_resources', 0 );
    
    	/**
    	 * Register the resources post type.
    	 *
    	 * @link http://codex.wordpress.org/Function_Reference/register_post_type
    	 */
    	function gbc_add_cpt_resources() {
    
    		$labels = array(
    			'name'                  => _x( 'Resources', 'Post Type General Name', 'gbc' ),
    			'singular_name'         => _x( 'Resource', 'Post Type Singular Name', 'gbc' ),
    		);
    
    		$args = array(
    			'label'                 => __( 'Resources', 'GBC' ),
    			'labels'                => $labels,
    			'supports'              => array( 'title', 'editor', 'excerpt', 'thumbnail','author' ),
    			'hierarchical'          => false,
    			'public'                => true,
    			'show_ui'               => true,
    			'show_in_menu'          => true,
    			'menu_position'         => 5,
    			'menu_icon'             => 'dashicons-star-filled',
    			'show_in_admin_bar'     => true,
    			'show_in_nav_menus'     => true,
    			'can_export'            => true,
    			'has_archive'           => 'all-resources',		
    			'exclude_from_search'   => false,
    			'publicly_queryable'    => true,
    			'capability_type'       => 'post',
    			'taxonomies' 			=> array('post_tag'),
    			'rewrite'				=> true,	
    		);
    
    		register_post_type( 'resources', $args );
    
    	}

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Angelo Mandato

    (@amandato)

    Hello @resoundcreative,

    Are you using both post type podcasting and taxonomy podcasting? So you are aware, they do not mix.

    The default podcast that uses feed slug “podcast” is used by Category podcasting and Taxonomy podcasting. Taxonomy podcasting out of the box only works with the blog “Posts”. with only podcast created using the slug “podcast”. e.g. Podcast Channels other than “podcast” do not work with Category or Taxonomy podcasting.

    Category podcasting and Taxonomy podcasting are one in the same, except category podcasting is specific to WordPress “Posts” categories, where-as taxonomy podcasting works with any other taxonomy on your site other than “Categories”.

    Confusing I know, but just think of it this way: Category podcasting is a simple version of Taxonomy podcasting, and Podcast Channels is a simple version of Post Type podcasting.

    Your post type podcasting will use the default podcast channel with slug name “podcast”. If your taxonomy podcast is using a post type “foo” you will need to go into post type podcasting in powerpress and add a post type and make sure the feed slug name for this post type is “podcast”. This is the required slug name for Category and Post type podcasting to work with.

    You can imagine the complex matrix we would have to try to support if podcast channels / taxonomy podcasting worked with Category/Taxonomy podcasting.

    Hope this helps,
    Angelo

    Thread Starter resoundcreative

    (@resoundcreative)

    Okay, thanks Angelo.

    You may want to take a look at your documentation about the Taxonomy Podcasting as there’s one line in there that could give the impression that someone can use a custom taxonomy of a custom post type to build a podcast feed:

    Also, if a custom post type is used the following attributes will also need to be applied during the register_post_type function call. Please see the Post Type Podcasting page for requirement details.

    https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/taxonomy-podcasting/

    Also, it would be awesome if you ever decide to develop out this specific functionality!

    Plugin Author Angelo Mandato

    (@amandato)

    Hello @resoundcreative,

    You can use Post types with taxonomies, but the caveat is that the feed slug for the post type must be “podcast”. I will update the documentation.

    Also, it would be awesome if you ever decide to develop out this specific functionality!

    What functionality are you seeking exactly?

    Thanks,
    Angelo

    Thread Starter resoundcreative

    (@resoundcreative)

    Thanks Angelo.

    The specific functionality I’m looking for is the ability to create a podcast feed based on a custom taxonomy for a custom post type – and specifically for a custom post type NOT with the slug ‘podcast’. I realize this is a pretty unique use case and may not be worth the effort to build out but it would be an awesome feature to have (especially for more sophisticated podcasters with complex forms of audio resources managed through their websites).

    I’m marking the original issue as ‘resolved’ in that with the current functionality of the Powerpress plugin it’s not possible to do what I was trying to do.

    Thanks for your help!

    Plugin Author Angelo Mandato

    (@amandato)

    Hello @resoundcreative,

    I re-evaluated this and yes it is a too complicated to allow a post type to have a taxonomy podcast feed with custom post type podcast slug. The biggest challenge is if you had 3 post type podcast feed slugs and 3 taxonomies, you would have 9 different feed combinations.

    If you where only going to have one custom post type slug, what we could do is let you set that custom post type slug for taxonomy podcasting to solely use. I am not sure though if that would meet your needs, but I assume if it would so would the “podcast” feed slug option. Thoughts?

    Thanks,
    Angelo

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Powerpress Media Box not showing on posts for taxonomy feed’ is closed to new replies.