Venue Not Showing Up in Custom Loop

Home Forums Calendar Products Events Calendar PRO Venue Not Showing Up in Custom Loop

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #50570
    336creative
    Participant

    I’m running a loop to show 4 upcoming events on my theme’s homepage. Everything is working (title, date, ticket info, cost, etc.), except for the Venue name. I’m using ID, true);?> to try and get the Venue name, but to no avail. Can anyone help!?

    The full loop is as follows:
    ‘upcoming’, ‘posts_per_page’=>4));
    foreach($events as $post){
    setup_postdata($post);
    ?>

    <a href="”>’event-image’));?>

    ID, true);?>

    ID, true, ‘M j, Y’); ?>
    Tickets:

    <a href="” class=”event-buy-button”>Buy Tickets

    #50625
    Barry
    Member

    Hi!

    You may need to share your code by sharing a link to a snippet on Pastebin, Gist or similar – code doesn’t really show up nicely in this forum, unfortunately.

    #50626
    336creative
    Participant

    Ah didn’t think about that. Thanks for the heads up!

    I was actually able to figure it out! Thanks though!

    #50627
    Barry
    Member

    No problem, great you figured it out – and, in that case, I’ll close the thread 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Venue Not Showing Up in Custom Loop’ is closed to new replies.