How do I add a custom ad zone (content ads) above the post title

Posted in: Newspaper
Post count: 4

I’m trying to add a custom ad zone for content ads like Taboola above the post title but below the header. So, on the following page it would be above the title of “Kid After. . .” and below the header with the logo. It would span the whole width of the page.

http://vidtd.com/2016/06/18/kid-after-getting-drugged-up-at-dentist/

Is there any way to do that through the theme options to make it easy on me, or do I need to go into the code? If I need to go into the code, how exactly do I do that? I already have a child theme enabled and moved the single post template into it if needed, but wanted to see if there was a way to do it through the theme.

The homepage allows a lot of flexibility through the visual composer, but I can’t find a way to do it across all posts to the overall post template.

Thanks!

HC

Post count: 6600

Hi,

Unfortunately the theme does not have any options that could help you on that so you’ll have to go ahead and do this by altering the post template file in your child theme setup, like this: http://screencast.com/t/fZ6EdfhMhQ – here is the code I have used: http://pastebin.com/dH2M8ru1

This will add it for all post that use the default post template like the mentioned post does: http://screencast.com/t/IAO19fb989

Hope this helps you!

Thank you

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