WordPress.org

Ready to get started?Download WordPress

Forums

HungryFEED
Same image shows up in item field twice (2 posts)

  1. lfeinberg
    Member
    Posted 9 months ago #

    Hi Jason.
    First. Thanks for the free plugin. It's great!

    Second- let me tell you, I am new to html and CSS. But I am at 95% of achieving the rss feed customization I am looking for. I wanted the image to show at the top of the item field (rather than the default bottom) so I entered in some css code I read from your support forum... which worked! But the image also still shows up on the bottom of the item field as well. So now I have two of the same images per item.

    Would you happen to know a quick solution (line of code?) that would only show the image once at top? I tried truncating the text charachters but that gets rid the images altogether.

    Here's the address: http://southflorida.siteseekr.com/news

    Here is the current code in my custom template:
    <img src="{{select(attr:src).img:first}}">
    <div>Posted: {{post_date}}</div>
    <h3>{{title}}</h3>
    <div class="hungryfeed_item">
    <div>{{description}}</div>

    </br>
    </div>

    Thanks so much for your feedback!
    -lfeinberg

    http://wordpress.org/plugins/hungryfeed/

  2. Jason
    Member
    Plugin Author

    Posted 6 months ago #

    Hmm, I'm sorry I didn't get to this any sooner - I don't know the answer for sure. It could be that the image is part of the Description as well and so you are also including it explicitly in the template.

    You might want to use the option to strip tags in the description so that you only have text, paragraphs and line breaks.

Reply

You must log in to post.

About this Plugin

About this Topic