• Resolved Test

    (@scun10)


    Hey there, I saw there was an upgrade that provided info on how to change the text on the submit button.

    I’m wondering if someone can simply explain to me what file I need to edit to change it from Apply Filters to Search etc.?

    I would expect it to use the code below, but can’t find where this is located in order to edit it.

    <button type=”submit” class=”beautiful-taxonomy-filters-button”>Apply filter</button>

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    Hi @scun10

    You should add this in either a custom plugin or your themes functions.php

    
    function modify_filter_button($string){
    
        return __( 'Search' );
    }
    
    add_filter('beautiful_filters_apply_button', 'modify_filter_button', 10, 1);
    

    Best of luck!

Viewing 1 replies (of 1 total)
  • The topic ‘Change Button Text’ is closed to new replies.