Custom ads

Posted in: Newspaper
Post count: 6

Hello,

How can I add custom ads into the post?

I tried shortcode [td_block_ad_box spot_id="custom_ad_1"], but it doesn’t work.

Thanks

Post count: 23312

Hello svetaznalec,

Please ensure you have inserted a code in your custom ad field, like this -> http://screencast.com/t/n7ZnmFwa0Rq and then you have to introduce manually for each post in your text editor, like this -> http://screencast.com/t/3hQofWZi ([td_block_ad_box spot_id="custom_ad_1"])
If you want to have for all your posts, you have to alter the file core corresponding to single template used by you like this -> http://screencast.com/t/8W4RpFk3 (this is an example for post template style 6)

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

Hope this helps and let us know how it goes!

Thank you for the message!

Post count: 6

Hi,

still doesn’t work. When I insert ad code to for example “Header ad” or “Article inline ad” it’s ok, but when I put in in “Custom ad 1” and use this shortcode in post or page, ad doesn’t appear.

Any idea why?

Thanks

Post count: 22421

Hello,

Please use the following method to see your custom ad. Create a page and ad an ad box element to it using visual composer. Then set the ad to custom ad 1. Now your ad should be displayed on the page. If it does not, it means you either have no ad placed in custom ad 1 in the theme panel or the ad code is not ok. If the ad displays ok on the page, then you can access classic mode and text mode to get the shortcode:
http://screencast.com/t/07sbC8nyj8bohttp://screencast.com/t/vvz2fR9Y
If your ad is anything other than adsense you will need to use this method to implement it: https://forum.tagdiv.com/using-other-ads/

Let us know how it goes.

Thank you!

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