Creating ad before each article

Posted in: Newspaper
Post count: 5

Hello Team,

I would like to create an ad before each article I publish (something like the header ad).
The fact is I want to have 2 header ad one before the menu and one inside each article (like the sidebar ad). Is it possible to perform it? if so how can I achieve it ?

Post count: 5

Example can be seen here

Post count: 22421

Hello diotali,

You can achieve this by choosing one of the 2 post styles containing a top ad: http://screencast.com/t/dYozcI9O
Result: http://screencast.com/t/H6ZtUcnf6
Other post types will display an article top ad but only after the featured image.
If you do not want to use the 2 post types, you will need to do a bit of modification to the core files.
Use this code:
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
And you have to place it in the post template you want to use: http://screencast.com/t/e5QwytfYiXu
Every post template has a corresponding file. single.php is the default template. Single template 1 is template 1, single 2 is template 2 etc.
I hope this helps.

Thanks.

Post count: 5

I do not have Style 12 and 13 it just stops at 11 can you assist on setting up the post 12 and 13 ?

Post count: 22421

Hello,
It means you have an older version of the theme that did not contain those 2 post types yet.
If you want to use them, please update your theme following this guide: https://forum.tagdiv.com/how-to-update-the-theme-2/
Thank you!

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