Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #554578

    Hi,

    I’m looking to add the excerpt to the Upcoming Events area below the Date and Price, I’ve successfully done this by following this thread – https://kriesi.at/support/topic/upcoming-events-plugin/

    As you can see though, the excerpt is attached to the price rather than displayed below it, could you help out please?

    The code is as follows –

    if($image) $output .= $image;
    $output .= “<div class=’av-upcoming-event-data’>”;
    $output .= “<h4 title=’av-upcoming-event-title’>{$title}</h4>”;
    $output .= “<div class=’av-upcoming-event-meta’>”;
    $output .= “<span class=’av-upcoming-event-schedule’>”.tribe_events_event_schedule_details($entry).”</span>”;
    if($price) $output .= “<span class=’av-upcoming-event-cost’>{$price}</span>”;
    if( $price && $venue ) $output .= ” – “;
    if($venue) $output .= “<span class=’av-upcoming-event-venue’>{$venue}</span>”;
    $output .= apply_filters(‘avf_upcoming_event_extra_data’, “”, $entry);

    $excerpt = $entry->post_excerpt;
    $output .= “<span class=’av-upcoming-event-excerpt’>{$excerpt}</span>”;

    $output .= “</div>”;
    $output .= “</div>”;
    $output .= ““;
    }

    Thanks,
    Matt

    #556512

    Hi Matt!

    I checked the link you have provided, but could not see the issue and it redirects to a “Error 404 – page not found” page. Can you provide us a precise link please?

    Best regards,
    Andy

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.