Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Susan Siow
Susan Siow
6,497 Points

Buddypress Post Info

Since BP1.7, it's showing the post info under the BP page title, eg this link (the 'Posted on at by with' under 'Members'). How can I remove it, since it's not displaying correctly and furthermore a WP page shouldn't have the info shown under a title. If I change the '.post-info' CSS is going to change all the format of blog post info as well. I just want to remove the post info displayed on the BP pages. Tried #buddypress .post-info {display: none;} but in vain and can't find the correct div via Firebug too.

What should be the solution? Thanks!

3 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Is it only on this page that you want to remove it? If so you can use the .member class from the body tag to specify to only remove it on this page.

You should also probably be able to edit the template file and remove it, although it depends on which pages are showing this.

Susan Siow
Susan Siow
6,497 Points

Hi Zac, thank you so much for the direction, it's now removed with this code > .bp_members .post-info {display: none;}. Many thanks for the big help! :)