Support

Home Forums Event Espresso Premium Hiding events from an event list

Hiding events from an event list

Posted: October 22, 2015 at 7:02 pm

Viewing 7 reply threads


Khalid Joharji

October 22, 2015 at 7:02 pm

Dear support team,

am using EE4 and am trying to use the event list template variables
https://eventespresso.com/wiki/ee4-shortcodes-template-variables/

in order to show all events and hide few of them for business purposes, but i don’t seem to be able to find the suitable way in doing it. my event list
pdc-gd.com/eventsss/

your support is much appreciated


Lorenzo Orlando Caum

  • Support Staff

October 23, 2015 at 6:27 am

Hi Khalid,

Please give this a try:

https://gist.github.com/lorenzocaum/83ae1ff4748f82c8ad12


Lorenzo


Khalid Joharji

October 23, 2015 at 7:26 pm

wow, you guys are awesome. thank you so much you resolved a big headache that i was going through, i was working more hours to hide and add links manually with very bad design for the past few hours. now the steps are easy with this resolution

awesome support


Khalid Joharji

October 23, 2015 at 7:39 pm

oh! this only works on archive event list which is good but i was hoping to be able to use

[ESPRESSO_EVENTS]

and the event i tagged does not show up


Khalid Joharji

October 25, 2015 at 4:32 pm

Kind reminder,

Thanks


Lorenzo Orlando Caum

  • Support Staff

October 26, 2015 at 10:45 am

Hi, it should still work with the [ESPRESSO_EVENTS] shortcode:

http://cl.ly/image/0Z41450N1A0K

What is the page where that shortcode is in use on and what event should be hidden?


Lorenzo


Khalid Joharji

November 3, 2015 at 8:58 am

the following is the archived page which worked perfectly:
http://pdc-gd.com/eventsss/

compare it with the following link which i used the code [ESPRESSO_EVENTS]
http://pdc-gd.com/current-event/

you will find that for example the following events are visible in the second link but no in the first link
Lean Six Sigma Greenbelt Program (Valparaiso, IN)
Future Global Leader (Corvallis, OR)

Can you advice?

Thanks


Lorenzo Orlando Caum

  • Support Staff

November 3, 2015 at 9:38 am

Hi Khalid,

Try this CSS:

article .tag-hidden { display:none; }

The first solution that I shared is looking for an archives listing page such as example.com/events/.

That is why it isn’t working.


Lorenzo

Viewing 7 reply threads

The support post ‘Hiding events from an event list’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso