Pulling custom post types from sub-sites to main site with images

We are using CustomPress network-wide to configure how posts are created on our sub-sites... and it's working great.
I want to be able to display all the posts made on the subsites in a single area (the main blog). I was looking into using http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/, which with some tweaking I managed to get it to do (pull the custom post types to the main site), but it's just got so many bugs (like it does not recognise featured images on custom post-types) that I was hoping someone here could suggest something better. Here's what I'm looking for.
Must work with CustomPress
Must pull all new posts from other sites to the main site for displaying in the index.php loop (with title, excerpt, taxonomys, and original author either as originating poster or as "posted by")
Does anyone know of any plugin that can do this, or any plugins that together can pull this off?
I had to add this to my themes functions.php in order for the custom post types to be grabbed by the wordpress-mu-sitewide-tags plugin, if someone sees an easy fix to get featured images to show up based on this addition:

function my_swt_press_release_type_filter( $press_release ) {
        $press_release['press_release'] = true;
        return $press_release;
add_filter( 'sitewide_tags_allowed_post_types', 'my_swt_press_release_type_filter' );
  • 3SixtyEvolve
    • New Recruit

    Greetings @CanadianCreative

    Hope you're well.

    I don't know if my approach will be helpful, but I think this might be able to achieve the same results you're after:

    Recent Posts Widget
    Combined with:
    Recent Comments Widget
    Add to that:
    Widgets on Pages

    And you would be able to display posts on the main blog within a page, with minimal effort.

    Hope you get sorted. In my humble opinion this would be much easier than making changes to code. :slight_smile:


  • CanadianCreative
    • WPMU DEV Initiate

    Not quite what I'm looking for. I need something that will actually pull all the network blog posts, and put them onto the main blog, using the same taxonomies as are assigned via the CustomPress plugin. The method you are describing completely ignores the custom post-types, only looking for actual "posts" (since I tested by dropping the widget into the sidebar, and only ending up with an empty box). Plus, the "Widgets on Pages" plugin depends on being able to add shortcode to the page... since I'm dealing with the main index page, it's not a simple shortcode hack.
    I did manage to find a workaround, though it's not quite what I was after. Using the existing 2 plugins (CustomPress and wordpress-mu-sitewide-tags) and creating a custom post type using all the settings I wanted, but assigning it the post_type of "post".
    It's an ugly hack, but it thus far does most of what I want... and theoretically should survive future updates.

    Now just to get the URL to link to the originating blog and not the main blog. But that's cosmetic.

    Thank you for the attempt though, @GinaB. I was not aware of the Recent Posts Widget, and can put it to use elsewhere. :slight_smile:

  • 3SixtyEvolve
    • New Recruit


    Hope you're well.

    Thank you for your latest post and for the feedback. I'm sorry I wasn't more helpful in my suggestions, but in an effort to see if there is any better solution for you other than the workaround that you came up with I have flagged the Developer for feedback.

    Hopefully he will have some suggestions.

    All the best with your site and talk soon!


  • aecnu
    • WP Unicorn

    Greetings CanadianCreative,

    Sorry for the extended delay in getting the lead developer in here to offer his advice/advise on what he thinks may accomplish this task, he is currently assigned a high priority mission in which has made him unavailable for comment on this ticket.

    However, after review of your original post I think that something like the Network theme is perhaps a suitable match for what you are seeking.

    Please advise.

    Cheers, Joe

  • Jason
    • The Incredible Code Injector

    Just to clarify, I made two parts to the plugin. On the mu-plugin, all sites copy the post to the main site's custom post type.

    Then in the sitewide theme, in my custom-functions, I call that custom post so I can edit/moderate them, and they have a 5k limit to keep the db smaller.

    And yes, the thumbnails were a p i n a.

  • aecnu
    • WP Unicorn

    Greetings CanadianCreative,

    We have not heard back from you as to the status of this issue.

    If you are still having an issue please let us know so that we may try to get you fixed up as soon as possible by choosing to check mark this ticket as unresolved below and posting any new errors or symptoms you are noticing.

    This action will also bring your ticket up front back in plain view again within the ticket system.

    Thank you for being a WPMU Dev member!

    Cheers, Joe

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.