-
Author
-
December 9, 2013 at 16:09 #7965MarcyboyParticipant
I would like to add some static text above the members profile information only visible on members own profile page. In short I want to give some information to a member on how to edit their profile. Could you tell me how to do that please.
December 10, 2013 at 11:28 #8058AbeKeymasterHi, You need some PHP and HTML knowledge. Edit sweetdate/members/single/member-header.php
to show only for the current profile you need to put the text inside the php condition:
text to show
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.February 1, 2014 at 19:29 #10449wttribeParticipantHi great thanks.
I did a step more and put a link to it:< ?php if (bp_is_my_profile()) { ?>
< div class=”generic-button” id=”send-private-message”>
< a class=”send-message” href=”profile/edit/group/1/#item-nav”>Edit Profile< /a>< /div>
< ?php } ?>My question now is: how do I make that “Edit Profile” translatable with wpml?
I don’t find it in translation strings. How do I do it? thanks
February 7, 2014 at 12:23 #10659AbeKeymasterHi, you need to wrap the Edit profile string into a translation function like this
<?php _e('Edit Profile', 'kleo_framework');?>
and it will appear to be translatedHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
You must be logged in to reply to this topic.