I want to insert an ad block underneath the articles

Posted in: Newsmag
Post count: 3

Hi guys

I want to basically insert an ad block after the articles but also after the share buttons at the bottom and above the related content.

This will be for RevContent.

I’m not sure how to do it so any help would be really appreciated 🙂

I’m loving the theme by the way, it blows all others out of the water!!!

Post count: 3

I’ve sorted this now 🙂

Post count: 15

Hi Ben,

Interested to know how you implemented this? Was it via the theme panel or hard coded into the theme?

Cheers, Sas

Post count: 6535

HI

To display an ad above related article you need to edit the file corresponding with post template used and echo out a custom ad-spot. To get the shortcode add an ad box into a blank page then switch in back-end editor copy and paste this code: http://screencast.com/t/Kcqsjk9C7xbU inside do_shortcode function.
The code should look like here: http://screencast.com/t/uyT7fX4Rk

<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]'); ?>

Thanks!

Post count: 15

Hi Andrei,

That worked perfectly. Thank you very much for your solution 😉

Cheers, Sas

Post count: 6535

Hi

Glad I could help.
Thanks for letting us know and for your message.
Have a nice day.

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