[wp-hackers] Interfacing with wordpress from other php scripts

Ryan Boren ryan at boren.nu
Tue Jan 24 03:22:09 GMT 2006


On Tue, 2006-01-24 at 02:28 +0100, Per Soderlind wrote:
> > I'm undertaking a project involving the integration of AMFPHP 
> > and Wordpress.
> > I'd like to use Wordpress' functionality, but to handle parts 
> > of the front end from everyone's favourite plugin, Flash.
> 
> This gives you access to the WP functions etc:
> 
> <?php
> /* Short and sweet */
> define('WP_USE_THEMES', false);
> require('wp-blog-header.php');

In 2.0, you can include wp-config.php and then call wp().  Templates
won't be loaded unless you explicitly include template-loader.php.

Ryan



More information about the wp-hackers mailing list