Recreate events results, but in a custom WP Loop.

Home Forums Calendar Products Events Calendar PRO Recreate events results, but in a custom WP Loop.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28855
    bravenewmedia
    Participant

    What is the syntax to create the same functionality as the events section, only in a custom loop outside of the “events” files? I would simply like to pull 3 or 4 upcoming events, with the nearest show displayed first. Here’s what I have, and thank you in advance:
    array(‘tribe_events’),
    ‘posts_per_page’ => 3,
    );
    $newsevents_query = new WP_Query($args);
    while($newsevents_query->have_posts()) : $newsevents_query->the_post(); ?>

    The Name of the Show Here

    #28870
    Jonah
    Participant

    This is a duplicate post so I’m closing it.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Recreate events results, but in a custom WP Loop.’ is closed to new replies.