WordPress.org

Ready to get started?Download WordPress

Forums

Seriously Simple Podcasting
[resolved] SSP Plugin With Canvas Theme (4 posts)

  1. briandunaway
    Member
    Posted 9 months ago #

    Hey,

    First off let me say. Thank you for a great plugin.

    Secondly, I am trying to accomplish something that I hope is feasible :

    I am running WordPress 3.6.1 / SSP 1.7.2 with WooThemes Canvas Theme (CANVAS 4.6.9 FRAMEWORK 4.8.1)

    I am working on setting up a Magazine type layout on one of my pages:

    http://comicscoasttocoast.com/magazine

    The Magazine Template in Canvas has a Featured Slider that requires you to define tags that it will use to pull from your posts.

    I have checked "Include podcast episodes in home page blog listing" in my SSP settings so my podcasts that I have migrated to SSP show up on my blog. But they do not show up on the Magazine Template page.

    I added keywords (tags) in SSP such as "podcast" and "webcomic" and assigned those to my SSP Episodes. I also added those tags to several of my Posts in the main WordPress site. The ones I added to the my Posts in WordPress are being picked up. But not the Podcast entries in SSP.

    Any ideas?

    Thank you,

    Brian Dunaway

    http://wordpress.org/plugins/seriously-simple-podcasting/

  2. briandunaway
    Member
    Posted 9 months ago #

    Upgraded to WooThemes Canvas CANVAS 5.4.1 FRAMEWORK 5.5.5 to be on the safe side.

    Still no change. I am guessing this will probably have to do with the post-type -> tag search only being done in Post and not Podcast

  3. briandunaway
    Member
    Posted 9 months ago #

    Just a follow up. I think I concluded this was more of a Canvas -> Magazine Template / Custom Post Type problem than SSP.

    I think the step in the right direction was to make a Canvas child theme with includes/theme-action.php and modified the $query from this:

    $saved = $wp_query; $query = new WP_Query( array( 'tag__in' => $tag_array,'posts_per_page' => $args['posts_per_page'] ) );

    to this

    $saved = $wp_query; $query = new WP_Query( array( 'tag__in' => $tag_array, 'post_type' => array('post', 'podcast'),'posts_per_page' => $args['posts_per_page'] ) )

    line 1037

    Hope this helps someone heading down the same path.

    Thank you,

    Brian Dunaway

  4. Hugh Lashbrooke
    Member
    Plugin Author

    Posted 8 months ago #

    Hi Brian,

    I'm glad you managed to find your own solution :)

    You are right in thinking that this is not a bug as such - the issue is that Canvas only supports the 'post' post type in that location and you would need to add your custom code to make it work in the way that you want. I haven't tested your code here, but it looks like it should do the trick.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.