Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bbPress theme for Buddy


Anonymous
Inactive

Try deleting or renaming functions.php in kakumei folder.

This is my header.php

<!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>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title><?php bb_title() ?></title>

<?php bb_feed_head(); ?>

<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_head(); ?>

<?php

add_action( 'wp_footer', 'bp_core_admin_bar', 8 );

add_action( 'admin_footer', 'bp_core_admin_bar' );

add_action( 'wp_head', 'bp_core_admin_bar_css', 1 );

?>

<!--[if IE 6]>

<link rel="stylesheet" href="<?php echo bloginfo('template_url') . '/css/ie/ie6.css' ?>" type="text/css" media="screen" />

<![endif]-->

<!--[if IE 7]>

<link rel="stylesheet" href="<?php echo bloginfo('template_url') . '/css/ie/ie7.css' ?>" type="text/css" media="screen" />

<![endif]-->

<?php wp_head(); ?>

</head>

<body>

<div id="search-login-bar">

<?php bp_search_form() ?>

<?php bp_login_bar() ?>

<div class="clear"></div>

</div>

<div id="header">

<h1 id="logo">" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></h1>

<ul id="nav">

<li<?php if ( bp_is_page( 'home' ) ) {?> class="selected"<?php } ?>>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?>

<li<?php if ( bp_is_page( BP_HOME_BLOG_SLUG ) ) {?> class="selected"<?php } ?>>/<?php echo BP_HOME_BLOG_SLUG ?>" title="<?php _e( 'Blog', 'buddypress' ) ?>"><?php _e( 'Blog', 'buddypress' ) ?>

<li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) ) {?> class="selected"<?php } ?>>/<?php echo BP_MEMBERS_SLUG ?>" title="<?php _e( 'Members', 'buddypress' ) ?>"><?php _e( 'Members', 'buddypress' ) ?>

<?php if ( function_exists( 'groups_install' ) ) { ?>

<li<?php if ( bp_is_page( BP_GROUPS_SLUG ) ) {?> class="selected"<?php } ?>>/<?php echo BP_GROUPS_SLUG ?>" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?>

<?php } ?>

<?php if ( function_exists( 'bp_blogs_install' ) ) { ?>

<li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) {?> class="selected"<?php } ?>>/<?php echo BP_BLOGS_SLUG ?>" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?>

<?php } ?>

<?php do_action( 'bp_nav_items' ); ?>

<div class="clear"></div>

</div>

</body>

<div id="main">

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

<div class="clear"></div>

<?php include("sidebar.php");?><!-- includes sidebar -->

Skip to toolbar