Support

Home Forums Event Espresso Premium Hide People

Hide People

Posted: November 19, 2017 at 9:37 pm

Viewing 6 reply threads


lupineart

November 19, 2017 at 9:37 pm

Hey guys,

What CSS would I use to hide the People info in the event lists but show them in the individual event posts?

Thanks, Derek


Tony

  • Support Staff

November 20, 2017 at 9:07 am

Hi there,

I wouldn’t use CSS for that.

Are you using custom templates for the event list? I’m guessing not but if so this may not work.

Go to Event Espresso -> Events -> Templates

Under the Event List Pages section set the ‘Use Custom Display Order?’ to Yes and save.

Then add this snippet to your site in a Custom Functions Plugin:

https://gist.github.com/Pebblo/5d7602fcfb58317af04bb44a1e6a04a8


lupineart

November 20, 2017 at 10:31 am

Thanks, Tony. I think we may be using custom templates, I can’t recall, it’s been awhile since working on that.

I added and get this error:

Parse error: syntax error, unexpected ’10’ (T_LNUMBER) in /home/dereklupineart/public_html/wp-content/plugins/site-plugin/customizations.php on line 76


lupineart

November 20, 2017 at 10:42 am

Sorry – I thought I sent the screenshot as well:

https://www.dropbox.com/s/zchn9pgzqsqtpfu/Screenshot%202017-11-20%2009.30.38.png?dl=0

Thanks, Derek


Tony

  • Support Staff

November 20, 2017 at 10:53 am

My apologies, the gist has been updated (school boy error)

Please test the new code.


lupineart

November 20, 2017 at 11:42 am

Seems to have worked, thanks


Tony

  • Support Staff

November 20, 2017 at 2:35 pm

You’re most welcome.

Viewing 6 reply threads

The support post ‘Hide People’ 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