Customizing more articles box

Posted in: Newspaper
Post count: 6

Hi

I would like to customize the aspect and the content of the “More articles box”.

I have being searching the code trying to find out in what file it is defined, in order to copy that file inside my child theme, so I can change anything I want, but I cannot find it.

Any idea what file should I copy and edit?

Thanks

Post count: 21065

Hello!

Please provide more information and your website link in order to help you.

Thank you!

Post count: 6

My website is https://prensasocial.es/

I am using the theme Newspaper v11 and I have made a child theme to be able to customize a few things.

I have being writing PHP code for webs sites for more than 20 years, so it is not the first time I have done something like that.

Now I want to customize the “More Articles Box”.

When I go to “Theme Panel” => “Post Settings” => “More Articles Box” inside the dropdown “Display Articles” there are 5 options:

Latest Article
From Same Category
From Post Tags
From Same Author
Random

I want to change that, so I need to find the file where it is defined, and copy it inside my child theme before editing it but I have being reading the code and cannot find the file where it is defined.

I don’t know if that’s enough information or if you need something more

Thanks

Post count: 21065

Hello!

Please check in td-composer/legacy/common/wp_booster/td_more_article_box.php

Hope that helps you!

Thank you!

Post count: 6

Of course. Inside “td-composer”.

I was looking inside “td-standard-pack” and that’s why I couldn’t find it.

Thank you very much. That’s the one I need.

But now I have another question. where exactly should I copy that file before editing it?

I mean inside /wp-content/themes/Newspaper-child-theme/

I suppose it should be something like
/wp-content/themes/Newspaper-child-theme/legacy/common/wp_booster/td_more_article_box.php

But I feel I’m missing something else there.

Or is it correct?

Thanks

Post count: 21065

Hello!

I don’t think that this is so simple to achieve it, it could require a code line to import that file in your child-theme.

Thank you!

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