Home Forums WoodMart support forum Search categories

Search categories

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #364541

    isuedtirol
    Participant

    Hello there, since we have a lot of categories with subcategories and sub-sub categories, we don’t want to show all categories in the searching filter box (see the screenshot below). If possible we would only want to show there the parent categories.

    Best wishes and thanks in advance,
    Julian

    Ps. The categories it currently shows in the screenshot are only a small part of all the categories.

    Attachments:
    You must be logged in to view attached files.
    #364544

    Artem Temos
    Keymaster

    Hello,

    Try to add the following PHP code snippet to the child theme functions.php file to do this

    add_filter( 'woodmart_show_only_parent_categories_dropdown', '__return_true' );

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)