Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Hyperlinks to PDF not working on Page

Hyperlinks to download PDF not working on Pages. They do work fine in Posts. I have them set up via FTP, not through media library - but I have the same problem when I upload through media library. The <a ref> links are set up properly. They seem to be working fine in Safari. When in Chrome they initially work, but when come back to the page they are not clickable. I'm also told they don't work in IE. I'm inclined to think it's a browser issue, but it puzzles me that PDFs always work fine in Posts, but not Pages. I did not set up the site, so maybe it's in the backend code, but can't seem to find anything. Any help would be appreciated. Thank you!

Sara Hardy
Sara Hardy
8,650 Points

Do you have an example you can show? It's difficult to know what's wrong without seeing it.

3 Answers

Sara Hardy
Sara Hardy
8,650 Points

The issue appears to be related to the social bar directly above your content. There is an iframe for the facebook like button. When the button shows, the links work, but then the button turns into a log in link. Once this happens, the iframe expands and essentially covers the paragraphs below. It's transparent so you can see the links, but you cannot interact with them because when you click, you are actually clicking on the iframe above.

My suggestion is to remove the social bar and test the links. If this works, you need to dig in to find out why the facebook button is doing this.

Thanks for responding. It's the 2 hyperlinks in body of this page: http://www.whenworkworks.org/what-is-effective

Thanks so much! I see how the button is changing. It's a plugin, so not sure how much I can do, but I'll give it a shot.