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 was founding the solution about (to change the Filter text “select taxonomy” to “Select city”) after reaching this page, Query solved! and I get more knowledge about it here’s my site https://animenexty.com/ You can also check it by clicking on that link. My site is working properly.
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.