WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] One "landing page" for multiple wp installations (6 posts)

  1. skromta
    Member
    Posted 4 years ago #

    I've got several WP-installations on the same domain name, they are installed as sub-directories so it looks something like this:

    example.com
       |
       +--- blogA
       +--- blogB
       +--- blogC

    Currently I've got one of these blog set at the main blog so when someone go to example.com blogA is shown. However, I was playing with the idea of having a common "landing page" for these blogs - so when someone visits example.com they would be shown a page with three columns with the latest entries from each of the blogs.

    But I don't really know what the best way to accomplish this is, could anyone give me some advise on this?

  2. You could make a static front page for BlogA to pull in RSS feeds from all three. Or do that via a regular PHP page and 'move' blogA from root back to BlogA.

    Either one works :)

  3. skromta
    Member
    Posted 4 years ago #

    I was looking at making a static page for blog A but I can't figure out how to add a RSS parser to the page content. I can't find it in the documentation ... I found the code that is used for the rss widget but I'm unsure of how to use it from a page template.

    Does anyone have a hint on how to do this?

  4. Try this: http://www.corvidworks.com/articles/easy-feed-reading-with-simplepie

    It's what I used to do something similar back in the day :)

  5. skromta
    Member
    Posted 4 years ago #

    Thanks, that worked perfectly

  6. Mark / t31os
    Moderator
    Posted 4 years ago #

    WordPress has RSS built in, see the following for an example.
    http://codex.wordpress.org/Function_Reference/fetch_feed

    Which replaces the older deprecated fetch_rss ...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.