Display code from xprofile field
Hi, I have created a profile field for a user to input a ad code which in turn I would like to display on their blog posts.
Normally I would use something like this to display the field on the blog post.
<?php echo xprofile_get_field_data( 'AD', get_the_author_id()) ?>
It don’t work however. Is there a way I can fetch the code and actually have it run on the blog post.
- You must be logged in to reply to this topic.