I get emails pretty often about how I added the “Send to Instapaper” link next to the date on single post pages here on Forkbombr.
First of all, there is a great Wordpress plugin named Instapaper Read Later Links that will add a “Read Later” button to posts. This button’s placement can be adjusted via CSS fairly easily.
However, I couldn’t find a place where the button didn’t seem massively out of place with Forkbombr’s design. After digging through Marco Arment’s documentation for publishers and asking around a bit, I got the text links working.
The Code
Here’s the code, as a text file.
It works just like a normal link, with destination, title and rollover information. I’ve kept it pretty simple.
Adding the link is as simple as placing this in the appropriate Wordpress template PHP file. Mine is present in the single.php file, so it is only present on individual post pages, below the date and category information. In my opinion, a link is a lot cleaner looking than a “Read Later” button.
How it Works
The link takes the reader to a new page, asking them if they want to add the article to their Instapaper queue. It then redirects them back to article on my site. While this isn’t a streamlined as Instapaper’s bookmarklet, it’s great for those who may be reading Forkbombr in a browser without their bookmarklet configured.
Happy reading.