Prev/Next for current category only

Posted in: Newspaper
Post count: 12

I am trying to have the prev/next navigation in single articles to only show prev/next for the current category. I looked at the single-loop.php template but any changes I make in there are ignored. How does the latest version of newspaper generate the links and what do I need to amend to achieve what I want?

Post count: 35449

Hi,

The changes for the next/prev can be found in wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php
-> https://www.screencast.com/t/2Oh61C89AjJk

Thank you!

Post count: 12

Ah great, thank you – however, that means that changes will get overwritten with updates of the plugin, is there a way to overwrite this via my own code?

Post count: 35449

Hi,

Unfortunately those changes will be overwrite and for the moment the only way is to save you changes and set them back after you make the update.

Thank you for your understanding and sorry for the inconvenience!

Post count: 12

OK, it might be worth putting this into your work stream to allow changes like these to be permanent. Thanks for your reply, though

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