Help with Post Meta
This makes no sense, required $key argument (defines which custom field value you want to retrieve) is missing: $post_meta = get_post_meta( $post->ID ); How are you actually assigning this to post? In this snippet you only assign array to some arbitrary variable: $brand_meta = array(… Also please clarify your condition, I am not sure what … Read more