• Resolved Hans Schuijff

    (@hanswitteprins)


    Hi,

    I’ve been looking for a way to add the event date to the next and previous event links on the single event page. By default it only shows the title, but I need it to show the event date too.

    Anyone know of a snippet that can change that?

    Thanks,

    Hans

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

    (@jentheo)

    Hi Hans!

    It would be possible to add the date with a customization. You could do this with a template override, as described in our themer’s guide, or by using a filter. Our developer documentation would be the best place to start if you would like to give this a shot:

    • Themer’s guide
    • Filter reference
    • As customizations are beyond the scope of our support policy, I’m afraid that we won’t be able to assist with implementing this directly, though I hope that this is helpful! Please let us know if you have any other questions.
      Thanks,

      Jennifer

    Thread Starter Hans Schuijff

    (@hanswitteprins)

    Hi Jennifer, @jentheo, I had already looked into the code a bit, but the hook I tried (tribe_get_next_event_link) only offered the link and the event_id of the reference event. Sometimes these things are already done by others, so I tried, but no problem.

    I looked into it some more and found a solution in using the ‘tribe_events_get_event_link’ hook.

    Thanks for answering.

    Hans

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘date in prev and nex event link’ is closed to new replies.