Title: Call Plugin from Outside WordPress
Last modified: August 19, 2016

---

# Call Plugin from Outside WordPress

 *  Resolved [travelvice](https://wordpress.org/support/users/travelvice/)
 * (@travelvice)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/call-plugin-from-outside-wordpress/)
 * Howdy,
 * I’ve got a homepage that isn’t managed by an install of WordPress (on a subdomain).
 * I would like to pull the most recent posts information and display them on this
   page. I’m using [this plugin](http://rmarsh.com/plugins/recent-posts/) successfully
   within WordPress, but am not sure how to go about calling it with PHP from outside
   the CMS.
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Thread Starter [travelvice](https://wordpress.org/support/users/travelvice/)
 * (@travelvice)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/call-plugin-from-outside-wordpress/#post-670133)
 * I’ve resolved this.
 * Simply add this to the page, and you’re set:
 *     ```
       <?php require_once("/home/username/public_html/wordpress/wp-config.php"); // Change this for your path to wp-config.php file ?>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Call Plugin from Outside WordPress’ is closed to new replies.

## Tags

 * [call](https://wordpress.org/support/topic-tag/call/)
 * [external](https://wordpress.org/support/topic-tag/external/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 1 participant
 * Last reply from: [travelvice](https://wordpress.org/support/users/travelvice/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/call-plugin-from-outside-wordpress/#post-670133)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
