Print button redirects to another page
-
I’m having a problem where on pages that list blog posts (ie. blog landing page and home page where we’re showing the latest posts), the print icon seems to be redirecting to the last listed blog post.
I notice that on all other pages, the code generates a “#” link:
<div class="printfriendly pf-alignleft"><a href="#" rel="nofollow" onclick="window.print(); return false;" class="noslimstat"><img style="border:none;-webkit-box-shadow:none; box-shadow:none;" src="https://cdn.printfriendly.com/button-print-gry20.png" alt="Print Friendly" /></a></div>
But on the pages that list blog posts, it’s linking to the blog post first and only then does the print/pdf dialogue box pop up.
I’ve reviewed the loop for the posts and the url is properly closed with a
</a>
, does anyone know what else could be causing this issue? You can see here https://figureskatinginharlem.org (and on the /blog page)
- The topic ‘Print button redirects to another page’ is closed to new replies.