Support

Account

Home Forums Front-end Issues How to get acf user image in search results? Reply To: How to get acf user image in search results?

  • Hi @aronblack

    Lets first debug your code:
    1. Please remove global $post; – this is not needed
    2. Debug $author_id
    3. Debug $author_badge

    You can debug like so:

    
    <?php 
    
    echo '<pre>';
    	print_r( $author_badge );
    echo '</pre>';
    die; ?>