Conversation
review · 5 starsI really like this plugin, it’s really easy and easy to customise even more if you know css (I decreased the size of the panels.) However, when I am at my last post, the tab for Next Post keeps showing this current post, because it’s the last one. Same with the first post when looking at Previous Post. Maybe add an option for looping, or just add a condition and don’t display the tab if it’s the first/last post? 🙂 Thanks!
It’s not the plugin that should dectect anything, this plugin simple uses https://developer.wordpress.org/reference/functions/get_previous_post/ and https://developer.wordpress.org/reference/functions/get_next_post/ Both are WordPress native function, if is not working, it’s because something is wrong in your site.
Thanks for replying. How should it look like for the last post? Do you have a sample website that i can check?
I just changed a few things in the version 2.3.0. Now will force to never show arrows for the same page. Please test this new version.
Great thanks! I’ll mark it as 5 star 🙂 For a future feature, maybe you can let the user choose the width of the left and right panels? For now I changed it in the css (instead of width:250px I put 170 to make them smaller), but it’s just an idea!
It’s not the plugin that should dectect anything, this plugin simple uses https://developer.wordpress.org/reference/functions/get_previous_post/ and https://developer.wordpress.org/reference/functions/get_next_post/ Both are WordPress native function, if is not working, it’s because something is wrong in your site.
Thanks for replying. How should it look like for the last post? Do you have a sample website that i can check?
I just changed a few things in the version 2.3.0. Now will force to never show arrows for the same page. Please test this new version.
Great thanks! I’ll mark it as 5 star 🙂 For a future feature, maybe you can let the user choose the width of the left and right panels? For now I changed it in the css (instead of width:250px I put 170 to make them smaller), but it’s just an idea!