implemented code for buddypress titles