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.38% (6.14%*) • Home Loan Fixed: 5.44% (6.26%*) • Fixed: 5.44% (6.26%*) • Variable: 5.38% (6.14%*) • Investment IO: 5.69% (6.52%*) • Investment PI: 5.49% (5.98%*)

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 complimentary 650-page guide on marketing for mortgage brokers. We'll show you exactly how we generate billions in volume for our clients.
Finance Guide, Cropped Top and Bottom
  Timezone: 1 · [ CHANGE ]

Like this article?

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

Leave a comment