Support » Plugin: The Events Calendar » Show Event date not Post date on search

  • Resolved timwarner69

    (@timwarner69)


    I’ve tried applying the code suggested by Jonah at but I just can’t get it to work. The code suggestion is:

    if(tribe_is_event()) {
    echo tribe_get_start_date( $post->ID, false, ‘D. M j, Y’
    );
    }

    Can anyone help me please? I’m really scratching my head. To bring up the post date & not the event date when searching our site really is no use at all…

    Eg. Try searching for ‘Sunday’ at our site & see what comes up – all our Sunday services are dated 6th Feb!

    Thanks in advance!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor GeoffBel

    (@geoffbel)

    Hey @timwarner69,

    First off, I would like to apologize for the delay answering.
    We are currently experiencing a higher level of requests than usual.

    Please rest assured that we are working hard at correcting this situation.
    We appreciate your patience while we try to normalize things.

    Thank you for reaching out.

    Just to set expectations, the scope of our support is mostly to get our customers started on the right track and to help them in case of issues. We unfortunately do not provide support for customization.

    With that in mind, I do think you are using the correct function.The strategy is to first do the search and return both the post date and tribe date. Once that is done you can filter and sort the results and return the posts displaying only the tribe start date

    Another approach might be the following snippet: https://gist.github.com/cliffordp/23536ca604bca074a9d2f169277cfe59

    Best regards,

    Geoff B.

    Plugin Contributor Courtney Engle Robertson

    (@courane01)

    Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show Event date not Post date on search’ is closed to new replies.