Remove events from WP search

Home Forums Calendar Products Events Calendar PRO Remove events from WP search

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1113526
    Donna
    Participant

    How do I remove events from showing up in the regular WP search? Right now when visitors do a search tons of past events show up before posts and pages making the search useless. If there’s a way to remove past events only, great otherwise isolating the calendar events to the calendar search only is what I need please. Thanks!

    • This topic was modified 9 years, 11 months ago by Donna.
    #1113616
    Geoff B.
    Member

    Good evening Donna and welcome back!

    Thank you for reaching out to us.

    We are sorry to hear about the events showing up on your search results if this is not what you intended.
    I would love to help you with this topic.

    There are a couple of ways to go about this:

    1. Use a code snippet such as the one suggested here: https://theeventscalendar.com/support/forums/topic/want-to-remove-events-on-calendar-from-search-results/#post-33175
    2. Use a search customization plugin such as the ones listed here: http://www.wpbeginner.com/showcase/12-wordpress-search-plugins-to-improve-your-site-search/

    Let me know if that helps.

    Have a great day!

    Geoff B.

    #1113730
    Donna
    Participant

    Thank you!

    #1114129
    Geoff B.
    Member

    Hey Donna,

    I’m glad this helped you achieve what you are looking for.

    You are welcome back on our support forums any time 🙂

    For now, I am going to close this thread.

    Have a great week!

    Geoff B.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Remove events from WP search’ is closed to new replies.