How to integrate Wordpress 2.0 and BBclone.
Modify wp-blog-header.php:
//-- Insert BBclone Code from here @
define("_BBC_PAGE_NAME", get_bloginfo("name") . wp_title("/", false));
define("_BBCLONE_DIR", "/full/path/to/bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
//-- @ to Here
require_once(ABSPATH . WPINC . '/template-loader.php');
endif;
No comments:
Post a Comment