RBA Cash Rate: 4.35% · 1AUD = 0.67 USD · Inflation: 4.1%  
Leading Digital Marketing Experts | 1300 235 433 | Aggregation Enquires Welcome | Book Appointment
Example Interest Rates: Home Loan Variable: 5.20% (5.24%*) • Home Loan Fixed: 5.48% (6.24%*) • Fixed: 5.48% (6.24%*) • Variable: 5.20% (5.24%*) • Investment IO: 5.78% (6.81%*) • Investment PI: 5.49% (6.32%*)

AdSense Shortcode

This is an early WordPress snippet we included on Internoetics. We recommend you visit our AdSense Plugin for a more robust solution.

1
<?php 
2
/*
3
 AdSense Shortcode
4
 http://www.beliefmedia.com/code/wp-snippets/adsense-shortcode
5
*/
6
 
7
function beliefmedia_display_adsense() {
8
 return '
9
<p align="center"><script type="text/javascript"><!--
10
  google_ad_client = "pub-4628247728391656";
11
  /* Internoetics_468x60 */
12
  google_ad_slot = "7478088496";
13
  google_ad_width = 468;
14
  google_ad_height = 60;
15
  //-->
16
  </script>
17
  <script type="text/javascript"
18
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
19
  </script>';
20
}
21
add_shortcode('adsense', 'beliefmedia_display_adsense');

Usage is with [adsense]. Create as many shortcodes as necessary to support each instance of an ad block... a messy solution. Again, check out our plugin.

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

  E. Australia Standard Time [ UTC+10, Default ] [ CHECK TO CHANGE ]

  Want to have a chat?
 

Like this article?

Share on Facebook
Share on Twitter
Share on Linkdin
Share on Pinterest

Leave a comment