WordPress.org

Ready to get started?Download WordPress

Forums

RPS Include Content
[resolved] Pulling Content Between Two Sites (4 posts)

  1. woolfcom
    Member
    Posted 2 years ago #

    I am interested to import content from one WP site to another.

    I have 5 WP sites - one is the main site. I need to feed the latest posts from the child sites into the home page of the main site.

    Problem - the content from the source site is a Recent Posts Plugin
    generated by that plugin's shortcode.

    Am guessing this would require pointing to the source URL and targetting the content detail - as opposed to the entire file?

    How would I go about pulling in that content into the main site?

    thanks

    w.

    http://wordpress.org/extend/plugins/rps-include-content/

  2. redpixelstudios
    Member
    Plugin Author

    Posted 2 years ago #

    We're not completely familiar with the Recent Posts plugin to know how it behaves, but RPS Include Content is capable of pulling content – a page or a post – from one site to another when both sites are on the same network of a multisite install. The RPS Include Content plugin should execute any short code within the included content, so we think that it would work in that case, perhaps depending on how the Recent Posts plugin is configured.

    Give it a try and post the results here; it won't break anything.

    If the installs are separate then you would need to rely on a function such as fetch feed to pull the posts from one site to another. (http://codex.wordpress.org/Function_Reference/fetch_feed ).

  3. woolfcom
    Member
    Posted 2 years ago #

    When you say the: "same network of a multisite install" , could you kindly explain what you mean by that?

    Our sites are on the same server - pointing to the same URL and installed in sub-folders as entirely separate WP installations.

    As an example - we need to collect content from:

    http://examplesite.com and place that into an alias like this:

    http://newsite-new.examplesite.com and another install here:

    http://community.examplesite.com

    ....so that gives you an example of our setup.

    Thanks for the recommend also.

  4. redpixelstudios
    Member
    Plugin Author

    Posted 2 years ago #

    A network is essentially a shared, single installation of WordPress. You can read more about creating a network in the codex.

    Unfortunately the RPS Include Content plugin will not work among separate installations of WordPress. The fetch feed function may still be your best bet.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic