php snippet to remove form from specific slugs
-
Hello!
I have an events calendar on my site (this one, if it matters: https://wordpress.org/plugins/the-events-calendar/).
The Optin Form is displaying on events as if they were posts. Here’s an example: http://www.nwedible.com/event/nwfgs-start-your-own-vegetable-seeds/
Note the Optin Form showing up between the event description and the event details.
I would love to remove the Optin Form from any url with “event/” in the slug. Would prefer not to copy and paste the individual post ID for every event I create. 🙂
Is there a way to do this? I’m thinking maybe a snippet added to the plugins/optin-forms/includes/options-form-placement.php might be the way to go, but beyond that I’m out of my depth and a bit at a loss.
Any ideas? Thanks for any help.
Warmly,
Erica
The topic ‘php snippet to remove form from specific slugs’ is closed to new replies.