Create a page only show past event

Home Forums Calendar Products Events Calendar PRO Create a page only show past event

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #11022
    wayne
    Participant

    Hi, Is that possible to create a page only showcase past events in listing view?

    #11028
    Tineke
    Participant

    Also have this question

    #11029
    Tineke
    Participant

    Found it:

    $loop = new WP_Query( array( ‘post_type’ => ‘tribe_events’, ‘posts_per_page’ => 2, ‘orderby’ => ‘date’, ‘order’ => ‘ASC’, ‘paged’, ‘eventDisplay’ => ‘past’) );

    #11048
    Rob
    Member

    Excellent to hear you found that Tineke.

    Wayne: does that answer your question?

    #11084
    Rob
    Member

    Thanks Tineke. Wayne, let me know if her suggestion gives you what you need.

    #11098
    wayne
    Participant

    May I know wht is the full script to show this loop? sorry, I not familiar with this.. Please help

    ‘tribe_events’, ‘posts_per_page’ => 2, ‘orderby’ => ‘date’, ‘order’ => ‘ASC’, ‘paged’, ‘eventDisplay’ => ‘past’) );

    show content?

    ?>

    #11108
    Rob
    Member

    Let me see if Jonah can chime in on this one, Wayne.

    #11132
    Rob
    Member

    Hey Tineke, do you have what Wayne is requesting here? If you’d be willing to share, let me now…otherwise I can get a dev to jump in.

    #11145
    Tineke
    Participant

    Hey Rob/Wayne,

    My full past-events template code can be found here:
    http://pastebin.com/adA9xEZh

    #11154
    wayne
    Participant

    Hi Tineke, It’s working!

    Thank you very much 😀

    Rob, Thanks for your help too.

    #11167
    Rob
    Member

    Thanks to all involved 🙂 Let us know if any other issues arise.

    #974627
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Create a page only show past event’ is closed to new replies.