Home › Forums › Calendar Products › Events Calendar PRO › search results permalinks are off
- This topic has 8 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
August 30, 2012 at 3:21 pm #24372
Isaac
Participantwhen 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.
August 31, 2012 at 11:01 am #24416Barry
MemberHi 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!
August 31, 2012 at 11:36 am #24420Isaac
Participantokay 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.
August 31, 2012 at 11:36 am #24421Isaac
Participantknow when i say search i am meaning wordpress search function
August 31, 2012 at 12:05 pm #24429Isaac
Participantsweet 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();
August 31, 2012 at 12:31 pm #24431Barry
Memberokay 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 🙂
August 31, 2012 at 12:33 pm #24433Isaac
Participantyes happy so far. when you said eventDate made a light bulb go off so figured it out 🙂 thanks Barry.
August 31, 2012 at 12:55 pm #24436Barry
MemberNo prob – glad you’ve got it sorted 🙂
July 7, 2015 at 6:26 am #977661Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘search results permalinks are off’ is closed to new replies.
