This topic has 6 replies, 3 voices, and was last updated 11 years by wisinyyandel7.
-
Author
-
October 24, 2013 at 12:48 #5032wisinyyandel7Participant
Hello Sqadmin,
Could you please help me in how to Add a new description in membership levels?
Eg. I would like to add “Chat with your friends” in PLATINUM and TRIAL http://d.pr/i/uMYc
I would like to put “Chat with your friends” below to “Add media to your profile” How can I do that?
Is it possible to have that description and Sweetdate – Membership option in wordpress like the ones you already have made?
Thanks for your helpOctober 26, 2013 at 02:41 #5144SQadminKeymasterHi,
You can add this to sweetdate-child/functions.php. This won’t actually add a restriction but it will allow you to display the text in front-end and customize the setting from Sweetdate – Memberships like other restrictionsCOPY CODEadd_filter('kleo_pmpro_level_restrictions', 'my_restriction_option'); function my_restriction_option($settings) { $settings[] = array( 'title' => __('Restrict users from adding media to their profile using rtMedia or bpAlbum','kleo_framework'), 'front' => __('Add media to your profile','kleo_framework'), 'name' => 'my_setting_alias' ); return $settings; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 27, 2013 at 06:45 #5209wisinyyandel7ParticipantHey my friend thanks for the information.
I appreciate that, but I am not too sure where I can put this in the file.
could you please tell me if I am wrong? I mean do you want me to paste this in here ? http://d.pr/i/yNjq
this is the file which you are talking about? http://d.pr/i/lSqG
Thanks for your help and I’m sorry I am not an expertise in this type of programming.
Thanks bro.
Regards,October 27, 2013 at 07:23 #5213wisinyyandel7ParticipantI have found the sweetdate-function.php in wordpress, if it is the file, I don’t know where to put what you type above of these two msgs. http://d.pr/i/lZKw
Thanks againOctober 27, 2013 at 14:06 #5224JohnDoeParticipantYou have Sweetdate and sweetdate-child theme, functions.php has to be edited in the child theme. Make sure your child theme is active.
the code can go anywhere between the php tags.
<?php
Code here
?>October 28, 2013 at 16:10 #5263SQadminKeymasterThanks @JohnDoe
Code goes to sweetdate-child/functions.phpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 2, 2013 at 08:32 #5705wisinyyandel7ParticipantThanks @JohnDoe and Sqadmin. One thousands thanks. I really appreciate that. It works.
-
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.