bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Page titles not changing

(7 posts)
  • Started 8 months ago by leeppp222
  • Latest reply from leeppp222
  • This topic is resolved
  1. I customised my bbpress forum to fit in with the look of my blog.

    I am 99% finished now but noticed one problem.

    If you go to http://www.thecvstore.net/community/ all forum pages have the same page title.

    What have I done wrong and does anyone know how to rectify it?

    Posted 8 months ago #
  2. Looks like you're using the WordPress header (blogheader) and WordPress would be looking for bloginfo('name') and wp_title() where bbPress looks for bb_get_title() and uses whatever forum or topic you're viewing. So, the bbPress data is not available to WordPress.

    Just a guess. Not sure of the best way to fix it, but I would guess that's what's going on. The header is supplied by WordPress but the titles need to be supplied by bbPress functions.

    Posted 8 months ago #
  3. Thanks Chris, below is a copy of text I altered in 'Header.php':

    <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 bloginfo('stylesheet_url'); ?>" type="text/css" />
    <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; ?>

    Is there something I have done wrong here that could be causing the problem?

    In addition, my config.php file has this entered as the top line:

    <?php require_once('/home/fhlinux208/t/mysite/user/htdocs/blog/wp-blog-header.php') ?>

    Posted 8 months ago #
  4. I know next to nothing about integration, but if you check the source for a forum page, you'll see that all the header stuff is from WordPress not bbPress. I would guess it has something to do with the way the header is being included. Hopefully someone who knows how to do this will come along soon. But I think it's safe to say the header is your WordPress header not your bbPress header.

    Posted 8 months ago #
  5. is there anyone else here that can help?

    Posted 8 months ago #
  6. ***bump***

    Posted 8 months ago #
  7. I managed to get a response and solution from http://bui4ever.com/web-itecture/how_to_integrate_wordpress_and_bbpress#comments

    Posted 8 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.