Working with Titles
-
The titles in BuddyPress are driving me nuts. To start they were all showing “Home | Site Name” unless I was in the BuddyPress pages like “Activity”, “Members”, etc. After running some searches I found some bits of code, poked, prodded, and finally got the title fixed for the posts, but now the titles are only showing the site name on pages like “Activity”, “Members”, etc. The Titles on the user pages are working, but they are backwards.
I am using WordPress 3, BP Colums 1.2 theme and HeadSpace2. Before hacking at things HeadSpace was not having any affect.
What I am trying to do:
• On user pages I would like to revers the order of the titles so they read “User Name | Activity | Site Name”.
• Pages like “Activity”, “Members”, etc I would like it to print “Activity | Sitename”.
• Posts I am happy with the way they are now being handled.What I have done so far:
added this to functions.php
Code:if (!bp_is_blog_page() ) {
add_action( ‘wp_title’, ‘bp_get_page_title’);
}made this change to header.php
Changed bp_page_title() to wp_title(”); in Title tagHelp would be greatly appreciated.
- The topic ‘Working with Titles’ is closed to new replies.