Home › Forums › Backend Issues (wp-admin) › Custom Fields not showing up when setting taxomony location rules › Reply To: Custom Fields not showing up when setting taxomony location rules
Well, after doing some testing pretty sure I know why it’s happening and I’ll see if I can get Elliot to take a look at this, but I’m not sure there is anything that can be done, that’ll be up to E.
With the a term slug of something like ‘2014’ it’s being considered numeric and trying to find the term by id rather than by name.
On line 32f of location.php
$field = is_numeric( $data['term'] ) ? 'id' : 'slug';
causes a numeric term slug to be considered an id.
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.