Support Forum ยป User Profile

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Displaying Custom Field #45588
    Mark DowdMark Dowd
    Participant

    It is just a file_input custom field. You can see it on the right side of this page. It cycles through the SPONSORS and shows the name and links but not the image. The image is there.

    https://hrn.wpcsandbox.com/episode/nilou-motamed/

    Thanks!

    in reply to: Displaying Custom Field #45568
    Mark DowdMark Dowd
    Participant

    Sorry This is my current code

    {% set sponsor_list = post.episode_sponsor %}
    
    {% if sponsor_list is empty or sponsor_list == [] %}
    
    {% else %}
    <div class="episode_extra_label">SPONSOR</div>
    {% for sponsor in sponsor_list %}
    
     {{sponsor.ID}}
     <div class="sponsor_name">
                <a href="{{ sponsor.url }}" target="_blank" rel="noopener">{{ sponsor.post_title }}</a>
     </div>
     <div class="sponsor_logo">
        <a href="{{ sponsor.url }}" target="_blank" rel="noopener">
            <img src="{{ sponsor.sponsor_logo }}" alt="{{ sponsor.post_title }}">
        </a>
     </div>
    
    {% endfor %}
    </div>
    {% endif %}
    in reply to: Custom Fields in Views #45440
    Mark DowdMark Dowd
    Participant

    To be clear

    {{ episode_post.post_title }} <--- comes back with no issue
    {{ episode_post.episode_image }} <--- Custom Field not returning

    Am I missing something?

Viewing 3 posts - 1 through 3 (of 3 total)