Custom JS question.
I have a blog site that features the latest blog posts on the homepage. And an artist page featuring blog posts related to the artist.
The blog post template will have a next and previous button, but depending on whether it was selected from the homepage or artist page, what comes next in the order will change.
My question is, is there any custom JS we can add to make this possible? And if there is anyone willing to set this up for me. Let me know your rates.