• Resolved lisapearsonnz

    (@lisapearsonnz)


    Hey team,

    I’m just wondering if there’s an option to remove/customize the -Select- text for the dropdowns? We would like it to just have the filter name. (eg. Brand, instead of -Select Brand- )

    Screenshot

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support fesupportteam

    (@fesupportteam)

    Hi @lisapearsonnz

    Thank you for your interest in the Filter Everything plugin.

    You have several ways to change - Select %s - to your own:?

    1) To translate it with the Loco translate plugin or other software if you use not-English language on your site. 

    2) To use theTemplates Overriding feature https://filtereverything.pro/resources/templates-overriding/ to override the dropdown.php template and replace the string.

    3) To use hook ‘wpc_dropdown_default_option‘ if you are familiar with PHP development.

    Best Regards – Victor

    Thread Starter lisapearsonnz

    (@lisapearsonnz)

    Thanks team, I’ve managed to get the template overriding method working, but I’m unsure what term I should be using to replace the string with.

    How do I set the filter name as the string? so I can get the default option to show the filter name (ie. Brand, Filter by, Stock Availability)

    Thanks.

    Thread Starter lisapearsonnz

    (@lisapearsonnz)

    Ah, I think I got it working ?? It was <?php echo esc_attr( $filter[‘label’]); ?>

    Plugin Support fesupportteam

    (@fesupportteam)

    Hi @lisapearsonnz

    We are glad to hear that the issue was resolved.

    Best Regards – Victor

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing the -select- text’ is closed to new replies.