-
Author
-
March 30, 2015 at 19:10 #52253HDcmsParticipant
Hi,
How to hide items (see picture) by level of paidmemberPro ?
RegardsAttachments:
You must be logged in to view attached files.March 31, 2015 at 13:46 #52378AndreiModeratorYou will have to edit the buddypress user profile templates from our theme and add the respective logic to show them just in some cases. Please note that you’ll need programming skills in order to do so.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 31, 2015 at 14:05 #52379HDcmsParticipantHi,
no hook to put in functions.php !!
What file should I put in my child theme ?
ThanksMarch 31, 2015 at 14:24 #52381AndreiModeratorThe quick navigation links are added with the following hook:
COPY CODEadd_action('kleo_after_breadcrumb', 'bp_add_profile_navigation');
The last activity of the user can be found in the following file: “wp-content/themes/sweetdate/members/single/member-header.php” around line 36
Starting from here you will have to add some checks and show them only if a certain membership level is found.
A few information about the membership levels checks can be found in the following page:
http://www.paidmembershipspro.com/documentation/require-membership-function/If you can’t manage to do the modifications by yourself then I would recommend you to hire a developer.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 2, 2015 at 10:40 #52822HDcmsParticipantHi,
The last activity of the user can be found in the following file: “wp-content/themes/sweetdate/members/single/member-header.php” around line 36
Ok thanks 🙂
is this the right hook!?
because nothing is removed by
remove_action ('kleo_after_breadcrumb', 'bp_add_profile_navigation')
??@+
April 5, 2015 at 16:20 #53321AndreiModeratorThis will be the right way to remove it:
COPY CODEfunction kleo_remove_actions(){ remove_action ('kleo_after_breadcrumb', 'bp_add_profile_navigation'); } add_action('after_setup_theme', 'kleo_remove_actions', 9999);
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.