Single Template Files

Posted in: Newspaper
Post count: 39

Hi there, I need to make a modification to the Single Post Template 7 for my child theme on a site running version 9.7.2. I have a couple other sites running 9.6, and I see all those template files in the main Newspaper theme folder on the sites running 9.6, but I do not see them in version 9.7.2.

Can you please advise as to how I can access those template files so I can modify and add to me child theme?

Thanks

Post count: 26

/wp-content/plugins/td-composer/

Post count: 35449

Hi,

Please check this topic about the Newspaper v9.7 -> https://forum.tagdiv.com/topic/important-new-update-newspaper-9-7/
->wp-content/plugins/td-composer/legacy/Newspaper/parts/single/single_template_7.php

Thank you!

Post count: 39

Thank for you for this. As a follow-up, when I make a minor change to the template (adding an ad script) do I need to add the same folder tree for this file in the child theme? I have made the change, (added this to line 93 <?php if( function_exists(‘the_ad_placement’) ) { the_ad_placement(‘post-above-content’); } ?>) but the ad is not showing up, although on the other sites running 9.6 I have the same ad script and it is showing up fine.

Post count: 35449

Hi,

Most of the theme files were moved into the tagdiv composer plugin as per the requirements of envato: https://help.author.envato.com/hc/en-us/articles/360000472383-WordPress-Theme-Requirements.
We wrote an article on the subject here: https://tagdiv.com/updating-the-core-of-tagdiv-themes/
Moving forward with such requirements, a child theme will only work with functions.php, and style.css as there are very few files left in the main theme as envato requires all functionality to be added through plugins.

The best way to set an ad in a post template is to use a single post template from tagDiv Cloud Library and set the ads in ad box using tagDiv Composer.

Thank you for your understanding and sorry for the inconvenience!

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