↧
Answer by mike-source for Display html for selected products or products...
I've not tested this in Wordpress, but the first thing I would try is to rename the $post variable that pulls the ACF field to '$posts' (plural).Then change the foreach loop as follows.$posts =...
View ArticleAnswer by kaize for Display html for selected products or products categories
In similar cases I create a new wp_query passing the array with the post IDs like below: $posts = get_field('products_picker', 'option'); $new_query = new WP_Query(array('post_type' =>...
View ArticleDisplay html for selected products or products categories
Hello I am using advanced custom field plugin for displaying some html only for selected products or only for products for selected categories in option page with relationship picker. My result instead...
View Article