Posted: December 21, 2014 at 9:11 am
|
I have just updated from EE3 to EE4.4.7. Now, when I click on a class and begin the registration process, below the event location and map, there’s a place to “Leave a Reply.” I’d like to delete that EE option (as I have in WordPress). Is there a EE setting or a CSS code I can use to get rid of it easily? |
Hi, Here is a tutorial on how to hide various elements on different pages in Event Espresso 4: https://eventespresso.com/wiki/hide-certain-elements-event-espresso-pages-using-css/ Addendum to tutorial above: https://gist.github.com/lorenzocaum/e807be7a6d69d4cbc951 — |
|
|
I tried reading the tutorial, but it didn’t make much sense to me. I think you might need to be a developer to understand how to put together the code necessary to make this work. I guessed at: .entry-meta .leave-reply{display:none} But that didn’t work. So what is the code I need to paste into My Custom CSS? |
|
Hi, There are 3 ways to do this. 1) In the event editor there will be a section called Discussion. In it is a tickbox for Allow Comments and Allow trackbacks and pingpacks. Untick both and update the event. This will remove the comments (replies) from the event. 2) If you want something more automated, then you could add the following to a site specific function:
More about site specific plugins: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ Note: the above function will only work on NEW events, any old events will have to have their comments turned off manually. 3) This option is CSS, so it won’t disable the comments, but merely hide them. EDIT: this is going to be hard on your particular theme as the comments are outside the content section. As such it will be very difficult/impossible to target the comments for only the events and not elsewhere on the site. I would therefore use option 1 or 2. |
|
I chose option #1. It took a while, but I got it done. (By the way, I have comments turned off throughout the website, so I suspect that option #3 would also have worked.) |
The support post ‘How to Delete "Leave a Reply"’ 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.