Using it with get_the_author_meta?
-
Hi there,
I created a custom author page and also added a field for my writers to input a custom email address to receive emails rather than it being sent to the emails they’re registered with via the blog.
This is my code:
<?php if(get_the_author_meta('pubemail')){ ?><div id="ap-email">Email: <a href="mailto:<?php the_author_meta('pubemail'); ?>"><?php the_author_meta('pubemail'); ?></a></div><?php } ?>
The custom variable is ‘pubemail’ which stores their inputted address via their profile page.
How exactly do I added eckode variables to enkode it?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Using it with get_the_author_meta?’ is closed to new replies.