Home › Forums › Calendar Products › Events Calendar PRO › show all the hidden events
- This topic has 7 replies, 4 voices, and was last updated 9 years, 8 months ago by
Peyman Akhondzadeh.
-
AuthorPosts
-
August 4, 2016 at 7:15 am #1147523
Peyman Akhondzadeh
ParticipantHi, How do I show, on a single page, all the hidden events? Just the hidden events only.
August 4, 2016 at 3:42 pm #1147869Cliff
MemberHi. 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?
August 5, 2016 at 4:20 am #1148056Peyman Akhondzadeh
Participant
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.
-
This reply was modified 9 years, 9 months ago by
Peyman Akhondzadeh.
August 5, 2016 at 5:41 am #1148088Cliff
MemberThat 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:
- http://wpshindig.com/events/ all events (“Hide” events and “Show” events) would be visible here and in search results
- http://wpshindig.com/events/category/learning/ a category (like “Hide”)
- http://wpshindig.com/events/category/wp-meetups/ another category (like “Show”) — this could be the link in your site’s menu so it’s where visitors would end up by default
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.
August 6, 2016 at 1:57 am #1148556Peyman Akhondzadeh
ParticipantAs 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.
August 6, 2016 at 2:10 pm #1148642Cliff
MemberI 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.
August 28, 2016 at 9:35 am #1156858Support Droid
KeymasterHey 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 -
This reply was modified 9 years, 9 months ago by
-
AuthorPosts
- The topic ‘show all the hidden events’ is closed to new replies.
