Support

Account

Home Forums General Issues How to change the Filter text "select taxonomy" to "Select city"? Reply To: How to change the Filter text "select taxonomy" to "Select city"?

  • I updated all instances of “select taxonomy” to “Filter Results” instead using the below jquery (add this to your functions.php):

    function my_acf_input_admin_footer() {
        
        ?>
        <script type="text/javascript">
        (function($) {
            
            jQuery(document).ready(function($) {
        var strNewString = $('.acf-relationship').html().replace(/\Select taxonomy/g,'Filter Results');
        $('.acf-relationship').html(strNewString);
    });
            
        })(jQuery); 
        </script>
        <?php
                
        }
        
        add_action('acf/input/admin_footer', 'my_acf_input_admin_footer');