Home › Forums › General Issues › How to add custom field to a category? › Reply To: How to add custom field to a category?
Hi, I spent many hours whit this issue and I can’t find a solution.
As I see there are more people trying to deal with that.
The problem is that the proposed solution of using:
$grade = get_field('grade', $taxonomy . '_' . $term_id);
is not working in our case.
I’m also trying to use the code above passing the data as string but the retrieved value is ever NULL.
$title = get_field('my_title', 'dc_vendor_shop_5');
I’m using ACF with Woocommerce and wc-marketplace.com Multivendor plugin
Could someone help with this issue?
Thanks.
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.