You can now display your latest (Pinterest) pins on your blog. This widget lets you choose whether to display your general pins or pins from a specific board. All you need is your profile or board URL and use that in the Pinterest widget builder.
Step 1: Building the widget
- Go to Pinterest widget builder page.
- Select Profile Widget if you want to display general pins, or select Board Widget to display pins from a board. The widget will show up to 30 most recent pins.
- Enter your profile or board URL as prompted.
To get the URL, first go to Pinterest homepage, and then click your icon on top right hand corner (when prompted User URL) or click the board (when prompted Board URL). Copy the URL in your browser’s address bar, paste it into the box and hit Enter key.
- A preview of the widget will appear underneath the builder. You can customize the image size, widget width and height via Advance Settings. The default image size is 92px, widget height is 175px and widget width is set to fit in the widget container.
- Once you’re done customizing, you’ll be given two codes. One code is a HTML link, something similar to this:
and the other one is the a Pinterest script:
Step 2: Adding the widget to a blog
- Adding to Blogger
- Copy the HTML link and the Pinterest script in Step 1, and paste it inside the content box. Your code should look something like this:
<a data-pin-do="embedBoard" href="http://pinterest.com/greenlava/blog-tweaks-and-tutorials/"></a> <script src="//assets.pinterest.com/js/pinit.js"></script>
- The Pinterest script in line 2 must occur only once in your page. Omit this if you’ve already added it somewhere else in your blog.
- Save and view blog.
- Adding to WordPress
- Go to Dashboard > Appearance > Widgets > Available Widgets.
- Drag Text widget into a sidebar.
- Paste in the HTML link and Pinterest script.
- Save and view blog