At the Scottish Racing Academy, we like to keep everybody up to date. On this page you can find our monthly update videos and news articles.
} 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"] );
}
?>
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"] );
}
?>
} 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…
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"] );
}
?>
} 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"] );
}
?>
} 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"] );
}
?>
} 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"] );
}
?>