unable to edit single.php file

Posted in: Newspaper
Post count: 40

Hello,

I need to add some custom code to the end of my articles, but when I add my custom code to the bottom of single.php, the changes don’t register in the page. The additions worked before I updated my theme to 9.7.2. Why might my changes not appear? thanks.

Post count: 20688

Hi,

You can enter code in the single and loop single template files
http://prntscr.com/nkz54e
But this will affect only posts that use the default post template
http://prntscr.com/nkz5i8

If you use other post templates, note that since update 9.7 the post template files (and many other theme files) were moved in the tagDiv composer plugin
https://tagdiv.com/updating-the-core-of-tagdiv-themes/

So the post template files are now here – http://prntscr.com/nkz6ku they would have to be modified there directly, child theme modifications are not possible anymore for them. Please let me known if you nave more questions.

Thanks

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