Target only profile page
-
How can I either write a function, or create a custom template that is only used for the users main profile page?
The way buddpress works by default, all of the various profile sub-pages seem to use the same exact template.
For example, I want to specifically target domain.com/username (which we have as the main profile page).
Do NOT want to target, domain.com/usersname/friends, domain.com/username/followers, domain.com/username/activity etc.
I need to add some custom data to only the main profile page, and not have it trickle down to the subpages…
- The topic ‘Target only profile page’ is closed to new replies.