Support

Account

Home Forums General Issues showing special field in post base on author Reply To: showing special field in post base on author

  • 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 ?