Viewing 2 replies - 1 through 2 (of 2 total)
  • Hj,

    You can use this shortcode [hungryfeed url=”your_feed_url” template=”1″]

    And then, in the Setting pages, edit Template 1

    <div class="hungryfeed_item">
    <h3><a href="{{permalink}}">{{title}}</a></h3>
    <div><img src="{{select(attr:src).img:first}}"/></div>
    <div>{{description}}</div>
    <div>Author: {{author}}</div>
    <div>Posted: {{post_date}}</div>
    </div>

    They will show the first image from your feeds

    Henry [sig moderated as per the Forum Rules]

    Thread Starter webmacher

    (@webmacher)

    Thank you, but unfortunately, that doesn’t work. I need to grab the url of the media:content element and cannot figure out how to structure that select statement.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to display image in feed’ is closed to new replies.