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');
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.