Title: afonso.duarte's Replies | WordPress.org

---

# afonso.duarte

  [  ](https://wordpress.org/support/users/afonsoduarte/)

 *   [Profile](https://wordpress.org/support/users/afonsoduarte/)
 *   [Topics Started](https://wordpress.org/support/users/afonsoduarte/topics/)
 *   [Replies Created](https://wordpress.org/support/users/afonsoduarte/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/afonsoduarte/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/afonsoduarte/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/afonsoduarte/engagements/)
 *   [Favorites](https://wordpress.org/support/users/afonsoduarte/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mobile Theme Ads for Jetpack] Can't get it to work](https://wordpress.org/support/topic/cant-get-it-to-work-35/)
 *  Thread Starter [afonso.duarte](https://wordpress.org/support/users/afonsoduarte/)
 * (@afonsoduarte)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/cant-get-it-to-work-35/#post-4469886)
 * Hi!
 * [http://unsuspectingbit.com](http://unsuspectingbit.com)
 * Tried it in a few combinations, but, no luck yet.
 * I only managed to get async ads showing. I’ve altered your code:
 * function jp_mini_ads_show_ads( $content ) {
    $options = get_option( ‘jp_mini_ads_strings’);
   $ads = ‘ <script type=”text/javascript”> <!– google_ad_client = “‘. $options[‘
   google_ad_client’] .'”; google_ad_slot = “‘. $options[‘google_ad_slot’] .'”; 
   google_ad_width = ‘. $options[‘google_ad_width’] .’; google_ad_height = ‘. $options[‘
   google_ad_height’] .’; //–> </script> <script type=”text/javascript” src=”//pagead2.
   googlesyndication.com/pagead/show_ads.js”></script> ‘;
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Adsense Explosion] [Request] – Mobile ads (w/ suggestion inside)](https://wordpress.org/support/topic/request-mobile-ads-w-suggestion-inside/)
 *  Thread Starter [afonso.duarte](https://wordpress.org/support/users/afonsoduarte/)
 * (@afonsoduarte)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/request-mobile-ads-w-suggestion-inside/#post-4470659)
 * That’s too much from me. Can’t really code 🙂
    I’ve tried async ads but it really
   it’s a hit or miss, out of the box.
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)