How to override member-header.php?
-
I know the answer to this is probably very simple, so please bear with me.
I’m attempting to override how member-header.php displays using a child theme I made of Customizr.
The problem I’m having is that everything I search online seems to conflict or just not work.
For example there’s a member-header.php file inside of the buddypress plugin, at:
- buddypress/bp-templates/bp-nouveau/buddypress/members/single/member-header.php
- buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.php
- buddypress/bp-themes/bp-default/buddypress/members/single/member-header.php
The instructions I’ve found online, of other people trying to do this, say to simply create a folder structure like this:
/wp-content/themes/mytheme/buddypress/members/single/member-header.php
I attempted to do this and make edits, but they were never reflected back to the page. If it did work, which of the three above files would I use as my base? Why are there even three locations for this?
On the actual buddypress documentation site, this isn’t really mentioned and instead the 1.8 documentation talks about overriding specific user ids, groups, or using an index.php. The 1.7 documentation does mention overriding via folder structure but the examples aren’t in-depth.
Should I just abandon this and instead do everything via hook overrides? I’m just really confused as to what the modern solution is because I’ve done this back in the day and it wasn’t such a hassle. I feel like I’m missing something simple and I’d sincerely appreciate it if anyone could shed light on the problem.
- You must be logged in to reply to this topic.