the answer for all question about Oxygen Builder plugin and WordPress

PHP Gurus, I need some help.

PHP Gurus, I need some help.

I tried to call Author Meta Key in a template to display their email address and URL but my template, I put [oxygen data=’user_meta‘ key=’user_email‘] it just displays ‘Array’

So to code it myself I got this far and it works:

<?php
$user_email = get_the_author_meta(‘user_email’);
echo ‘<a href=”mailto:’ . $user_email . ‘”>Author Email</a>’;
?>

The issue is that I want the link text to display the author’s email, not “Author Email” but I’m not sure how to echo that inside the link.

Can anyone help me?



Source

Leave A Reply

Your email address will not be published.

Oxyrealm Docs