Re: Problem with Title Tag in Category and Tag
Yes, sorry – I only checked a multi-word post title.
You are correct, categories and tag page titles are behaving differently in default BuddyPress vs. default WordPress install
The function that builds the title in BuddyPress is bp_page_title(). In WordPress it’s wp_title()
The WP function is doing a lot more work with the category and tag slug, taking the name slug it’s been passed (with the hyphens inserted) and looking up the correct (non-hyphenated) title to insert.
OK, two things I suggest:
1. Report this, and suggest that the bp_page_title() function should behave the same as wp_title() for categories, tags, etc. This would be the sensible way for the function to behave IMO. @hnla – is adding this to the trac, the correct way to raise this a possible fix?
2. For a quick fix, code your own title function, and replace the call to bp_page_title() in your header.php with a call to your own function
The function may look a little daunting, but should be reasonably straightforward with a bit of judicious copying and pasting from the existing BP and WP functions.
Cheers, Roger