hi,
create a new custom ad in Ads section in Them Panel : http://screencast.com/t/osAh7lmy3
then create a sidebar from the custom sidebar control : http://screencast.com/t/zYqKqmsJH0h. you can find this control on pages add/ edit, Theme panel -> categories: http://screencast.com/t/14sqWp4sba
then go to Appearance -> widgets and find your sidebar, drag the [tagdiv] Ad box on that sidebar : http://screencast.com/t/BT24kOav, http://screencast.com/t/ocG6Q6Jirvs ad select you custom ad (nr 4) : http://screencast.com/t/COY9QSzNMF
cheep in mind that google only allow 3 ads on 1 page.
ads documentation : https://forum.tagdiv.com/ads/
Thanks for you message.
Radu A.
-
This reply was modified 12 years by
Radu A.
I duplicate code in panel_ads.php and now I have new box for ads. (http://www.screencast.com/t/fHAv05yI) But it’s not show in widget and box. (http://www.screencast.com/t/Q0aCyJlyL) How can I do next?
Hi,
Try to replace the code inside the panel_ads.php file with – http://pastebin.com/jW04yFYE
And the code inside the ..\includes\shortcodes\td_ad_box.php with http://pastebin.com/qkcTnkqz
Thank you, Emil G.
Hi Emil,
and how to add more than 9 custom ads? i would need some more. all my pages have their own ad! And how is that possible to keep the changes also after updating the theme. It seems like the changes to the code are made in the themes folder.
thanks!
-
This reply was modified 11 years by
sergenial.
hi,
You can look over the two files panel_ads.php and td_ad_box.php see how the other custom ad boxes were added and replicate that for another ad box.
You can’t keep the files unchanged only if you updated each time using a patch and if changes have not been made to this files or you can make a copy of this files though and replace them after each update.
Thanks
