Author Topic: custom post type feed - no episodes in feed  (Read 5072 times)

WhoisMarkTaylor

  • Full Member
  • **
  • Posts: 20
custom post type feed - no episodes in feed
« on: June 18, 2012, 07:45:58 am »
despite having set up a custom channel and assigning it a custom post type of 'show', even though i have uploaded an episode into the correct channel and the plugin showing 1 episode in that channel, when i subscribe to the feed i have no episodes in feed warning.

i also have the warning in my powerpress setting in red, telling me the feed will not be valid until i have created an episode. Maybe the warning is their all the time even after i have created an episode.

I am using headwaytheme.

I am willing to give you access if that helps and you can figure out what the issue is.

i have turned on the feed discovery for the header and the feed displays ( in chrome ) with the title 'chips and chatter'

here is the url http://fcffmag.co.uk

Mark

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: custom post type feed - no episodes in feed
« Reply #1 on: June 18, 2012, 12:35:48 pm »
First, the warning is there for the default "podcast" channel. I've added a note that we should allow this note/warning to be disabled for situations like this.

It appears something is conflicting with the feed. Try disabling plugins one by one until you can determine which plugin is causing the conflict. If it is not a plugin, then try switching to the stock theme that is packaged with WordPress (twentyeleven/twentyten).

If you would like us to work directly on your blog, we have consulting services available starting at $100/hr. If you are interested, please use our contact form www.blubrry.com/contact.php.

If you don't mind, please reply with the URL to your custom post feed. If this doesn't exist, this may indicate something as simple as the custom post type not setup as type "post". Confusing I know, but if the custom post type is set to something custom or something like "pages", then that would explain the empty feed.
« Last Edit: June 18, 2012, 12:37:37 pm by angelo »

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: custom post type feed - no episodes in feed
« Reply #2 on: June 18, 2012, 01:28:45 pm »
Great web site design by the way!

WhoisMarkTaylor

  • Full Member
  • **
  • Posts: 20
Re: custom post type feed - no episodes in feed
« Reply #3 on: June 19, 2012, 04:47:04 am »
Thank you Angelo,

here is the custom feed url

http://fcffmag.co.uk/feed/chips_and_chatter/ that contains no entries!

however here is the feed url using the custom post type http://fcffmag.co.uk/feed/?post_type=show which displays the correct episode etc.

how do i get this to work using your plugin as the header subscribe shows chips and chatter however its empty when followed.

Mark

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: custom post type feed - no episodes in feed
« Reply #4 on: June 19, 2012, 09:43:44 am »
The feed (http://fcffmag.co.uk/feed/?post_type=show) does not show any podcast episode.

Please go back into the post in question and edit it, then scroll down to the box that says "Podcast Episode (chips_and_chatter)", make sure you entered a media URL to your episode's media. Then click update/save. (DO NOT ENTER A URL INTO THE "Podcast Episode (default)" BOX, as that is setup for your regular posts.

WhoisMarkTaylor

  • Full Member
  • **
  • Posts: 20
Re: custom post type feed - no episodes in feed
« Reply #5 on: June 19, 2012, 10:22:46 am »
when i follow that link i get an entry that says 'grease management' and the show is there, so im not sure why your getting nothing?

i have done what you said and even created a new 'test show' which still does not display

i think i mentioned that in the channel i have created both episodes are appearing ( as in entries = 2)

Im confused now

Mark

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: custom post type feed - no episodes in feed
« Reply #6 on: June 19, 2012, 10:25:26 am »
Okay I see. Something is modifying your Feed. Did you try the following:

Quote
It appears something is conflicting with the feed. Try disabling plugins one by one until you can determine which plugin is causing the conflict. If it is not a plugin, then try switching to the stock theme that is packaged with WordPress (twentyeleven/twentyten).

If you want us to diagnose the problem on your blog, you will have to hire us as consultants.

WhoisMarkTaylor

  • Full Member
  • **
  • Posts: 20
Re: custom post type feed - no episodes in feed
« Reply #7 on: June 19, 2012, 10:54:43 am »
hi Angelo

i have deactivated all plugins except powerpress.... no change.

I also activated the 2011 theme and still get no entries in feed.
quite willing to pay for one of your developers to sort out the issue but concerned that i cannot get the entries into the default 2011 theme! have contacted my theme developer who quite rightly explained that if the feed shows no entries using the default 2011 theme its probably a plugin issue or conflict.

regards Mark
« Last Edit: June 19, 2012, 11:49:21 am by WhoisMarkTaylor »

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: custom post type feed - no episodes in feed
« Reply #8 on: June 19, 2012, 11:41:30 am »
Okay lets triple check what is the type of post type "show"? Is it a page, post or custom?

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: custom post type feed - no episodes in feed
« Reply #9 on: June 19, 2012, 11:45:15 am »
Depending on your custom post types plugin, this may be referred to as the post types "compatibility". It defaults to "post" but if you set something different or create sometime custom that would explain this whole problem.

WhoisMarkTaylor

  • Full Member
  • **
  • Posts: 20
Re: custom post type feed - no episodes in feed
« Reply #10 on: June 19, 2012, 11:51:50 am »
hi Angelo,

i used the wordpress CPT generator at http://www.themergency.com and added the code to my functions.php.

here is the code

Code: [Select]
add_action( 'init', 'register_cpt_show' );

function register_cpt_show() {

    $labels = array(
        'name' => _x( 'Shows', 'show' ),
        'singular_name' => _x( 'Show', 'show' ),
        'add_new' => _x( 'Add New', 'show' ),
        'add_new_item' => _x( 'Add New Show', 'show' ),
        'edit_item' => _x( 'Edit Show', 'show' ),
        'new_item' => _x( 'New Show', 'show' ),
        'view_item' => _x( 'View Show', 'show' ),
        'search_items' => _x( 'Search Shows', 'show' ),
        'not_found' => _x( 'No shows found', 'show' ),
        'not_found_in_trash' => _x( 'No shows found in Trash', 'show' ),
        'parent_item_colon' => _x( 'Parent Show:', 'show' ),
        'menu_name' => _x( 'Shows', 'show' ),
    );

    $args = array(
        'labels' => $labels,
        'hierarchical' => true,
       
        'supports' => array( 'title', 'editor', 'excerpt', 'author', 'thumbnail', 'custom-fields', 'headway-seo', 'comments', 'page-attributes', 'headway-admin-meta-box-display' ),
        'taxonomies' => array( 'category', 'post_tag' ),
        'public' => true,
        'show_ui' => true,
        'show_in_menu' => true,
        'menu_position' => 5,
       
        'show_in_nav_menus' => true,
        'publicly_queryable' => true,
        'exclude_from_search' => false,
        'has_archive' => true,
        'query_var' => true,
        'can_export' => true,
        'rewrite' => true,
        'capability_type' => 'post'
    );

    register_post_type( 'show', $args );
}

add_action( 'init', 'register_cpt_listing' );

function register_cpt_listing() {

    $labels = array(
        'name' => _x( 'Listings', 'listing' ),
        'singular_name' => _x( 'Listing', 'listing' ),
        'add_new' => _x( 'Add New', 'listing' ),
        'add_new_item' => _x( 'Add New Listing', 'listing' ),
        'edit_item' => _x( 'Edit Listing', 'listing' ),
        'new_item' => _x( 'New Listing', 'listing' ),
        'view_item' => _x( 'View Listing', 'listing' ),
        'search_items' => _x( 'Search Listings', 'listing' ),
        'not_found' => _x( 'No listings found', 'listing' ),
        'not_found_in_trash' => _x( 'No listings found in Trash', 'listing' ),
        'parent_item_colon' => _x( 'Parent Listing:', 'listing' ),
        'menu_name' => _x( 'Listings', 'listing' ),
    );

    $args = array(
        'labels' => $labels,
        'hierarchical' => true,
       
        'supports' => array( 'title', 'editor', 'excerpt', 'author', 'thumbnail', 'trackbacks', 'custom-fields', 'headway-seo', 'comments', 'revisions', 'page-attributes' ),
        'taxonomies' => array( 'category', 'post_tag' ),
        'public' => true,
        'show_ui' => true,
        'show_in_menu' => true,
        'menu_position' => 5,
       
        'show_in_nav_menus' => true,
        'publicly_queryable' => true,
        'exclude_from_search' => false,
        'has_archive' => true,
        'query_var' => true,
        'can_export' => true,
        'rewrite' => true,
        'capability_type' => 'post'
    );

    register_post_type( 'listing', $args );
}
add_action( 'init', 'register_cpt_event' );

function register_cpt_event() {

    $labels = array(
        'name' => _x( 'Events', 'event' ),
        'singular_name' => _x( 'Event', 'event' ),
        'add_new' => _x( 'Add New', 'event' ),
        'add_new_item' => _x( 'Add New Event', 'event' ),
        'edit_item' => _x( 'Edit Event', 'event' ),
        'new_item' => _x( 'New Event', 'event' ),
        'view_item' => _x( 'View Event', 'event' ),
        'search_items' => _x( 'Search Events', 'event' ),
        'not_found' => _x( 'No events found', 'event' ),
        'not_found_in_trash' => _x( 'No events found in Trash', 'event' ),
        'parent_item_colon' => _x( 'Parent Event:', 'event' ),
        'menu_name' => _x( 'Events', 'event' ),
    );

    $args = array(
        'labels' => $labels,
        'hierarchical' => true,
       
        'supports' => array( 'title', 'editor', 'excerpt', 'headway-seo', 'author', 'thumbnail', 'trackbacks', 'custom-fields', 'comments', 'revisions', 'page-attributes' ),
        'taxonomies' => array( 'category', 'post_tag' ),
        'public' => true,
        'show_ui' => true,
        'show_in_menu' => true,
        'menu_position' => 5,
       
        'show_in_nav_menus' => true,
        'publicly_queryable' => true,
        'exclude_from_search' => false,
        'has_archive' => true,
        'query_var' => true,
        'can_export' => true,
        'rewrite' => true,
        'capability_type' => 'post'
    );

    register_post_type( 'event', $args );
}
add_action( 'init', 'register_cpt_issue' );

function register_cpt_issue() {

    $labels = array(
        'name' => _x( 'Issues', 'issue' ),
        'singular_name' => _x( 'Issue', 'issue' ),
        'add_new' => _x( 'Add New', 'issue' ),
        'add_new_item' => _x( 'Add New Issue', 'issue' ),
        'edit_item' => _x( 'Edit Issue', 'issue' ),
        'new_item' => _x( 'New Issue', 'issue' ),
        'view_item' => _x( 'View Issue', 'issue' ),
        'search_items' => _x( 'Search Issues', 'issue' ),
        'not_found' => _x( 'No issues found', 'issue' ),
        'not_found_in_trash' => _x( 'No issues found in Trash', 'issue' ),
        'parent_item_colon' => _x( 'Parent Issue:', 'issue' ),
        'menu_name' => _x( 'Issues', 'issue' ),
    );

    $args = array(
        'labels' => $labels,
        'hierarchical' => true,
       
        'supports' => array( 'title', 'editor', 'excerpt', 'headway-seo', 'author', 'thumbnail', 'custom-fields', 'comments', 'revisions', 'page-attributes' ),
        'taxonomies' => array( 'category', 'post_tag' ),
        'public' => true,
        'show_ui' => true,
        'show_in_menu' => true,
        'menu_position' => 5,
       
        'show_in_nav_menus' => true,
        'publicly_queryable' => true,
        'exclude_from_search' => false,
        'has_archive' => true,
        'query_var' => true,
        'can_export' => true,
        'rewrite' => true,
        'capability_type' => 'post'
    );

    register_post_type( 'issue', $args );
}

Mark

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: custom post type feed - no episodes in feed
« Reply #11 on: June 19, 2012, 12:07:15 pm »
Okay this explains a lot. Let me research what apps and capabilities plugin we used for testing. We can recommend that to you. The code you are using is way outside of the scope of what we can provide support for free on the forum here.

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: custom post type feed - no episodes in feed
« Reply #12 on: June 19, 2012, 12:59:42 pm »
In the short term, I figured out how to get the feed to load: http://fcffmag.co.uk/feed/chips_and_chatter/?post_type=show

I think something may have changed in WP 3.4, I'm investigating.

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: custom post type feed - no episodes in feed
« Reply #13 on: June 19, 2012, 03:20:28 pm »
Some things have changed in WordPress 3.4 that require me to make some changes to PowerPress, these changes will fix the problem you are having. If you want to try the beta version that has these changes in place, please use the contact form and request a link to the beta www.blubrry.com/contact.php

WhoisMarkTaylor

  • Full Member
  • **
  • Posts: 20
Re: custom post type feed - no episodes in feed
« Reply #14 on: June 19, 2012, 08:24:20 pm »
Hi angelo

Thank you so much for looking into this. The .code I sent you was for more than a couple of CPT's  however the Wordpress version is 3.2.1 not 3.4

Regards

mark