Info
- 1 post
- 1 voice
- Started 1 year ago by Anonymous
- This topic is not resolved
Calling wordpress plugin functions in bbpress
-
- Posted 1 year ago #
Is it possible to call wordpress plugin functions in bbpress?
I've added the deep integration code in bb-config.php:
/* Deep integration */
if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST'))
{
define('WP_USE_THEMES', false);
include_once(dirname(__FILE__) . '/../wp-blog-header.php' );
header("HTTP/1.1 200 OK");
header("Status: 200 All rosy");
}I added this too:
require_once(dirname(__FILE__) . '/../wp-load.php');
define('WP_BB', true);However, i can only call the theme functions of wordpress i.e., get_header(), get_footer() etc...but i cannot get the wordpress plugin functions to work in my bbpress. I'm trying to call a function from a wordpress plugin named "Marquee" and placed it at the bottom of my bbpress template.
-
You must log in to post.