How to Display 2 adsense unit in one place

Posted in: Newspaper
Post count: 44

Hello sir,
I want to use 2 adsense unit in one ad place.
Like if we select article top place and want to display two 200×90 ad link unit in same row.
Or like two 300×250 in same row.

By default when i try to add 2 ad code in theme panel ad place then it shows only one in front end/

Post count: 1291

Hi,

Only one spot can be used for one adsense ad, so you have to use two spots.
To display two ads on the article top section you have to modify the code and add one of the custom ad places there, ex – http://screencast.com/t/loSdI76rWzhttp://pastebin.com/iPvaAdH3

And place the second ad code in Theme Panel -> Ads -> Custom Ad – http://screencast.com/t/IiyPFHQq

Thank you!

Post count: 30

Hi,

I would like to place the addthis social button below of “Article Top Ad”.

From this http://www.screencast.com/t/d4KMgSwa4

to this http://www.screencast.com/t/9INlNVIkMoU

Currently i modified loop-single.php as this. Please advise how to achieve, thanks.


<?php echo $td_mod_single->get_social_sharing_top();?>

<div class="td-post-content">

<!-- Go to www.addthis.com/dashboard to customize your tools -->
<div class="addthis_jumbo_share"></div>

<?php
// override the default featured image by the templates (single.php and home.php/index.php - blog loop)
if (!empty(td_global::$load_featured_img_from_template)) {
echo $td_mod_single->get_image(td_global::$load_featured_img_from_template);
} else {
echo $td_mod_single->get_image('td_696x0');
}
?>

Post count: 22421

Hello,
The best method to get this done is to remove the article inline ad and simply add a custom ad with a shortcode in the loop file like so:
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?> and then simply add your plugin shortcode under it.
http://screencast.com/t/vwwYCywXTsG
Thank you!

Post count: 11

Hey sorry for digging that out but what if I want to add second in article ad?

Post count: 11

I resolved it on my own. Please delete both my posts. (didn’t find the edit/delete button for my entry)

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.