Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: *seamless* wordpress integration

This is probably a nasty hack, and I hope a better solution comes around soon:

if (file_exists(‘../wp-blog-header.php’))

require_once(‘../wp-blog-header.php’);

else

if (file_exists(‘../../wp-blog-header.php’))

require_once(‘../../wp-blog-header.php’);

Fixed my wp-blog-header when in the root and when in bb-admin.

*Edit* Weird cannot seem to get the markup tags to work, why not use standard html tags like in wordpress instead of backticks (‘, ยด, `) too much confusion and none of them works.

Skip to toolbar