• Resolved travelvice

    (@travelvice)


    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 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

    (@travelvice)

    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.