Next Previous Event Links
-
I want to be able to have users go from detailed event page to the next detailed event page, in calendar order, rather than having to go back to the full event calendar. I was able to add the code to single.php to add a link to the next event and the previous event. It works.
However, since I added and edited my events in a non linear process, the next previous links don’t transition in strict calendar order, which is what I want. They skip around based on some as yet undetermined (by me) index.
In a clone test site, I tried changing (one at time) the em_events database entries “event_id” and “post_id”. I did this carefully, making sure not to create any duplicates. In looking at the database I was able to determine that the events proceeded properly until there was a discontinuity in the event_id. I was able to adjust the event_id in the database so that the next event had the proper event_id sequence. However, when transitioning through the events after the change, the next link did not change at all. Even though its event_id was different. I repeated the test using post_id but that had no affect either.
Any suggestions?
- The topic ‘Next Previous Event Links’ is closed to new replies.