#24 Shortcode Pinterest Board

Amy Marsh Is A Fashion Technologist In Training

pinterest

 

Today we will be using shortcodes to import our Pinterest board onto a post on the blog. I am importing our #30daysofcoding board, I first created this board to store inspiration ideas for myself on different sections as well as created images when that post was ready and linking back to the Fashion Technologist when each day task was complete.

 

Adding a Pinterest board to your post ensures your readers see what inspires you and helps give them a better sense of you and your personality. It also advertises your Pinterest which reader may follow and then you can then use Pinterest to drive traffic back to your blog!

 

Let’s get started!

 

 

First to understand shortcodes a bit more you can look at this webpage.

 

Next generate your Pinterest board widget code here.

 

Using the first link generated add this section of code to the bottom of the functions.php file. Insert the link after the equals sign of $pinterest like I have:

 

This sets up the code which will be pulled out and placed in the shortcode.

 

If you have not completed day 6 (fixed social media buttons) you will need to add this code, to the bottom of your footer page just before the closing body tag </body> :

 

 

Add this section of code to the bottom of the function.php file to register the shortcode:

 

 

This is telling the website whenever you see add what is written in between as the content the Pinterest link.

 

To add this pinterest board into a post your can now add, with the link to the Pinterest Board in between each tag:

 

 

 

 

DAY 24 COMPLETE!

Leave a comment with any questions or to submit your progress and make sure to check out the blog tomorrow and see what has changed!

Stay Updated

If you enjoyed this post, subscribe to the Fashion Technologist for updates

What are you interested in?

Discover more:
email course
(blog)Random Banner Ad Featured Image
Screen Shot 2014-06-10 at 17.43.10
two ways to make your site more secure
(feat) theFEED Profiles- RooftopAntics.com
How to change the default media linking option in wordpress
Why I do not like blog posts being By Admin
how to create a wordpress plugin

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">