Custom field and loop filters

Posted in: Newspaper
Post count: 15

I created a custom field for posts, and was able to use it on both the post page and flex box.

This custom field “overwrites” the author name, my goal is also to override the link it points to in order to show “the loop” of articles with the same custom field.

I would now like to add a new filter to the post loop for “flex block”, that like the “author” page/template shows “the current custom field” to change the author template with this new filter (and back to adapt anchor link for authors name).

Where (in which files) is the list of filters for post loops managed?

Do you have any suggestions ready for this requirement?

Post count: 21065

Hello!

The list of the filters for the posts loop you can find in td-cloud-library/includes/tdb_config.php, in the get_loop_map_filter_array function, 42957 line.
If you want to modify the information in the modules for posts loop, you need to change one of the following files:
– td-cloud-library/modules/tdb_module_loop.php and tdb_module_loop_2.php

Hope that helps you!

Thank you!

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