search results permalinks are off

Home Forums Calendar Products Events Calendar PRO search results permalinks are off

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #24372
    Isaac
    Participant

    when i search the events do come up and descriptions but the urls are off when there is a recurring event. i’ve also tried tribe_get_link and i get the following: event/event-3/1970-01-01. with 1970 date.

    #24416
    Barry
    Member

    Hi Isaac, thanks for reaching out to us. Can I just clarify the problem with search?

    Let’s say you have a recurring event called “Recurring Test” which recurs 10 times. The entry for “Recurring Test” in the search results will have a slightly different permalink to those shown in the calendar (which contain an additional eventDate parameter) but it will basically link you to the single event view for the first recurring event in the series.

    Are you experiencing something different? I just want to be sure I am understanding the problem correctly.

    Thanks!

    #24420
    Isaac
    Participant

    okay yes when i search for a specific event that is recurring. i get the url above. e.g. search for: Ignite. pulls up ignite-3/1970-01-01. so are you telling me all i need to do is append the evenDate to the url and it will work? let me try and will post results.

    #24421
    Isaac
    Participant

    know when i say search i am meaning wordpress search function

    #24429
    Isaac
    Participant

    sweet that worked. below is my code if anyone else needs it. I used this for permalink in search loop.

    $permalink = (tribe_is_recurring_event()) ? get_permalink() . tribe_get_start_date( $post->ID, false, ‘Y-m-d’ ) : get_permalink();

    #24431
    Barry
    Member

    okay yes when i search for a specific event that is recurring. i get the url above. e.g. search for: Ignite. pulls up ignite-3/1970-01-01. so are you telling me all i need to do is append the evenDate to the url and it will work?

    I think we are experiencing different things – or perhaps I am misunderstanding you, but either way I can’t see malformed URLs such as you are describing.

    Since you are working on a local installation (I think) and can’t provide a URL for me to look at it is difficult to say … that said if you are happy with your solution (above) then that’s great – but please don’t hesitate to reply if you need further help 🙂

    #24433
    Isaac
    Participant

    yes happy so far. when you said eventDate made a light bulb go off so figured it out 🙂 thanks Barry.

    #24436
    Barry
    Member

    No prob – glad you’ve got it sorted 🙂

    #977661
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘search results permalinks are off’ is closed to new replies.