Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: BP child theme causes profile cover image to disappear

@shirleyddsn

Participant

Side Note:
I dont know if I can/should ask this here, or if it should be a different post, but I’m trying to make changes to the buddypress templates in my child theme, and it seems that I’m not allowed (?!) to make changes to the actual templates?

For example, I was trying to make changes to cover-image-header.php just to see if I can. I wanted to add “Last Active:” just before the function that lists when the member was last active. Just to see if I could. When I refreshed the page, I thought I saw for a brief second that it did in fact say “Last Active:”, before it disappeared and just showed the original content again. To make sure it was actually my code and not a glitch, I repeated the process but replaced LAST ACTIVE with PIZZA HUT. Just to make sure it was actually me. Refresh -> Pizza Hut flashed. Yup, it was me. But why wont the code stick? Could it be my child theme document tree isn’t right? Or do I need to add some code somewhere so that changes in my child folder override files in the original buddypress folders?

When I copied my files over, I group selected the folders in plugins/buddypress/bp-templates/bp-legacy/buddypress and copied them all over to themes/my-theme/buddypress. Am I missing a folder or something?

Also: I figured out the concept behind add_action tacking on instructions to a do_action function. But where do the DO_ACTION functions live? And am I able to modify those? I would like to add some font-awesome icons to the front of my profile menu links the way we have here, but I can’t find the code that spits out the information.

Skip to toolbar