In list view, Previous Events is show right at the bottom. Our past events are very important, so I would like to duplicate this link at the top of the list.
I have looked in
/plugins/the-events-calendar/src/views/list
and subsequently content.php, loop.php and nav.php
But I cannot see any line near the bottom which calls this Previous Events link, that I could copy and paste up nearer the top.
Could you please point me in the right direction? Thanks very much.
I can give you a rough idea on how to go about adding the navigation links above the events, but please note our support on these types of customizations is limited. After some quick testing, I was able to successfully add the navigation above the list of events on /list/ view by editing /the-events-calendar/src/views/list/content.php. I copied lines 57-64 and pasted them on line 18. Once I refreshed my /list/ view, the navigation links displayed as desired.
Make sure and follow our Themer’s Guide when making customizations to avoid losing them when updating our plugins.
I hope this helps and best of luck. Have a great rest of your weekend!
It was actually the lines a little earlier in content.php I needed, but I figured it out. This worked perfectly. Much appreciated, thanks for pointing me in the right direction.
Glad to hear you got it figured out and I’m happy I could assist. I’ll close this thread out but feel free to open a new one if anything else comes up. Have a great week!
Author
Posts
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘List View – Previous Events link at top’ is closed to new replies.