[bug] Attachment page next / previous links - v1.9.1


I think I’ve found a bug in Sparkling 1.9.1 with the attachment pages. When I click an image that goes to an attachment page the links that allow the user to go the next image in my blog post have HTML code included on the page. I added an attachment showing what I mean.

And here is the HTML code from the corresponding section of the page.

<nav role="navigation" id="image-navigation" class="navigation-image nav-links">

  <div class="nav-previous"><a href="http://***.com/?attachment_id=123"><i class="fa fa-chevron-left"></i> Previous</a></div>

  <div class="nav-next"><a href="http://***.com/?attachment_id=131">Next <i class="fa fa-chevron-right"></i></a></div>


I hope this is the right place for this type of thing!

This was fixed few weeks ago and updated theme version was submitted to WordPress.org but it’s still pending update.

Meanwhile you can download the latest version from Github as changes there are instant.

Sorry for inconvenience.

Thanks a lot! I didn’t even think of checking Git, only the WordPress releases.