I tried to modify a PHP file using the template editor

Posted in: Newsmag
Post count: 4

I tried to modify a PHP file using the template editor, but the changes are not appearing on the front end.

Do I need to perform any additional steps to allow the front end to receive the PHP changes?

Post count: 35449

Hello,
It depends a lot on the file that was edited, for example, maybe a file from the theme was edited, but the file from tagDiv Composer is applied. Can you please tell me which file you edited?
There is also the possibility to edit using a child theme – https://forum.tagdiv.com/newsmag-child-theme-support/
Thank you!

Post count: 4

I have modified t3 files from the directory wp-content/themes/Newsmag.
loop.php, loop-archive.php and loop-single.php
I tried from inside the editor theme and also edit the files on the server.
I tried also from the directory wp-content/plugins/td-composer/legacy/Newsmag

No effect on the front end.

Post count: 4

I can’t put the code inside this box because the server say

Security check:
Our system detected some kind of strange traffic from your ip. This error was logged and if our system is broken we will fix it asap.

But I only comment the tag that dispay the numer of comments. Because I can’t do that from the configuration area or maybe i don’t know how to do it in the right way.

Post count: 35449

I see, so the files that you should be editing are those:
– wp-content/plugins/td-composer/legacy/Newsmag/parts/single edit the loop-single-x.php file x represents the number of the post template, if you are using the default one, then edit this file wp-content/plugins/td-composer/legacy/Newsmag/loop-single.php
I hope this will hep you!

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