Custom Background Ad Code

Posted in: Newspaper
Post count: 6

I am trying to add a custom php template code in order to use an add manager to schedule my backgrounds.

<?php echo do_shortcode(“[pro_ad_display_adzone id=41140]”); ?>

The plugin I am using tells me to put this adobe the body but I am not sure exactly the best place to put it. I would like to use the code above to go over the theme’s background so I can use this plugins ad manager. The ad manager allows us to schedule background ads when needed. Any help with this will be greatly appreciated!

Post count: 23312

Hello wdrescher,

Unfortunately, the plugin used by you is not tested with our theme and we have no idea about the theme’s behaviour with this kind of plugin. Please notice that we have a list of our tested plugins here -> http://screencast.com/t/lWe1u7zfo wich the theme works as expected. Unfortunately, we cannot provide support for untested plugins and also we cannot provide custom work at the moment, sorry! If you do not know how to implement this plugin in our theme you should contact the author plugin to guide you in the right direction and read the plugin documentation and then try to implement it alone. If you want to display more levels in our theme and you are not aware the steps in this regard, please consider hiring a freelancer/developer to do that for you.
-> http://screencast.com/t/kG7hvXIKe <- Thank you for your understanding!

Post count: 6

I appreciate your help on this and that is the file that I thought would be where the edit is needed. I will look in to this more and figure it out myself, thanks.

Post count: 6

I did get this to work correctly modifying the parent theme but when I try to overwrite the child theme by following the instructions to overwrite the comments.php and it was not overwriting it. I put the td_background_render.php file inside of the child theme root folder and it is not overwriting the parent theme.

How would I overwrite td_background_render.php ?

Post count: 23312

Hello wdrescher,

Unfortunately, as you can see in our documentation, this kind of file is not possible to overwrite with the child theme -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ Please notice that all the files which are included in wp-booter cannot rewrite with the child theme.

Thank you for the message!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.