How to add more custom ad?

Posted in: Newspaper
Post count: 6

I wanna have more custom ad. How can I do?

  • This topic was modified 12 years by tbknight.
Post count: 854

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.
Post count: 6

Thank you so much

Post count: 6

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?

Post count: 1291

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.

Post count: 6

Thank for help ^ ^

Post count: 35

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.
Post count: 6600

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

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