Ad Banner below the main menu

Posted in: Newsmag
Post count: 217

Hi,

how can I add an AD-Banner below the Main Menu? 🙂

I have a code and only need to know, where to add it.

Thank you!

Post count: 3343

Hi,

Add it in header.php file using this code:

http://pastebin.com/ssSxEfpa

This is needed to add it in a grid column, the code should look like this: http://screencast.com/t/NJKJaCSgpfP7 and replace the text with your ad code.

Hope you manage it!
Thanks for the message!

  • This reply was modified 11 years by Marius.
Post count: 53

is it possible to get the ads below the menu, but in the content area? like in this screenshot: http://i.imgur.com/9GUyl0G.jpg

Post count: 6600

Hi,

Yes, but you will have to edit the page template for that and add the ad or if you want it on a homepage you can use the page builder and add it using the ad box element of Visual Composer:
1. http://screencast.com/t/7wSGl79ddBQ
2. http://screencast.com/t/i6inrKyLzyY
3. result: http://screencast.com/t/q87xgmNxEb

Thanks

Post count: 53

I have added this code <?php echo do_shortcode('[td_ad_box spot_id="custom_ad_1"]'); ?> below <div class="td-ss-main-content"> at page.php. Now the add looks great on all pages, but where should I add the shortcode for the other sites (tags, categories…)?

And where should I add the code at single posts? I have tested it with “Article top ad”, but with this option the ad will displayed below the “featured image”. For “Style 1” (little thumbnail) is this option ugly and I want it direct below the menu.

It would be a very cool feature when there are some hooks so it is possible to add ads via function.php. So I have to change every template-site with every update…

Post count: 6600

Hi,

Please add it like this for post pages: http://screencast.com/t/1ta0OlK77ZGY
You can find the templates for the other post templates and templates in the root of the theme: http://screencast.com/t/BHNyxUFd0vJH
Hope this helps!

Thanks

Post count: 53

Thank you for the list. The possibility to have more ad blocks would be a cool update

Post count: 31

Hello, I did what @Marius said but was misaligned. Look:
http://www.screencast.com/t/c6voy4AQ

What could I do to centralize?
Thanks!

Post count: 6600

Hi,


@Lukao350

Please note that this forum is for newsmag users on newspaper you need a different approach. You could try this method: https://forum.tagdiv.com/topic/article-top-ad/

Thanks

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