• Resolved emather

    (@emather)


    This is a fabulous plugin. Thank you!

    Found a little issue. Here is the text I have in a text widget:

    [event_embed category="featured-event" limit=1] <a href={url}>{thumbnail}</a><h4 class="entry-title summary"><a class="featured-event-link"  href={url}>
    {title}</a></h4> <div>{start_date}</div>[/event_embed]

    But here is the html that it outputs:

    <h3 class="widget-title">Featured Event</h3>			<div class="textwidget"><a href="http://example.com/event/over-the-rhine-benefit-concert-for-western-reserve-land-conservancy/"></a><div class="tribe-events-event-image"><a href="http://example.com/event/over-the-rhine-benefit-concert-for-western-reserve-land-conservancy/"></a><a href="http://example.com/event/over-the-rhine-benefit-concert-for-western-reserve-land-conservancy/"><img src="http://example.com/wp-content/uploads/2015/06/beach1.jpg" class="attachment-full wp-post-image" alt="Over The Rhine Concert" height="320" width="320"></a></div><h4 class="entry-title summary"><a class="featured-event-link" href="http://example.com/event/over-the-rhine-benefit-concert-for-western-reserve-land-conservancy/">
    Over the Rhine: Benefit Concert for Western Reserve Land Conservancy</a></h4> <div>June 26, 2015</div></div>

    https://wordpress.org/plugins/event-rocket/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Barry

    (@barryhughes-1)

    Hi emather,

    Glad you like it.

    You should not actually need to wrap {thumbnail} in anchor tags – by default The Events Calendar returns a linked image.

    Does that help here?

    Thread Starter emather

    (@emather)

    Yes! That does help here. Sorry, I should have thought to try that.

    Thank you!

    Plugin Author Barry

    (@barryhughes-1)

    My pleasure 🙂

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

The topic ‘widget outputs extra incorrect anchor tag’ is closed to new replies.