content not loading in custom Activity subnav item
I’m struggling to get some code working in a custom theme. Two points that may or may not be relevant: (1) it’s a child theme (parent is a ‘base’ we use for our projects), and (2) in the theme (child theme) we have all the BuddyPress templates (overriding the core templates).
I wondered if part of the problem was the code running in the theme. I remembered bp-custom.php and tried putting the code there, same problem. I’m keeping it there for now.
Here’s the code I have: https://paste.ee/p/3HDql
The subnav item for ‘Likes’ lives under ‘Activity’ on a member profile. It displays OK, and is highlighted when I click through to it. But the content is just the same as for the ‘Personal’ subnav item. The two title / content functions don’t seem to have an effect.
Digging down into bp_core_load_template(), the template doesn’t seem to be loaded, I think I’m missing something there.
- You must be logged in to reply to this topic.