• Resolved darrenbond

    (@darrenbond)


    Hi,

    I’m using the following function to change the text of the “Apply Filter” button:

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

    It works perfectly on my archive pages. However, I have also added the filters to a Widget, but the button text still says “Apply Filter”.

    Can you suggest what I should do change it please?

    Many thanks
    Darren

    https://www.ads-software.com/plugins/beautiful-taxonomy-filters/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    Hi Darren,

    It seems I’ve missed adding the same filter to the widget output. I will correct that in the next version ??

    Thread Starter darrenbond

    (@darrenbond)

    Hey,

    I was just wondering when you might be releasing the next version so that I can correct the button text? I have a site that’s about to go live, and ideally I’d like the text changed beforehand. Is it something you could tell me how to modify myself?

    Many thanks.

    Plugin Author Jonathandejong

    (@jonathandejong)

    Hi Darren,

    I’ll make a note tomorrow and hopefully I can push out an hotfix by then. Would that work for you? ??

    Thread Starter darrenbond

    (@darrenbond)

    That would be absolutely perfect! Thank you so much! ??

    Plugin Author Jonathandejong

    (@jonathandejong)

    Hi Darren,

    This has been pushed out now! Good luck in your launch.
    If you enjoy the plugin please feel free to leave a review, it helps keeping me motivated!

    Thread Starter darrenbond

    (@darrenbond)

    Just upgraded; works perfectly!

    Thank you very much! I’ll be sure to leave a review ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Apply Filter Button Text in a Widget’ is closed to new replies.