Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
Hi there,
I want a pop-up contact form to trigger when a person clicks on the user’s profile email icon. Can anyone please tell me how to accomplish this?
This is a custom code but you can hook into e-mail field and add the classes – then build custom js to trigger the contact form. Social icons are added via: functions/icons-functions.php, this line:
$res .= '<a href="'.userpro_link_filter( userpro_profile_data($key, $user_id), $key ).'" class="userpro-profile-icon userpro-tip" title="'.$array['label'].'" target="'.$args['social_target'].'" ><i class="userpro-icon-'.$icon.'"></i></a>';
Basically you need a conditional key, if key == user_email and add the custom coding to it.
Thank you, but can you please give more detailed instructions/ example on how to do this? I urgently need to get this functionality to work.
I am sorry, this is outside the scope of the plugin. And needs customization / jQuery work, etc. I can’t provide full examples here in support 🙂
You must be logged in to reply to this topic.