Support » Everything else WordPress » Expose URL's in archives?

  • I’m getting ready to print out my blog archives (I have stage 4 cancer, so it’s like printing your diary for history purposes…) and in looking back at the archives I was wondering if there was a way to ‘expose’ the actual URL’s in a link? I have them pretty standard:

    <a href="http://www.example.com/some/link.hmtl"> Click here</a>

    I would like to have the actual URL in the show in the archives so that when I print my blog it will be “http://www.example.com/some/link.html&#8221; and not just the “Click here”, because when people look back in a print out, “Click here” makes no sense… lol…

    I have a separate, striped down, theme (no sidebar, no widgets) I’m using for this project, so making crazy alterations is super fine with me. But it goes without saying, the easier, the better!!

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Add:

    a:link:after, a:visited:after { content:" [" attr(href) "] "; }

    to your print.css sheet.

    Thread Starter choco-cookie

    (@choco-cookie)

    Oh excellent! I put it in for the specific div of the entry contents, and it does exactly what I need without exposing the url’s for each entry, or comments, etc (because they aren’t needed since they just refer to themselves…).

    For some of the pictures I used thumbnails that are on the left side of the entries. The URL starts to the right of the thumbnail and sometimes wraps down to the next line. Is there any way to force the url for images only to be under the image, and not next to it? Like forcing a br between the image and url?

    If not, no biggie. Just having the url exposed is a huge help!

    Try changing the CSS I originally suggested to:

    a:link:after, a:visited:after {
    content:" [" attr(href) "] ";
    display:block;
    }

    Have you tried BlogBooker? It is a free service that will create a PDF book of all your blog posts. It automatically gives the URLs in each post as a footnote in the post. Check it out at http://blogbooker.com/

    Rusty

    Thread Starter choco-cookie

    (@choco-cookie)

    Rusty, Blogbooker looks like a good alternative for anyone that hasn’t used WPG2 plugin for over 3 years. Half my images have regular “img src”, the other half has “wpg2” code. I can’t even move my blog to another webhost (easily… it’s sort of like moving to another state…) because of this! Good thing I’m at an inexpensive host 😉

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Expose URL's in archives?’ is closed to new replies.