Hi
I accept posts from my users using AccessPress Anonymous Post or gravity forms . and they are authors of their posts.
I want to add a custom field in their profile that automatically shows up in the posts that they are author of . and this field is actually a shortcode itself and should be functional if that makes any differents .
can you help me ? sorry for bad english !
thanks
so i found this code :
<?php
$author_id = get_the_author_meta('ID');
$author_badge = get_field('author_badge', 'user_'. $author_id );
?>
<img src="<?php echo $author_badge['url']; ?>" alt="<?php echo $author_badge['alt']; ?>" />
if author_badge field returns a shortcode from another plugin wolud it be functional ??
2. if i create a custom field and show the field in profile of users that’s it ?? the field returns wolud be from that specific user id ?? or else ?