Title: attribute value
Last modified: February 11, 2017

---

# attribute value

 *  Resolved [psmorrow](https://wordpress.org/support/users/psmorrow/)
 * (@psmorrow)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/attribute-value/)
 * Hi, I’m using EM with buddypress. is it possible to set the value for an EM attribute
   to the value of an xprofile field? The goal being to display it on an event page
   using the #_ATT syntax.
 * Many thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [psmorrow](https://wordpress.org/support/users/psmorrow/)
 * (@psmorrow)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/attribute-value/#post-8794259)
 * Actually, I’ll share more details about what I’m trying to do…in case there’s
   a kind soul out there that can help me figure this out.
 * The end goal is to add a hpyerlink to contact a person on skype. This works only
   partially:
 *     ```
       function my_em_custom_content($content){
   
       	$data = xprofile_get_field_data( 'Skype ID', bp_loggedin_user_id());
       	$content .= '<a href="skype:'.$data.'?call">Call Me on Skype<br />';	
       	return $content;
       }
       add_filter('em_content','my_em_custom_content');
       ```
   
 * It only works partially because the “Call me on Skype” hyperlink, is only displayed
   when the event owner and the user are the same person….when a user tries to view
   the details of another member’s event, no skype hyperlink 🙁 Can anyone share
   why this is happening???
 * Also, I am envisioning my next issue being that I don’t want to display the skype
   id of the logged in user….perhaps I’ll cross that bridge after I figure this 
   first issue out 🙂
 * Any help anyone can provide would be awesome!
    -  This reply was modified 9 years, 3 months ago by [psmorrow](https://wordpress.org/support/users/psmorrow/).
 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/attribute-value/#post-8806913)
 * maybe you can try this tutorial instead – [http://wp-events-plugin.com/tutorials/create-a-custom-placeholder-for-event-formatting/](http://wp-events-plugin.com/tutorials/create-a-custom-placeholder-for-event-formatting/)
 *  Thread Starter [psmorrow](https://wordpress.org/support/users/psmorrow/)
 * (@psmorrow)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/attribute-value/#post-8810227)
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘attribute value’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [psmorrow](https://wordpress.org/support/users/psmorrow/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/attribute-value/#post-8810227)
 * Status: resolved