2 ads below post content

Posted in: Newspaper
Post count: 5

Hi,

I want to add one more ad along with Adsense in ‘Article bottom ad’ area. For example, after the adsense, content.ad should appear.
Both don’t work together, but if I remove one, other one is working.

Is there a way to make it work?

Or at least above the ‘Related posts’ area?

Kindly support

Post count: 23312

Hello dineshj,

If you want to add another ad at your post page, please notice that you should use the do_shortcode() method for adding this. So, for example, if you are using the post template 1, you should edit the loop-single-1.php core file and add there this snippet of the code
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>, like this -> http://screencast.com/t/lbgwZwsa and the result you should see here -> http://screencast.com/t/5rMIpkZfbN
Also, please ensure that you have added your desired ad code in your Custom Ad 1 from the panel is you want to bring some results, like this -> http://screencast.com/t/j4No7tRvo

Hope this helps!

Thanks for your understanding!

Post count: 5

Hi Catalin,

Yes, that works. but only on desktop. It is not working on mobile version. by the way, I have mobile plugin under theme settings.

Should I do somewhere else to make it work on mobile?

Post count: 22421

Hello,
Unfortunately the mobile thee is an entirely different thing altogether. The method above will not work on the mobile theme as it uses a visual composer shortcode. The mobile theme does not use visual composer. There is no easy way of adding new ad spots in the mobile theme.
Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.