Quantcast
Channel: ACF custom fields not displaying on custom taxonomy template - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Jay for ACF custom fields not displaying on custom taxonomy template

I eventually sorted it out by doing:$term = get_queried_object();$test = get_field('test_text',$term);This fixed it for me.

View Article



Answer by KGreene for ACF custom fields not displaying on custom taxonomy...

You need to use a post ID for the 2nd parameter.Per ACF's Doc:get_field($selector, [$post_id], [$format_value]);So you need to loop through the posts in the taxonomy, then display the custom fields per...

View Article

ACF custom fields not displaying on custom taxonomy template

I have created a custom taxonomy called inn-features, I have then created a template page, whenever I try to show my custom fields the value always returns as null. Please can someone tell me where I...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images