Skip to content

Commit ad20211

Browse files
Ensure "All" shows when no categories exist for FacetWP
1 parent a87f8d4 commit ad20211

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/views/integrations/facetwp/partials/navbar-search.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
'orderby' => $dropdown_facet['orderby'],
7171
'order' => 'ASC',
7272
'number' => $dropdown_facet['count'],
73+
'hide_empty' => false,
7374
];
7475

7576
wp_dropdown_categories(

0 commit comments

Comments
 (0)