Conforming bbPress to my website
-
I have a big main section on my website and I would like for the entire bbPress program to reside there and look and act like it does as a freestanding, or as best it can.
I can easily do this with WordPress but this is much different. For thing, it seems that there can only be one stylesheet, so I have to copy bbPress’s stylesheet and paste it into mine and name it style.css. then rename the divs with the same names.
This is what I want it to be:
<My website>
<my header></close my header>
<my navigation></close my navigation>
<my mainsection or column is 900px wide>
<<< Here will go the entire bbPress program >>>
</close my mainsection or column>
</close My website>
Here’s how I have the header.php:
<<<<—- Start of header.php —->>>>
<?php
$_head_profile_attr = ”;
if ( bb_is_profile() ) {
global $self;
if ( !$self ) {
$_head_profile_attr = ‘ profile=”http://www.w3.org/2006/03/hcard”‘;
}
}
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN” “http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”<?php bb_language_attributes( ‘1.1’ ); ?>>
<head<?php echo $_head_profile_attr; ?>>
<meta http-equiv=”X-UA-Compatible” content=”IE=8″ />
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title><?php bb_title() ?></title>
<link rel=’stylesheet’ href=’style.css’ type=’text/css’ charset=’utf-8′ />
<link rel=”stylesheet” href=”<?php bb_stylesheet_uri(); ?>” type=”text/css” />
<?php if ( ‘rtl’ == bb_get_option( ‘text_direction’ ) ) : ?>
<link rel=”stylesheet” href=”<?php bb_stylesheet_uri( ‘rtl’ ); ?>” type=”text/css” />
<?php endif; ?>
<?php bb_feed_head(); ?>
<?php bb_head(); ?>
</head>
<body>
<!–Begin top of My Website–>
<div id=’al_wrapper’>
<div id=’al_sub_wrapper’>
<div id=’al_head’>
<h1>Title</h1>
<h4>Tag Line</h4>
</div>
<div id=’pagetitle’>
<div id=’bread’>You are here: Home » This Page</div>
</div>
<div id=’al_both’>
<div id=’my_right’>
<div id=’inside_my_right’>
<h2 class=’myright’>This Page</h2>
<!–End top of My Website–>
<body id=”<?php bb_location(); ?>”>
<div id=”wrapper”>
<div id=”header” role=”banner”>
<h1>“><?php bb_option(‘name’); ?></h1>
<?php if ( bb_get_option(‘description’) ) : ?><p class=”description”><?php bb_option(‘description’); ?></p><?php endif; ?>
<?php if ( !in_array( bb_get_location(), array( ‘login-page’, ‘register-page’ ) ) ) login_form(); ?>
<div class=”search”><?php search_form(); ?></div>
</div>
<div id=”main”>
<?php if ( bb_is_profile() ) profile_menu(); ?>
<<<<—- End of header.php —->>>>
<<<<—- Start of footer.php —->>>>
</div>
</div>
<div id=”footer” role=”contentinfo”>
</body>
</div>
<?php do_action(‘bb_foot’); ?>
<!–Beging of My Website footer–>
</div>
</div>
</div><!–end both–>
<div class=’spacer_20′></div>
<div id=’al_footer’>
Content copyright 2010. Mywebsite.com – All rights reserved.
Home ·
</div>
</div><!–end al_subwrapper–>
</div><!–end al_wrapper–>
<!–End My Website footer–>
</body>
</html>
<<<<—- End of footer.php —->>>>
Using this, the look of my website is OK but the bbPress is all jumbled up and not right. Any help would be appreciated.
- You must be logged in to reply to this topic.