Support

Home Forums Event Espresso Premium Remove comments from Venues

Remove comments from Venues

Posted: September 23, 2014 at 4:44 pm

Viewing 3 reply threads


ATD Cascadia Chapter

September 23, 2014 at 4:44 pm

I’m trying to remove comments for Venues. I’ve copied my single-espresso_venues.php files to my child theme to edit but when I do to remove the comments the CSS styles aren’t loaded and the page is way off. I’ve done the same with the single events and it works fine (no comments are possible).


Garth

  • Support Staff

September 23, 2014 at 9:36 pm

Hi,

Can you give us a link to the venue page in question? What theme are you using? When I turn off commenting for venues with the 2012 theme (via the venue Discussion settings), things work like a charm.


ATD Cascadia Chapter

September 24, 2014 at 4:54 pm

Hi Garth,

I was looking for a way to do it site wide (we have many managers for many events / venues) so that it just wouldn’t ever show up. The discussion settings for the event do work but it’s another thing to train and notice. Would be nice if there was settings somewhere to turn off commenting site wide for events and / or venues.

Thanks


Lorenzo Orlando Caum

  • Support Staff

September 24, 2014 at 5:37 pm

Hi,

Try this using your preferred SFTP or FTP client (Cyberduck and Filezilla are free options):

1) Duplicate your page.php file (or equivalent) for the page template

2) Rename to single-espresso_venues.php

3) Open the file for editing. You should see a line of code that is calling the content. Replace it with this:


4) Remove or comment out the line of code for comments and then save changes.

That will permanently remove the comments from your venues page.


Lorenzo

Viewing 3 reply threads

The support post ‘Remove comments from Venues’ 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