Edit single_template_x.php and loon-single-x.php on Version 9.7.1

Posted in: Newspaper
Post count: 199

after 9.7 update, i see you change the code structure and i can’t find loon-single-x.php and single_template_x.php to customize it (add ad codes etc)

Can you tell where i can find those .php files to make changes?

  • This topic was modified 7 years by saggel.
Post count: 3

I am very frustrated with this too. My post is showing an old shortcode and I want to delete those but I can’t find the loop single 2 or any PHP file that allows me that.

Newspaper team is making this very hard especially with those we have this theme for a long time.

Post count: 4

+1 to this question. I had to downgrade to previous version till I figure this out.
I just hope Newspaper team will make our life easier and help with it.

Anyway, if I find solution on my own, I will update here.

Post count: 4

Well, I think I found it, not tried to check it yet, though.
They moved the files into plugins folder, outside of theme folder.
Here:
../wp-content/plugins/td-composer/legacy/Newspaper/parts/single/

Post count: 23312

Hi all,

In that case, you should not make an overwrite to your old files sorry! You need to completely remove your old folder and add it the new one. You need to make a clean install from scratch to achieve good theme results. Please check the B section from here -> https://forum.tagdiv.com/how-to-update-the-theme-2/ and strictly follow the steps from there if you want to achieve better theme results.

Thank you!

Post count: 199

????

Post count: 72

“In that case, you should not make an overwrite to your old files…”

Sorry, what? We cannot overwrite template files update-safe? Are you serious? This would be the worst update I have seen after years working with WordPress. Believe me or not, but there are plugins out there that need modifications of themes files. How can we do this now?

  • This reply was modified 7 years by MKJ.
Post count: 4

I think Catalin means that because of the fact they changed some files paths (single_template_x.php and loon-single-x.php included) we should delete all files and reapply our changes again in new locations.

Post count: 72

Well, but HOW can we do this? The developers should provide some information on this issue. I’ve already spent an inacceptable amount of time on this trivial problem.

Post count: 4

See my earlier comment, if this can help you, I found the new location of the files: #post-290454
But I agree that the developers should have provide the info about changes in the new file structure.

Post count: 72

Thank you! I know, where the files are located. However, there is no standard procedure for overwriting plugin template files. It can be done, but depends on how the files are loaded.

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