Date :
} else {
// Event type is Date
$event_image = get_field('event_image');
if ( $event_image ) {
// Use the event image already set
} else {
// change the event image to the fallback one from admin options
$event_image = get_field('events_fallback_image', 'option');
}
$size = 'full'; // (thumbnail, medium, large, full or custom size)
if( $event_image ) {
echo wp_get_attachment_image( $event_image, $size, "", ["class" => "card-img-top"] );
}
?>
October 2021 monthly update
A unique insight into the horse racing industry
Scottish Racing Academy and Racing to School recently gave students from both Hawick High School and Langholm Academy a special guided tour of Ewan…
} else {
// Event type is Date
$event_image = get_field('event_image');
if ( $event_image ) {
// Use the event image already set
} else {
// change the event image to the fallback one from admin options
$event_image = get_field('events_fallback_image', 'option');
}
$size = 'full'; // (thumbnail, medium, large, full or custom size)
if( $event_image ) {
echo wp_get_attachment_image( $event_image, $size, "", ["class" => "card-img-top"] );
}
?>
September 2021 monthly update
Date :
} else {
// Event type is Date
$event_image = get_field('event_image');
if ( $event_image ) {
// Use the event image already set
} else {
// change the event image to the fallback one from admin options
$event_image = get_field('events_fallback_image', 'option');
}
$size = 'full'; // (thumbnail, medium, large, full or custom size)
if( $event_image ) {
echo wp_get_attachment_image( $event_image, $size, "", ["class" => "card-img-top"] );
}
?>
Annual round up
We did it! What a year it’s been – take a look at the SRA’s first full year. A huge well done to all…
Date :
Annual round up
We did it! What a year it’s been – take a look at the SRA’s first full year. A huge well done to all…
} else {
// Event type is Date
$event_image = get_field('event_image');
if ( $event_image ) {
// Use the event image already set
} else {
// change the event image to the fallback one from admin options
$event_image = get_field('events_fallback_image', 'option');
}
$size = 'full'; // (thumbnail, medium, large, full or custom size)
if( $event_image ) {
echo wp_get_attachment_image( $event_image, $size, "", ["class" => "card-img-top"] );
}
?>
May 2021
Date :
} else {
// Event type is Date
$event_image = get_field('event_image');
if ( $event_image ) {
// Use the event image already set
} else {
// change the event image to the fallback one from admin options
$event_image = get_field('events_fallback_image', 'option');
}
$size = 'full'; // (thumbnail, medium, large, full or custom size)
if( $event_image ) {
echo wp_get_attachment_image( $event_image, $size, "", ["class" => "card-img-top"] );
}
?>
April 2021
Date :
} else {
// Event type is Date
$event_image = get_field('event_image');
if ( $event_image ) {
// Use the event image already set
} else {
// change the event image to the fallback one from admin options
$event_image = get_field('events_fallback_image', 'option');
}
$size = 'full'; // (thumbnail, medium, large, full or custom size)
if( $event_image ) {
echo wp_get_attachment_image( $event_image, $size, "", ["class" => "card-img-top"] );
}
?>
March 2021
Date :
} else {
// Event type is Date
$event_image = get_field('event_image');
if ( $event_image ) {
// Use the event image already set
} else {
// change the event image to the fallback one from admin options
$event_image = get_field('events_fallback_image', 'option');
}
$size = 'full'; // (thumbnail, medium, large, full or custom size)
if( $event_image ) {
echo wp_get_attachment_image( $event_image, $size, "", ["class" => "card-img-top"] );
}
?>
December 2020
Date :