Title: Load post from remote data source in WordPress
Last modified: June 23, 2020

---

# Load post from remote data source in WordPress

 *  [scottge](https://wordpress.org/support/users/scottge/)
 * (@scottge)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/load-post-from-remote-data-source-in-wordpress/)
 * I’m trying to load post info from remote data source in WordPress.
 * For example, when user accesses `https://example.com/articles/hello-world`, I
   want to capture the ‘hello-world’ post name, query my own data store (a REST 
   API) to retrieve its detailed info, and render the content in WordPress post 
   template.
 * Please note that the ‘hello-world’ post in the above example does not exist in
   my wordpress database. I customized the singular.php file. However, the 404 page
   kicks in before my singular.php has a chance to run. My WordPress site complains
   that ‘hello-world’ does not exist.
    -  This topic was modified 5 years, 10 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Developing with WordPress
      topic

Viewing 1 replies (of 1 total)

 *  [Aims Infosoft](https://wordpress.org/support/users/aimsinfosofts/)
 * (@aimsinfosofts)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/load-post-from-remote-data-source-in-wordpress/#post-13024147)
 * Hello,
 * you can do it using REST-API
 * please check below link
    [https://pippinsplugins.com/using-wp_remote_get-to-parse-json-from-remote-apis/](https://pippinsplugins.com/using-wp_remote_get-to-parse-json-from-remote-apis/)
   [https://www.toptal.com/wordpress/beginners-guide-wordpress-rest-api](https://www.toptal.com/wordpress/beginners-guide-wordpress-rest-api)
   [https://www.toptal.com/wordpress/wordpress-api-integration](https://www.toptal.com/wordpress/wordpress-api-integration)
 * i think it will help you.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Load post from remote data source in WordPress’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Aims Infosoft](https://wordpress.org/support/users/aimsinfosofts/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/load-post-from-remote-data-source-in-wordpress/#post-13024147)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
