Forums

[resolved] Call Plugin from Outside Wordpress (2 posts)

  1. travelvice
    Member
    Posted 1 year ago #

    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!

  2. travelvice
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic