show all the hidden events

Home Forums Calendar Products Events Calendar PRO show all the hidden events

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1147523
    Peyman Akhondzadeh
    Participant

    Hi, How do I show, on a single page, all the hidden events? Just the hidden events only.

    #1147869
    Cliff
    Member

    Hi. I’m unclear what you’re referring to by “hidden events”. Could you please provide some links and/or annotated screenshots so I can better understand?

    #1148056
    Peyman Akhondzadeh
    Participant

    Hide-From-Event-Listings

    Hi, When I hide an event it wont show in the main events listings, that is perfect.

    But is there a way I can list those hidden listings on a page? I would like to list all the hidden events on a separate page from the events page.

    This link shows all my events, less the hidden ones:
    https://thetudorhouse.gallery/events/

    I would like a similar page to ONLY show the hidden events.

    #1148088
    Cliff
    Member

    That checkbox creates  a boolean value for the _EventHideFromUpcoming meta key, so you could use tribe_get_events() — additional reference — along with https://codex.wordpress.org/Class_Reference/WP_Query#Custom_Field_Parameters

    However, it sounds like you’re just using that checkbox like an Event Category.

    You might want to give Event Categories a try and see if they provide you enough of what you’re wanting that you don’t need to custom code anything. For example:

    However, if you do use Event Categories, you’d probably then want custom code to redirect http://wpshindig.com/events/ to http://wpshindig.com/events/category/wp-meetups/

    So at least you have two options (both of which need custom coding).

    Let me know how it goes for you.

    #1148556
    Peyman Akhondzadeh
    Participant

    As I don’t really know much about coding; your 1st option is beyond me.
    I used the 2nd option and it kinda does the job. but on the events page all events are shown & that’s something I don’t want.

    Thanks for the advice. If you can think of another solution please do let me know.

    #1148642
    Cliff
    Member

    I understand.

    You could use Event Categories, as described, and then redirect /events/ to /events/category/wp-meetups/ using a plugin like Redirection (third party so not guaranteed or supported by us).

    Let me know if you need anything else.

    #1156858
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘show all the hidden events’ is closed to new replies.