• I have a site with two wordpress installed. One’s url is example.com (public_html/) and another’s is example.com/video (publlic_html/video).
    As usual, The homepage is from root wordpress. I want to add 10 recent post of /video wordpress in homepage. So, how to make a widget to show 10 recent post from another wordpress site located in same web-root?

Viewing 1 replies (of 1 total)
  • Moderator Marius L. J.

    (@clorith)

    Hi,

    The simplest way would be to use a RSS feed widget and use the other sites RSS, this would save you a bit of coding, but it really depends what you wish to do with the posts and how you wish to display them.

    If you’re not unfamiliar with code, you could have a look at the WP JSON API under development (You can use it as a plugin) over at https://wp-api.org/ which will give you much more flexibility.

Viewing 1 replies (of 1 total)
  • The topic ‘How to Load 10 recent post from another wp site?’ is closed to new replies.