Excluding Specific Categories from Infinite Loading for Single Posts

Posted in: Newspaper
Post count: 21

Hello,

I am using the Infinite Loading for Single Posts feature in the Newspaper theme and I have a question regarding its functionality.

Is it possible to completely exclude posts from a specific category so they do not appear when scrolling through posts using the infinite loading feature?

If this is not currently possible, could you please let me know if there is any workaround I could use to achieve this functionality? Additionally, are there any plans to add this feature in future updates?

Thank you for your assistance!

Post count: 27744
Post count: 21

Hello,

Thank you for your reply and for pointing me to the options available in the infinite loading feature. Unfortunately, the settings shown in the screenshot don’t seem to include an option to exclude posts from a specific category.

Could you please clarify if there’s a programmatic way to achieve this? For example:
– Is there a filter or hook in the Newspaper theme that can be used to modify the query for infinite loading on single posts?
– If not, could you suggest which theme files or functions would be best to modify to implement this exclusion without disrupting other functionality?

Additionally, I’d like to know:
– Are there any plans to introduce this functionality in future updates?
– If there’s a reason this feature isn’t currently supported, could you share that so I can better understand the limitations?

I appreciate your assistance and look forward to your guidance.

Thank you!

Post count: 27744

Hello,

Yes, you can not exclude posts from a category, but you can choose another type, for example, the tag option, to filter it.
he code for infinite post iframe is on those files:
-> wp-content/plugins/td-cloud-library/includes/tdb_ajax.php
-> wp-content/plugins/td-cloud-library/assets/js/js_posts_autoload.min.js
-> wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
Also, this can be implemented with custom work, if you want.

The options in the theme are added based on their popularity and how often they have been requested. This option hasn’t been requested very often.

Thank you!

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