$id = get_the_ID();
//$image = wp_get_attachment_url( get_post_thumbnail_id( $id ) );
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $id ), '200-size')[0];
$meta = get_post_meta($id, '_summer-schools', TRUE);
$featured_school_or_not = get_field('featured_school_or_not', $id);
$featured_class ='';
if($featured_school_or_not ==1){
$featured_class ='featured';
}
$basis_class = (get_field('is_a_baisis_school') ? 'baisis' : '') ;
echo '
';
echo '
';// variables from the single custom post type here
$terms = get_the_terms( $id, 'school-type' );
$feesTextVal = get_field('fees_text_value', $id);
$feesPriceVal = get_field('boarding_price_value', $id);
$english_format_number = $feesPriceVal;
if (is_float($feesPriceVal)) {
$english_format_number = number_format($feesPriceVal);
}
$numberOfStudents = get_field('number_of_students_val', $id);
$qualValue = get_field('qualifications_needed', $id);
$pupilsNr = get_field('pupils_number_count', $id);
$schoolLocation = get_field('school_location', $id);
$bannerLogo = get_field('emblem_logo', $id);if($terms) {
echo '
';
foreach($terms as $term)
if(get_field('type_icon', 'school-type_' . $term->term_id))
echo '
';
echo '
';
}echo '
';echo '
' . get_the_title() . '';echo '
';
$terms = get_the_terms( $id, 'city' );
foreach ($terms as $term) {
echo $term->name;
}
echo '
';// fees field
echo '
';
echo 'FEES:';
echo 'FROM: £'.$english_format_number.'';
echo '
';// number of students field
// /AICI
echo '
';
echo 'NUMBER OF STUDENTS:';
echo ''.$numberOfStudents.'';
echo '
';echo '
VIEW PROFILE ';// city location field
echo '
';
// This will display the school location which was selected from the cities list in the backend
// foreach ($terms as $term) {
// echo $term->name;
// }
echo '';echo '
'; // end meta listecho '
';echo '
';
?>
$id = get_the_ID();
//$image = wp_get_attachment_url( get_post_thumbnail_id( $id ) );
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $id ), '200-size')[0];
$meta = get_post_meta($id, '_summer-schools', TRUE);
$featured_school_or_not = get_field('featured_school_or_not', $id);
$featured_class ='';
if($featured_school_or_not ==1){
$featured_class ='featured';
}
$basis_class = (get_field('is_a_baisis_school') ? 'baisis' : '') ;
echo '
';
echo '
';// variables from the single custom post type here
$terms = get_the_terms( $id, 'school-type' );
$feesTextVal = get_field('fees_text_value', $id);
$feesPriceVal = get_field('boarding_price_value', $id);
$english_format_number = $feesPriceVal;
if (is_float($feesPriceVal)) {
$english_format_number = number_format($feesPriceVal);
}
$numberOfStudents = get_field('number_of_students_val', $id);
$qualValue = get_field('qualifications_needed', $id);
$pupilsNr = get_field('pupils_number_count', $id);
$schoolLocation = get_field('school_location', $id);
$bannerLogo = get_field('emblem_logo', $id);if($terms) {
echo '
';
foreach($terms as $term)
if(get_field('type_icon', 'school-type_' . $term->term_id))
echo '
';
echo '
';
}echo '
';echo '
' . get_the_title() . '';echo '
';
$terms = get_the_terms( $id, 'city' );
foreach ($terms as $term) {
echo $term->name;
}
echo '
';// fees field
echo '
';
echo 'FEES:';
echo 'FROM: £'.$english_format_number.'';
echo '
';// number of students field
// /AICI
echo '
';
echo 'NUMBER OF STUDENTS:';
echo ''.$numberOfStudents.'';
echo '
';echo '
VIEW PROFILE ';// city location field
echo '
';
// This will display the school location which was selected from the cities list in the backend
// foreach ($terms as $term) {
// echo $term->name;
// }
echo '';echo '
'; // end meta listecho '
';echo '
';
?>
$id = get_the_ID();
//$image = wp_get_attachment_url( get_post_thumbnail_id( $id ) );
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $id ), '200-size')[0];
$meta = get_post_meta($id, '_summer-schools', TRUE);
$featured_school_or_not = get_field('featured_school_or_not', $id);
$featured_class ='';
if($featured_school_or_not ==1){
$featured_class ='featured';
}
$basis_class = (get_field('is_a_baisis_school') ? 'baisis' : '') ;
echo '
';
echo '
';// variables from the single custom post type here
$terms = get_the_terms( $id, 'school-type' );
$feesTextVal = get_field('fees_text_value', $id);
$feesPriceVal = get_field('boarding_price_value', $id);
$english_format_number = $feesPriceVal;
if (is_float($feesPriceVal)) {
$english_format_number = number_format($feesPriceVal);
}
$numberOfStudents = get_field('number_of_students_val', $id);
$qualValue = get_field('qualifications_needed', $id);
$pupilsNr = get_field('pupils_number_count', $id);
$schoolLocation = get_field('school_location', $id);
$bannerLogo = get_field('emblem_logo', $id);if($terms) {
echo '
';
foreach($terms as $term)
if(get_field('type_icon', 'school-type_' . $term->term_id))
echo '
';
echo '
';
}echo '
';echo '
' . get_the_title() . '';echo '
';
$terms = get_the_terms( $id, 'city' );
foreach ($terms as $term) {
echo $term->name;
}
echo '
';// fees field
echo '
';
echo 'FEES:';
echo 'FROM: £'.$english_format_number.'';
echo '
';// number of students field
// /AICI
echo '
';
echo 'NUMBER OF STUDENTS:';
echo ''.$numberOfStudents.'';
echo '
';echo '
VIEW PROFILE ';// city location field
echo '
';
// This will display the school location which was selected from the cities list in the backend
// foreach ($terms as $term) {
// echo $term->name;
// }
echo '';echo '
'; // end meta listecho '
';echo '
';
?>
$id = get_the_ID();
//$image = wp_get_attachment_url( get_post_thumbnail_id( $id ) );
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $id ), '200-size')[0];
$meta = get_post_meta($id, '_summer-schools', TRUE);
$featured_school_or_not = get_field('featured_school_or_not', $id);
$featured_class ='';
if($featured_school_or_not ==1){
$featured_class ='featured';
}
$basis_class = (get_field('is_a_baisis_school') ? 'baisis' : '') ;
echo '
';
echo '
';// variables from the single custom post type here
$terms = get_the_terms( $id, 'school-type' );
$feesTextVal = get_field('fees_text_value', $id);
$feesPriceVal = get_field('boarding_price_value', $id);
$english_format_number = $feesPriceVal;
if (is_float($feesPriceVal)) {
$english_format_number = number_format($feesPriceVal);
}
$numberOfStudents = get_field('number_of_students_val', $id);
$qualValue = get_field('qualifications_needed', $id);
$pupilsNr = get_field('pupils_number_count', $id);
$schoolLocation = get_field('school_location', $id);
$bannerLogo = get_field('emblem_logo', $id);if($terms) {
echo '
';
foreach($terms as $term)
if(get_field('type_icon', 'school-type_' . $term->term_id))
echo '
';
echo '
';
}echo '
';echo '
' . get_the_title() . '';echo '
';
$terms = get_the_terms( $id, 'city' );
foreach ($terms as $term) {
echo $term->name;
}
echo '
';// fees field
echo '
';
echo 'FEES:';
echo 'FROM: £'.$english_format_number.'';
echo '
';// number of students field
// /AICI
echo '
';
echo 'NUMBER OF STUDENTS:';
echo ''.$numberOfStudents.'';
echo '
';echo '
VIEW PROFILE ';// city location field
echo '
';
// This will display the school location which was selected from the cities list in the backend
// foreach ($terms as $term) {
// echo $term->name;
// }
echo '';echo '
'; // end meta listecho '
';echo '
';
?>
$id = get_the_ID();
//$image = wp_get_attachment_url( get_post_thumbnail_id( $id ) );
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $id ), '200-size')[0];
$meta = get_post_meta($id, '_summer-schools', TRUE);
$featured_school_or_not = get_field('featured_school_or_not', $id);
$featured_class ='';
if($featured_school_or_not ==1){
$featured_class ='featured';
}
$basis_class = (get_field('is_a_baisis_school') ? 'baisis' : '') ;
echo '
';
echo '
';// variables from the single custom post type here
$terms = get_the_terms( $id, 'school-type' );
$feesTextVal = get_field('fees_text_value', $id);
$feesPriceVal = get_field('boarding_price_value', $id);
$english_format_number = $feesPriceVal;
if (is_float($feesPriceVal)) {
$english_format_number = number_format($feesPriceVal);
}
$numberOfStudents = get_field('number_of_students_val', $id);
$qualValue = get_field('qualifications_needed', $id);
$pupilsNr = get_field('pupils_number_count', $id);
$schoolLocation = get_field('school_location', $id);
$bannerLogo = get_field('emblem_logo', $id);if($terms) {
echo '
';
foreach($terms as $term)
if(get_field('type_icon', 'school-type_' . $term->term_id))
echo '
';
echo '
';
}echo '
';echo '
' . get_the_title() . '';echo '
';
$terms = get_the_terms( $id, 'city' );
foreach ($terms as $term) {
echo $term->name;
}
echo '
';// fees field
echo '
';
echo 'FEES:';
echo 'FROM: £'.$english_format_number.'';
echo '
';// number of students field
// /AICI
echo '
';
echo 'NUMBER OF STUDENTS:';
echo ''.$numberOfStudents.'';
echo '
';echo '
VIEW PROFILE ';// city location field
echo '
';
// This will display the school location which was selected from the cities list in the backend
// foreach ($terms as $term) {
// echo $term->name;
// }
echo '';echo '
'; // end meta listecho '
';echo '
';
?>
$id = get_the_ID();
//$image = wp_get_attachment_url( get_post_thumbnail_id( $id ) );
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $id ), '200-size')[0];
$meta = get_post_meta($id, '_summer-schools', TRUE);
$featured_school_or_not = get_field('featured_school_or_not', $id);
$featured_class ='';
if($featured_school_or_not ==1){
$featured_class ='featured';
}
$basis_class = (get_field('is_a_baisis_school') ? 'baisis' : '') ;
echo '
';
echo '
';// variables from the single custom post type here
$terms = get_the_terms( $id, 'school-type' );
$feesTextVal = get_field('fees_text_value', $id);
$feesPriceVal = get_field('boarding_price_value', $id);
$english_format_number = $feesPriceVal;
if (is_float($feesPriceVal)) {
$english_format_number = number_format($feesPriceVal);
}
$numberOfStudents = get_field('number_of_students_val', $id);
$qualValue = get_field('qualifications_needed', $id);
$pupilsNr = get_field('pupils_number_count', $id);
$schoolLocation = get_field('school_location', $id);
$bannerLogo = get_field('emblem_logo', $id);if($terms) {
echo '
';
foreach($terms as $term)
if(get_field('type_icon', 'school-type_' . $term->term_id))
echo '
';
echo '
';
}echo '
';echo '
' . get_the_title() . '';echo '
';
$terms = get_the_terms( $id, 'city' );
foreach ($terms as $term) {
echo $term->name;
}
echo '
';// fees field
echo '
';
echo 'FEES:';
echo 'FROM: £'.$english_format_number.'';
echo '
';// number of students field
// /AICI
echo '
';
echo 'NUMBER OF STUDENTS:';
echo ''.$numberOfStudents.'';
echo '
';echo '
VIEW PROFILE ';// city location field
echo '
';
// This will display the school location which was selected from the cities list in the backend
// foreach ($terms as $term) {
// echo $term->name;
// }
echo '';echo '
'; // end meta listecho '
';echo '
';
?>
$id = get_the_ID();
//$image = wp_get_attachment_url( get_post_thumbnail_id( $id ) );
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $id ), '200-size')[0];
$meta = get_post_meta($id, '_summer-schools', TRUE);
$featured_school_or_not = get_field('featured_school_or_not', $id);
$featured_class ='';
if($featured_school_or_not ==1){
$featured_class ='featured';
}
$basis_class = (get_field('is_a_baisis_school') ? 'baisis' : '') ;
echo '
';
echo '
';// variables from the single custom post type here
$terms = get_the_terms( $id, 'school-type' );
$feesTextVal = get_field('fees_text_value', $id);
$feesPriceVal = get_field('boarding_price_value', $id);
$english_format_number = $feesPriceVal;
if (is_float($feesPriceVal)) {
$english_format_number = number_format($feesPriceVal);
}
$numberOfStudents = get_field('number_of_students_val', $id);
$qualValue = get_field('qualifications_needed', $id);
$pupilsNr = get_field('pupils_number_count', $id);
$schoolLocation = get_field('school_location', $id);
$bannerLogo = get_field('emblem_logo', $id);if($terms) {
echo '
';
foreach($terms as $term)
if(get_field('type_icon', 'school-type_' . $term->term_id))
echo '
';
echo '
';
}echo '
';echo '
' . get_the_title() . '';echo '
';
$terms = get_the_terms( $id, 'city' );
foreach ($terms as $term) {
echo $term->name;
}
echo '
';// fees field
echo '
';
echo 'FEES:';
echo 'FROM: £'.$english_format_number.'';
echo '
';// number of students field
// /AICI
echo '
';
echo 'NUMBER OF STUDENTS:';
echo ''.$numberOfStudents.'';
echo '
';echo '
VIEW PROFILE ';// city location field
echo '
';
// This will display the school location which was selected from the cities list in the backend
// foreach ($terms as $term) {
// echo $term->name;
// }
echo '';echo '
'; // end meta listecho '
';echo '
';
?>