Single entry view to have next / previous entry
It would be nice to be able to add previouspostlink nextpostlink option to single entry views.
8
votes
![](https://secure.gravatar.com/avatar/eb963316e1e59c3fe1b5f622d3b23e19?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Geet Jacobs commented
I went and built a function to achieve this, I am sure it can be written better and shorter. I did not setup variable options for classes and icons since I needed this fast for a job, but might update the code to allow for more options.
Either way, wanted to share this for anyone else... hopefully the feature is built into GravityView soon=)
https://gist.github.com/Jeradin/b01b3b68ff7b69d957d848fa519a5d66
-
Geet Jacobs commented
Hello again, been trying to hack this for 4 hours now. Is this on the road map or should I keep hacking away?=)