Hi,
How can I add 970*250 sized ads under the menu on my website, with a center? I have checked it on this forum but there is no result. It is good with a solution in a.php page or with the admin panel.
So, is there any way to show 970*250 Adsense ads on my website, under the menu for each page?
And the sidebar for a post page under the 970×250?
Thanks,
-
This topic was modified 11 years by
jeffreya93.
Hi,
You can add the value inside the panel_ads.php file – http://screencast.com/t/om4CzClEd
You can use header style 3 – http://screencast.com/t/ruAPeIl1
Thank you, Emil G.
Hi Emil,
Thanks for your quick solution, for us this is no option. We will ad the 970×250 is the same layout under the menu. Is it possible with a center to a .php file and direct in the code?
It is not the first header, but the main header in blue. ( TD-Menu_header /Span11 ).
We want a center ad under the td-menu-header.
Thanks,
Hi,
Please add the value inside the panel_ads.php file – http://screencast.com/t/om4CzClEd like Emil suggested then use the do_shortcode() function to place the ad you use inside an ad box in theme panel > ads, like this: http://screencast.com/t/yk9RG2diwKyj
Here si the code you have to add:
echo do_shortcode('[td_ad_box spot_id="custom_ad_1"]');
echo td_page_generator::wrap_end();
echo td_page_generator::wrap_start();
Result: http://screencast.com/t/UdpqvFyrOl
Note that my example it’s for the default post template without sidebar, you will have to modify and add the code into which template you want to have this.
Thanks
Hi Lucian,
The solution is not working, is there no option with the code direct in the .php files?
Hi,
That is the way, you have the code there and you just need to replicate please make sure you follow the steps and add the code like I instructed.
I have tested this and works fine, if you don’t have any basic php/html/css knowledge please get someone to help you with this.
Thanks
Thanks, First i will updated the theme, to the most recent version.
I’m running on a older version.
Thanks for your info,
Hi,
I am trying to do the same as you – place a 970×250 ad under the main menu and above the articles. I read the chain above, but all screenshots do not exist anymore and cannot see anything. Did you manage to solve and could you please let me know what code and where to sue?
Thank you very much.
Peter
Hi,
Please check the date:
https://www.screencast.com/t/4AExLYv4n
A solution provided 3 years ago will most likely not work anymore.
You can edit the header style that you use and then insert a do_shortcode function in the specific header code: https://www.screencast.com/t/iLTdHRY3APMF
Thanks.