divide custom field values in div every two values
I found out a way to do this , turned out to be kind of easy here is what i did $Aschools = get_post_meta( get_the_ID(), ‘american_member_schools_field’, true ); $i = 0; $entries = count($Aschools); foreach ( (array) $Aschools as $key => $Aschool ) { $logo = $Aname=””; $i++; if ( isset( $Aschool[‘name’] ) ) $Aname … Read more