Pinterest has a ‘Pin It’ button available for websites in the ‘Goodies‘ section now. It’s much like the Twitter and Facebook buttons you see EVERYwhere. I added a bit so you can use it in your WordPress theme.
With the following code this button can go on your index, single or archive pages – anywhere the WordPress loop appears. It will automatically pull the first image from the post to be pinned and link to the post’s permalink. The title of the post along with the website url will appear in the description field but can be edited before it’s posted.
Place this code in your template where you want the ‘Pin It’ button to appear – it should be inside The Loop.
You can change /images/default.jpg to whatever you’d like. This image will be pinned if there’s not an image in the post.
Be really careful in your functions.php file, it’s a little touchier than what you might be used to. The first thing I ever broke in one was putting a space after the closing ?> – it’ll break your whole site! Always back up your files before you start changing things.
Easy as that, happy pinning!
P.S. Before you ask a question about your WordPress theme please do a quick google or codex search – If you still can’t figure it out ask away and I’ll try my best to help when I can!
Due to Pinterest’s huge popularity now, there are tons of plugins available that will do this for you. I just did a quick search and this one looks good. WP Beginner also shows a different method that doesn’t involve the function file.
Hello! I’m on a short hiatus from making binders and templates these days to take care of baby but I’m always on the hunt for cool ideas and inspiration. My fave site to post links is Pinterest – follow my DIY Planner and Printable boards if you’re on there too!
Know of an awesome handmade planner that I’m sorely missing out on? Please share in the comments!
Meet Rebecca, handmade by Ann Wood. She was my Christmas present year before last from Sam!
Visit Ann’s website to see more birds, ships and owls – all gorgeous! If you want to purchase something though you should subscribe to her RSS, email list and twitter. And be prepared to drop everything and buy RIGHT AWAY when something new goes up. It’s gone fast, for good reason.
Two months ago she did a Vintage fabric give-away on her blog, out of over 100 people to enter I was one of 5 winners! I was shocked to find this huge box of fabric outside my door –
So nice. Still trying to decide what to make, I’ll keep ya posted. xo
I saw a post on Julia Pott on Doodlers Anonymous the other day and FELL IN LOVE! She was having a sale (should’ve posted this before it was over, it’s still super affordable tho!) – So, I bought myself two and one for a gift for my sister for her birthday (surprise!). The two I ordered are below, check her shop for LOADS more!
Aren’t they wonderful?!
I was apparently on a crazy shopping spree ’cause I bought these shoes after seeing them on a Design Sponge post by guest author, Rei Jin.LOVE.
In other news, I’ve decided to TRY and update my blog more often and lighter. Changed the layout of this area a little so it’s not connected with the featured posts on the main page. Before I felt like every post had to be oh-so-important, now I’m just going to write whatever I feel like and not worry about it!