Australia's Leading Digital Marketing Experts. T. 1300 235 433  |  Aggregation Enquires Welcome

Example Interest Rates: Home Loan Variable: 2.54% (2.74%*) • Home Loan Fixed: 3.74% (3.8%*) • Fixed: 2.48% (2.94%*) • Variable: 2.54% (2.74%*) • Investment IO: 2.3% (3.76%*) • Investment PI: 2.04% (3.8%*)

Add Pinterest JavaScript To Every Page In WordPress

This function adds the Pinterest JavaScript to every page in WordPress. It's to support the article here that describes how to add Pinterest Widgets to your WordPress posts or pages with shortcode.

It should only be used if the JS isn't already being rendered.

1
<?php 
2
/*
3
 Add Pinterest JavaScript To Every Page In WordPress
4
 http://www.beliefmedia.com/pinterest-widgets-wordpress
5
*/
6
 
7
8
  echo '<script async defer src="//assets.pinterest.com/js/pinit.js"></script>';
9
}
10
add_action('wp_footer', 'beliefmedia_pinterest_js_footer');

Find other Pinterest posts on our blog with the tag of Pinterest Tag: pinterest.

Download our 650-page guide on Finance Marketing. We'll show you exactly how we generate Billions in volume for our clients.

  AUS Eastern Standard Time (Washington)

  Want to have a chat?
 

Like this article?

Share on facebook
Share on Facebook
Share on twitter
Share on Twitter
Share on linkedin
Share on Linkdin
Share on pinterest
Share on Pinterest

Leave a comment