最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to embed my latest WordPress post into an external page

programmeradmin1浏览0评论

We needed to create three different blogs for the type of website we wanted to make, so we are putting each individual blog on its own subdomain and are building a homepage (which will be the only page on the main website) that connects to all three.

I would like to include an excerpt of the latest post of each blog on the homepage. Only the latest post, switching out each time a new post is made. How could I go about doing this?

We needed to create three different blogs for the type of website we wanted to make, so we are putting each individual blog on its own subdomain and are building a homepage (which will be the only page on the main website) that connects to all three.

I would like to include an excerpt of the latest post of each blog on the homepage. Only the latest post, switching out each time a new post is made. How could I go about doing this?

Share Improve this question asked Jan 1, 2021 at 21:35 justinladobrukjustinladobruk 1 1
  • 1 Easiest method would be to use the RSS feed from each site. – Tony Djukic Commented Jan 2, 2021 at 0:17
Add a comment  | 

1 Answer 1

Reset to default 0

You could either build a WordPress Network which would allow you to manage all the sub domains from within the same site - or you could use the REST API to access and then display the post data from each single WordPress install

发布评论

评论列表(0)

  1. 暂无评论