At the moment it is not possible to sort the Taxonomyfilter of a PostLoop manually (or via menu_order / terms). Cause Breakdance sort the filters of a PostLoop by the postorder.
Instead Breakdance should use the standard get_terms function of WordPress.
Have a look at this code Snippet in the PostLoop ssr.pho referenced to the filter-bar.php:
At the moment it is not possible to sort the Taxonomyfilter of a PostLoop manually (or via menu_order / terms). Cause Breakdance sort the filters of a PostLoop by the postorder.
Instead Breakdance should use the standard get_terms function of WordPress.
Have a look at this code Snippet in the PostLoop ssr.pho referenced to the filter-bar.php:
function setupIsotopeFilterBar($data) { $rawSettings = array_filter((array) ($data['settings'] ?? [])); /* @var string $defaultType / $defaultType = $data['defaultType'] ?? 'category'; /* @var string $defaultAll / $defaultAll = $data['defaultAll'] ?? __('All', 'breakdance');
}
Breakdance should simply use:
function setupIsotopeFilterBar($data) { { return array_merge($settings, [ 'design' => $data['design'], 'terms' => get_terms([ 'taxonomy' => $settings['type'], 'hide_empty' => true, ]), 'activeTerm' => $activeTerm ]); }