Home › Forums › Backend Issues (wp-admin) › Localizing texts when adding fields via theme › Reply To: Localizing texts when adding fields via theme
Hi,
It doesn’t really matter if you are using esc_html__()
or __()
in this case.
I’ve created a new theme from TwentyFifteen for you (the only things I’ve changed is the theme folder name, theme name in stylesheet and I’ve added the code at the end of the functions.php
file – have a look). Download the theme from https://www.dropbox.com/s/te6m2u43u3wk7sq/twentyfifteen_acf.zip?dl=0
How to test:
Hope this will help you to trace the issue (could it be in the hook priority you are using in the plugin maybe?).
Regards,
Oliver
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.