Support » Networking WordPress » Building Page Template to pull posts from network sites

  • Erik

    (@southernutahautism)


    I am needing to build a custom front page that will have posts displayed from the main Multisite blog, but then also beneath that posts from the daughter sites on the network.

    I know there are widgets (like MUwidgets and Diamond Multisite Widgets) that can pull the blog posting titles from the daughter network sites, but I’m looking for something different.

    Essentially, I want to do a magazine style page template with the parent posts displayed at the top (the excerpt and featured image), and then below in a 2 column format, the most recent posts from the daughter sites with their featured image and excerpt.

    Is there a way to write loops to pull from the network daughter sites onto the main blog? I hope I’m explaining this well. I know you can write a loop to pull up the first post from a category on a main blog, but how do you interact between blogs on a multisite network?

    Basically, I want to make page template that shows the latest post excerpt/featured image from the parent blog, and then whatever sub-blogs on the multisite network I put in.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    Use this plugin to pull all the posts to the main blog:

    http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/

    And then do it the exact same way you woudl for a single blog.

    to clarify: no, there’s no special loop to go get other blog posts.

    Erik

    (@southernutahautism)

    I’ve got that plugin installed, but once there’s all the posts pulled to one page, how do I isolate just 1 post from 1 sub-blog?

    What I want to do is have my homepage on the main parent blog have a 2×2 grid halfway down the page, and each sector of this grid would be the latest post from each of the 4 “child” blogs.

    I get that the MU Sitewide Tags plugin can show all the blogs postings from the entire MultiSite install on one page, but how do I take it from that and make a custom page that just shows 1 entry from each blog? Or is that not possible?

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    You mean like this?

    http://atypicalife.net ?

    Different plugin.

    Erik

    (@southernutahautism)

    Actually yeah, that’s not half bad. What plugin is that? Do you know if it’s customizable to show excerpts/featured images instead of just the latest post titles? Can you tell me what plugin you’ve got there?

    That’s definitely close to what I’m looking for. Also, are those blog areas that show the posts in widgets, or is that a plugin on the page content?

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    That’s one we built ourselves based on one of the many wpmu recent posts plguins out there.

    yes, we will release it when I get around to it. 😉 Right now it’s a function call hardcoded in home.php.

    you can also use Sitewide tags with this plugin:
    http://wordpress.org/extend/plugins/wordpress-mu-featured-posts/

    Erik

    (@southernutahautism)

    Interesting. If you have any interest at all, I could email you what custom page I’m trying to do with a JPG comp, and see if that’s something you’d be interested it. Right now, I’m just going to have to hardcode stuff too, but I think that the page-template I am thinking.

    Basically, I am building a Multisite network of blogs for just 1 company, and they want the main page portal to feature articles from the “daughter” sites, and have that be pretty flexible and automatic. But while you can write loops for categories in the main blog, I don’t see how you can write loops to pull from the daughter blogs onto the main page, based on blog ID, not category.

    Let me know if you’re interested in this page template I’m thinking of, maybe there’s a way I could adapt your plugin once it rolls out.

    Andrea, I’d die for a peek at that code! 🙂

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    Sweet, and I didn’t even have to die 🙂

    Always appreciate your wisdom reading through the support pages. Thanks!

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    Eh, diamond multisite widgets also have a recent posts widget. not formatted like what I have on ym site, but like I said… that;s what we started with.

    the rest is pulling a couple extra details and formatting.

    I nagged Ron to put this on his list, and when he finally looked at it he said he’d be rewriting the whole thing to be based off sitewide tags. 🙂

    (Ron is wmuguru, my biz partner & husband)

    hello Andrea
    can you give me the function or the sql statement which you have used to get the list of all the sub blog on a multisite
    I need to pull the name of all the sub blog and their homepage link in a multisite, to display on the parent side

    @alvaro: answered here: http://wordpress.org/support/topic/list-of-all-subsite-blog-in-parent-site?replies=3

    Try to stick to one thread with the same question, please.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Building Page Template to pull posts from network sites’ is closed to new replies.