Displaying Pinterest Boards

Permalink 1 user found helpful
Pinterest has an API that enables you to publish 'boards'. Here's an example. http://www.johnmcbride.com/pinterest/...

In PHP, you simply include this...
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>

and then you can display any board you want like so...
<a data-pin-do="embedBoard" href="http://pinterest.com/jrmcb/flori-daze/"></a>

Can this be done in C5? If so, what's the best way to do it? (Sorry if this is a dumb question, but I don't use C5 as much as I'd like to...)


View Replies: View Best Answer
formigo replied on at Permalink Best Answer Reply
Use the content block and paste this into the html view. Adding a space between <a ...> and </a> will ensure TinyMCE keeps it and you can save it. Without the space the anchor syntax gets stripped out I think.

Hope that helps

JohnPDX replied on at Permalink Reply
It worked! And for reasons I don't fully understand, javascript must follow the anchor tag(s). The script only needs to be loaded only once, but works best if it's the last line in the HTML block.

Here it is...http://maccaplighting.com/gallery/...

MrGrowBizz replied on at Permalink Reply
Hey JohnPDX,

Where did you put the PHP script for displaying the pinterest boards, what file? Thanks, Tim
JohnPDX replied on at Permalink Reply
You just add an html block to the page where you want the Pinterest board to appear. Like so <a data-pin-do="embedBoard" href="http://pinterest.com/myPinterestAccountName/myPinterestBoard/"></a>

Of course you replace 'myPinterestAccountName/myPinterestBoard/' with your Pinterest account name and your Pinterest board name.

BTW, I'm still not sure this is a wise move with respect to SEO. Better to have folks pinning your pictures. You can't pin an embedded pin.

Good luck!
MrGrowBizz replied on at Permalink Reply
Thanks Much!
igrieves replied on at Permalink Reply
Hi John

Your post was very useful as now have one board up on my site using


My customer however has multiple boards and these are found at:


Putting in this link makes the Pinterest displayer not work as i think it needs a last board name.

Do you happen to know how to route it to the top level board summary please?

JohnPDX replied on at Permalink Reply
This is new to me. Let me do some digging. Thanks for update.