Support

Home Forums Event Espresso Premium Removing expired tickets without deleting them so they are not searchable.

Removing expired tickets without deleting them so they are not searchable.

Posted: May 24, 2018 at 1:17 pm

Viewing 6 reply threads


Matrixparents

May 24, 2018 at 1:17 pm

We are using EE 3.1.37 and WP 4.9.6. Can we upgrade to EE4 so we can use the expired ticked option? I made screenshots of our active plugins I can send if there is a place to attach. Our current website is delicate and a new site is in progress.

If we cannot upgrade safely, how else can we stop expired events from resurfacing? We prefer to archive them without having them show up in searches.

If we can’t upgrade, can we use redirects? Or…is there a plugin that will work to hide expired posts and tickets? We need a solution.


Josh

  • Support Staff

May 24, 2018 at 1:28 pm

You should be able to upgrade to EE4. There’s more information about upgrading to EE4 here:

https://eventespresso.com/wiki/how-to-upgrade-event-espresso/#migrate-to-event-espresso-4


Matrixparents

May 24, 2018 at 2:10 pm

Thank you for responding Josh. I visited the link and read about the migration process. It sounds like it could be too complicated for us to do this right now.

Do you think it would work to do redirects of the older posts to the newer ones? Is there a plugin you can recommend to hide expired posts that would work with EE 3.1.37 and WP 4.9.6? Since our new site is being designed, we want to keep things simple yet still fix this issue somehow.


Josh

  • Support Staff

May 24, 2018 at 3:18 pm

It might help if you can share an example of an expired EE3 post that’s showing up in searches. Normally Event Espresso 3 events are not posts, but there is a way to make posts from events with EE3. Before I assume anything and give you a solution that won’t even apply to your site, can you share an example?


Matrixparents

May 24, 2018 at 4:25 pm

Hi Josh,

We create events that also become posts. It happens when people do a search on our homepage for a current event and old expired posts with the same event name appear.

What I did in a pinch was to do screenshots of each page that was showing up and delete the posts. Not ideal but we needed them to stop showing up. Any ideas for future event posts would be appreciated. As I mentioned, we are having our site redesigned so things will improve in a couple of months.

http://www.matrixparents.org/?s=Milers

thanks much

  • This reply was modified 6 years, 4 months ago by Josh. Reason: fixed image links


Josh

  • Support Staff

May 25, 2018 at 12:46 pm

You can add the following code to your site and the posts for expired events will not appear in the site’s search results:

https://gist.github.com/joshfeck/a140a2c8ca533504512bbdc8762cd156

You can add the above to a functions plugin or into your WordPress child theme’s functions.php file.


Matrixparents

May 25, 2018 at 5:30 pm

Thank you Josh. This is over my head but it’s good to know there is a solution. Much appreciated!

Have a great weekend.
Angela

Viewing 6 reply threads

The support post ‘Removing expired tickets without deleting them so they are not searchable.’ 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