WordPress.org

Ready to get started?Download WordPress

Forums

Using Plugins Outside of WordPress? (4 posts)

  1. SharifTK
    Member
    Posted 5 years ago #

    Is it possible for me to execute a plugin outside of a standard wordpress page?

  2. s_ha_dum
    Member
    Posted 5 years ago #

    A plugin is really just a series of functions, possibly inside a class, so theoretically you should be able to execute it anywhere you want. But I'd guess that most, if not all WP plugins, depend upon too many WP functions to make it practical.

  3. anantshri
    Member
    Posted 4 years ago #

    I have been able to extract the output of my plugin and shwit on my website.

    the tip is to create a simple php file which could be called from outside of the wordpress loop. the thing that you need to remember is that this file should include (wp-load.php), and after that you don't actually need to worry about any thing.

    http://wpengineer.com/embed-wordpress-functions-outside-wordpress/
    for your reference

    this output you can present anywhere.

    hope this helps.

    you can contact me if you wish to see my code.

  4. anantshri
    Member
    Posted 4 years ago #

    the better and elegant solution would be to follow

    http://ottodestruct.com/blog/2010/dont-include-wp-load-please/

    and avoid wp-load.php hassels

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags