Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: What’s the state of WordPress theme integration?


kevinjohngallagher
Member

@kevinjohngallagher

Hi Vernal,

In terms of integration in a software sense, you have to answer yourself this:

1) Do they need to look the same?

2) Do I need shared login ?

3) Do i need shared wordpress functions (menu, sidebar, otehr cool wordpress stuff) ?

If you answered yes to 1) and no to 2) and 3) you only need to make your style sheets and HTML look similar and dont need any integration.

If you answered yes to 1) and 2) and no to 3) then you should be able to use the latest alpha and latest wordpress and all should be fine. Personally, i’d not ouch with with a bargepole and i’d use BBpress 0.9 and WP 2.7.1 with _ck_’s Freshly Baked Cookies plugin (link coming up in a bit).

If you answered yes to 1) 2) and 3) then you need to use Ann’s plugin (again link coming up).

In terms of fixing your BBpress to integrate into your wordpress theme easily, that one is simple. Replace the code in your header.php file with this:

<body id="<?php bb_location(); ?>">
<div id="page">
<div id="wrapper">
<div id="header">
<div id="headerimg">
<h1 id="blog-title"><!-- PUT YOUR WP LINK HERE --></h1>
<div id="blog-description">
<div class="description">
<!-- PUT YOUR WP DESCRIPTION HERE -->
</div> <!-- #description -->
</div> <!-- #blog-description -->
</div> <!-- #headerimg -->

<!--
K2 USERS
THIS IS WHERE YOU PUT YOUR MENU CODE
-->
</div>

<div id="access">
<div class="skip-link"><a href="#content" title="Skip to content">Skip to content</a></div>
<div id="menu">
<!--
SANDBOX USERS:
THIS IS WHERE YOU PUT YOUR MENU CODE
-->
</div>
</div><!-- #access -->

<div id="container">
<div id="primary">
<div id="current-content">
<div id="content">
<div id="post">
<div id="main">

<h1><a>"><?php bb_option('name'); ?></a></h1>
<?php if ( bb_get_option('description') ) : ?><p class="description"><?php bb_option('description'); ?>
<?php endif; ?>

<?php login_form(); ?>

<?php if ( is_bb_profile() ) profile_menu(); ?>

Skip to toolbar