How to add a new custom ad

Posted in: Newspaper
Post count: 36

Hello,

I was wondering how to add a new custom ad location. I have need to add two more custom ad areas. I see nothing in the documentation or the api area mentioning this. Maybe I am overlooking it. Please advise. Thanks!

Post count: 22421

Hello,

You can use the custom ad spots: https://forum.tagdiv.com/custom-ad-spots/ and place the ad like shown in the documentation or if you know your way around php a bit you can use the do_shortcode function and add your code in the theme files. – https://developer.wordpress.org/reference/functions/do_shortcode/

Thank you!

Post count: 36

I asked how to add additional custom ad spots, as in custom ad #7, #8, #9. Please Advise.

Post count: 23312

Hi NP Comm,

Please consult this topic here: https://forum.tagdiv.com/topic/create-additional-custom-ads/.

Thanks.

Post count: 36

Catalin,

Thanks for that link. I do believe those changes will be removed once I update the theme though, is that the correct assumption?

I am using a child theme and the td_api_plugin features for custom modules/blocks/headers/footers but was unable to find any documentation on using the API to add custom ads. Is there currently a way to do this through the API? Thanks!! 🙂

Post count: 1291

Hi,

The ads are defined in the td_config.php file, use the API calls to modify the existing parameters – http://screencast.com/t/3pfJECiaXn0http://screencast.com/t/v1XXKdEU

The files are located here – http://screencast.com/t/EVTI4nwaigfwhttp://screencast.com/t/CEGi9Oiw

Hope this helps.

Thank you!

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