Implementing new tag

Posted in: Newspaper
Post count: 6

Hello, I am trying to implement a new tag/ad code under the “Share” buttons and above “Related Articles.” I can’t seem to find out how this is done. Any assistance would be gratefully appreciated. Thank you

Post count: 27744

Hello,

Please use a Single Post Template from tagDiv Cloud Library, and after you can add the element ad box to add the ad -> https://i.imgur.com/Y5JCozG.jpg

Thank you!

Post count: 6

Hello Anamaria,

Is there a way we can insert the ad code directly into the default post template without having to use a template from the library? When I add the code to loop-single.php, the file slaves but none of the changes is reflecting on the website. What is the default template the post page is using?

Thank you

  • This reply was modified 4 years by devenkh2.
Post count: 27744

Hello,

This can be done in the theme files, but you need to edit the files for the post template that you use.
For example, if you want to edit the post template 1, edit this file -> wp-content/plugins/td-standard-pack/Newspaper/parts/single/loop-single-1.php or it is the default template edit this file -> wp-content/plugins/td-standard-pack/Newspaper/loop-single.php
Please note that any change you make in the theme files after update will be overwritten and you have to make the changes again. Better save the code somewhere and then apply it again after every update. Or you can set them in child-theme, please take a look in the documentation: https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thank you!

Post count: 6

Thank you, that is exactly what I was looking for.

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