Introducing the Scottish Racing Academy’s new Shadow Board. The Shadow Board has been created to provide a new perspective on the SRA, how it…
} 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"] );
}
?>
} 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"] );
}
?>