• Resolved bernardh99

    (@bernardh99)


    Is there an easy way to remove the prefixed text “- select – X” as the text on the label of a select box as it makes teh label too long

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author stepasyuk

    (@stepasyuk)

    Hello @bernardh99

    Thank you for using Filter Everything.

    Yes, sure. You can override the dropdown.php template and remove or edit this option text. Here is more info how to override filter templates – https://filtereverything.pro/resources/templates-overriding/

    Also you can achieve the same via translations.

    search:
    echo esc_html( sprintf( __( '- Select %s -', 'filter-everything' ), $filter['label'] ) );
    in
    /wp-content/plugins/filter-everything/views/frontend/dropdown.php
    and change it with

    echo esc_html( sprintf( __( '%s', 'filter-everything' ), $filter['label'] ) );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove the prefix “-Select” on label’ is closed to new replies.