Support » Plugins and Hacks » Using Plugins Outside of WordPress?

  • SharifTK

    (@shariftk)


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

Viewing 3 replies - 1 through 3 (of 3 total)
  • s_ha_dum

    (@apljdi)

    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.

    anantshri

    (@anantshri)

    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.

    anantshri

    (@anantshri)

    the better and elegant solution would be to follow

    Don't include wp-load, please.

    and avoid wp-load.php hassels

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using Plugins Outside of WordPress?’ is closed to new replies.