• Resolved fertila

    (@fertila)


    I would like to show an image right with my excerpt. I am using

    <p><strong> {title}</strong></p>
    <p>{excerpt}</p>
    <a href="{url}" title="article link">More ...</a>

    For the image i would add

    <a href="{url}"><img class="alignright" src="{imagesrc}" alt="{imagealt}" width="250" height="250" /></a>

    However I need to grab the image only if there is one in the post. Otherwise I have code without function in my html.

    Is there a solution for this with conditionally output (like documented here: http://rmarsh.com/plugins/post-options/ ), or maybe another solution?

    • This topic was modified 1 month ago by  fertila.
    • This topic was modified 1 month ago by  fertila.
    • This topic was modified 1 month ago by  fertila.
  • You must be logged in to reply to this topic.