Info
- 9 posts
- 5 voices
- Started 1 year ago by S.Nieves
- Latest reply from r-a-y
- This topic is not resolved
WordPress Header on bbpress
-
- Posted 1 year ago #
I have looked all through the internet and this forum and for the life of me, I can't find how to call the wordpress header to bbpress.
I don't care for the styling of the forum or anything, since I will customize that, I simply want my wordpress header to sit above my bbpress forum?
They are database and user integrated, I am stuck on the visual part.
Can someone please direct me to where it explains it (and it works!)
Thanks in advanced.
-
- Posted 1 year ago #
Deep intergrate and then just load header.php into your header file of your bbpress theme.
-
- Posted 1 year ago #
They are deep integrated.
How do I load header.php into bbpress header?
-
- Posted 1 year ago #
I use this in my template:
global $is_bb; $is_bb = true; get_header(); // call WP's header$is_bb = true;tells WP that current page is a bbPress page. If you need to load different content depending on that, just use:if ( $is_bb ) { // bbPress-related code } else { // WP-only code } -
- Posted 1 year ago #
The best way is to mimic your WP in the bbP header.
The issue with loading WP header is that you don't load a very important line for most plugins "bb_head()"example would be zaerl Editor (0.3) plugin. That plugin needs bb_head()
You can use
Pixopoint Theme Integrator
http://pixopoint.com/products/pixopoint-theme-integrator/
(advantage is it doesn't slow down your forum. Disavantage anything highlighted when your at that page doesn't work. Which will not be a problem for you because you're using Arthemia theme)or
Deep Integration
Where you can copy and paste stuff from the header that you need
(advantage you can load any WP functions in bbP. Disavantage it will slow down your forum because you're loading WP & bbP at the same time constantly)or
Get someone else to do it
Me go to this site http://wpbbpthemes.org/
or other people on this site by posting a new post with a request to hire someone. -
- Posted 1 year ago #
Pixopoint is broken, Ryan is trying to fix the plugin.
Where can I email you. I have to pay someone to get this going.
-
- Posted 1 year ago #
mr_pelle,
Where in your template did you place that code? -
- Posted 1 year ago #
mr_pelle,
Where in your template did you place that code?The first block is actually my bbPress header (you have to put it inside some php tags, of course), while I use the second in my WordPress header and footer when I have to load different content (css, icons, code).
-
- Posted 1 year ago #
The issue with loading WP header is that you don't load a very important line for most plugins "bb_head()"
You could probably get around this issue by adding something like this in your bbPress theme's functions.php:
function bb_head_in_wp_head() { bb_head(); } add_action( 'wp_head', bb_head_in_wp_head' );Though this is true w/ deep integration:
(advantage you can load any WP functions in bbP. Disavantage it will slow down your forum because you're loading WP & bbP at the same time constantly)
-
You must log in to post.