Flex box – sort by worst review scores

Posted in: Newspaper
Post count: 118

Hi there,

Is it possible to sort flex boxes by worst review scores rather than best? I assume this will require some custom coding, but which files do we need to look at?

Thanks.

Post count: 21065

Hello!

You can find the code for flex blocks here:

1. To add an option for sort that appears in td composer, you need to go to td-composer/legacy/Newspaper/includes/td_config.php, starting with 39233 line (get_map_filter_array function)

2. To add the functionality for the new function, you need to go to td-composer/legacy/common/wp_booster/td_data_source.php and edit the shortcode_to_args function

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.