WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm attempting to create a print.css stylesheet for my site and I'm running into an interesting problem.

When I print any page on my site, all the links on the page are printing the URL directly next to it and it's causing all kinds of styling issues. At first I thought it might be my browser or printer, but other sites don't have this issue. Is there some setting in the admin section to remove these? I'm using the Boilerplate theme, which may be causing this issue.

share|improve this question
Close-voted as off topic. This is a CSS (or a browser) question, not a WordPress question. – Chip Bennett Feb 21 '12 at 16:03

There is probably some code like this in your stylesheet:

@media print
        content: " (" attr(href) ")";

Remove it and the URLs are not printed anymore.

share|improve this answer
Most definately a possible cause, good thinking.. +1 .. – t31os Jul 31 '11 at 13:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.