Changes in loop.php don't work on frontend

Posted in: Newspaper
Post count: 30

Hi,

I’m using the co-authors plus plugin.
For this to work, I need to make some changes in the code of the loops. I’ve made this changes in single.php and everything works as expected, so that’s great.

However, when I make changes to loop.php, loop-single.php or loop-archive.php, I can’t see the changes I made on the frontend of the website. How is this possible?

Thanks

Post count: 30

So I just read that I should alter loop-single.php in the td-composer plugin, but changes made in that file still aren’t shown on the frontend of the website.

Post count: 35449

Hi,

If you are using the Latest Articles from page template then you should edit this file -> wp-content/plugins/td-composer/legacy/Newspaper/loop.php

If you are using the loop or loop 2 then you’ll need to edit those files wp-content/plugins/td-cloud-library/shortcodes/common/tdb_loop.php – tdb_loop_2.php

Hope this will help you!
Thank you!

Post count: 30

Hi,

Thanks, but where in these files can I find the the_author() part? Because I have to replace this party by the code of the co authors plugin.

Post count: 35449

Hi,

Indeed, there is not very easy to integrate the Co-Authors plugin to work with our theme, if you want you can try the steeps provide in this topic
-> https://forum.tagdiv.com/topic/need-to-add-custom-authors-for-posts/#post-306135

Thank you!

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