Author Topic: Post Type Podcasting: Getting wrong Feed output for FeedURL  (Read 1034 times)

zaehlpixel

  • Newbie
  • Posts: 3
Post Type Podcasting: Getting wrong Feed output for FeedURL
« on: August 20, 2014, 06:51:55 am »
In my theme, there is a post type, which is created this way:

Code: [Select]
function risen_multimedia_post_type() {

// register it
register_post_type(
'risen_multimedia',
array(
'labels' => array(
'name' => risen_option( 'multimedia_word_plural' ),
'singular_name' => risen_option( 'multimedia_word_singular' ),
'add_new' => _x( 'Add New', 'multimedia', 'risen' ),
'add_new_item' => sprintf( __( 'Add %s', 'risen' ), risen_option( 'multimedia_word_singular' ) ),
'edit_item' => sprintf( __( 'Edit %s', 'risen' ), risen_option( 'multimedia_word_singular' ) ),
'new_item' => sprintf( __( 'New %s', 'risen' ), risen_option( 'multimedia_word_singular' ) ),
'all_items' => _x( 'All Items', 'multimedia', 'risen' ),
'view_item' => sprintf( __( 'View %s', 'risen' ), risen_option( 'multimedia_word_singular' ) ),
'search_items' => sprintf( __( 'Search %s', 'risen' ), risen_option( 'multimedia_word_plural' ) ),
'not_found' => __( 'No items found', 'risen' ),
'not_found_in_trash' => __( 'No items found in Trash', 'risen' )
),
'public' => true,
'has_archive' => true,
'show_in_nav_menus' => true,
'capability_type' => 'post',
'rewrite' => array(
'slug' => 'multimedia-archive', // best to use slug different than page using Multimedia template or there WILL be conflicts; used for year/month/day archives and single post view
'with_front' => false
),
'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', 'comments', 'author', 'revisions' ), // 'editor' required for media upload button (see Meta Boxes note below about hiding)
'taxonomies' => array( 'risen_multimedia_category', 'risen_multimedia_tag', 'risen_multimedia_speaker' )
)
);

}

I enabled Post Type podcasting for it via the regular way and got this Feed URL:

http://radiohbr.de/multimedia-archive/feed/radio-beitraege/

However, this link shows absolutely different posts than expected. In fact, this Feed shows the same content like this one: http://radiohbr.de/feed
The correct feed should display the content from this post type: http://radiohbr.de/multimedia-archive/

Can someone please help me to find the error?

Thanks!

zaehlpixel

  • Newbie
  • Posts: 3
Re: Post Type Podcasting: Getting wrong Feed output for FeedURL
« Reply #1 on: August 29, 2014, 10:17:49 am »
Anyone please???

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: Post Type Podcasting: Getting wrong Feed output for FeedURL
« Reply #3 on: August 30, 2014, 06:32:01 am »
Something outside of PowerPress is causing it, even the post type feed had the wrong content, PowerPress does not create this feed. http://radiohbr.de/multimedia-archive/feed/

zaehlpixel

  • Newbie
  • Posts: 3
Re: Post Type Podcasting: Getting wrong Feed output for FeedURL
« Reply #4 on: September 02, 2014, 10:35:32 am »
I found the issue: We had a plugin called "Custom Content Type Manager : Advanced Custom Post Types" It destroyed the correct output of feeds. When we changed the plugin (Now using "Types"), the cpt's wer corretcly displayed and also the feeds were nice again.

Thanks for the hint.

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: Post Type Podcasting: Getting wrong Feed output for FeedURL
« Reply #5 on: September 02, 2014, 11:05:33 am »
Good to know! I updated our post type podcasting page with this information. We use the plugin Custom Post Type UI (https://wordpress.org/plugins/custom-post-type-ui/) when testing, we typically create the custom post type in the theme's functions.php when developing custom themes for clients.