WordPress.org

Support

Support » Multisite » [Resolved] Pull latest posts from sub-domain

[Resolved] Pull latest posts from sub-domain

  • Angela

    @angelazou

    I have a multisite installation with 2 sub-domains, one of them is a blog. I have a plugin that allows me to arbitrarily insert PHP code, and I want to create a piece of code that allows me to pull the latest posts from the blog sub-domain.
    However, I have no idea what functions should I use, or even, that I need to write a function myself? I previously tried a plugin called diamond widget, but it didn’t work very well.

    Angela

Viewing 4 replies - 1 through 4 (of 4 total)
  • danhgilmore

    @danhgilmore

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

    This plugin will allow you to pull posts from any blog and display them on the main blog page.

    whiteatom

    @whiteatom

    This is a modification of the “loop”. There are some examples of how to use WP_query on the codex.. but I don’t think this will allow you to pull posts from a separate site.

    Do you truly need a separate site? Or could you just create a post category and template that page differently. I’ve found that most of my clients who want something like this don’t actually need a sub-site.. just a category.

    whiteatom

    whiteatom

    @whiteatom

    ahh.. and that plugin looks like it will do it for you.

    Angela

    @angelazou

    Thanks, I will try it out.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Pull latest posts from sub-domain’ is closed to new replies.
Skip to toolbar