Hi there, I have been looking around in the General Template Tags in https://codex.buddypress.org/ for the right tag for edit my profile groups/fields, ul.button-nav li a.
According to the documentation
bp_get_options_nav()should be the one, but it is not.
“for profile it contains: [Public, Edit Profile, Change Avatar]”
Which tag should I use to target and reposition this group with a hook?
Thank you for the question.
You can use this inside the profile loop
<?php bp_profile_group_tabs(); ?>
Also, you do not need to add it via any hook. You can use template override.Adding content via hooks are normally preferred when you don’t have much control over the template.
Hi Brajesh, so the position of the tabs is defined by where in the profile loop it is copied into?
I think I have asked this question before, but something is stil not clear to me; what about the original position of the tabs, should I just hide them with css, or should the code be deleted from the profile loop?
You must be logged in to reply to this topic.