Hi,
Add this code: echo td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'custom_ad_1'));
like here: http://screencast.com/t/aq1m6kVcohE
And use from Theme panel -> Ads the Custom AD 1
Thanks for the message!
Hi,
Comment this line: http://screencast.com/t/ne3HHtTIY
The make the above change but with this code:
echo td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'content_top'));
Then you can use the Article top
Hi guys
We are now using Newspaper 3.9.1 and wanted to move the header banner out of the header file and into the page content.
see – http://www.screencast.com/t/knaHTWJTmY
We have successfully removed this from the header file just wanted to ensure we have the correct coding for placing in post/page/category pages.
thanks
Hi,
Do you want to add an ad above the content on post/page/category pages?
For post you can use the Top Article Ad from Theme Panel -> Ads
For Pages and Category Pages you need to add the ad directly in the template file using this:
<?php echo do_shortcode('[td_ad_box spot_id="custom_ad_1"]'); ?>
In page.php file and category.php file
Hope this helps
Thanks
I would like an additional article inline ad, how can i set it up?
Hi,
The inline ad display after a number of paragraphs, if you want an additional ad you need to customize the code here: http://screencast.com/t/QABtahi1jkr4 but is not easy.
A simple solution if you want another ad in post is to add it manually directly in post using the ad shortcode like: [td_ad_box spot_id="custom_ad_1"]
Also you have in Theme panel settings for top or bottom article ads.
Hope this helps!
Thanks!