From 8cd9749bf441de5c6ee06fbf0b43207bb7373404 Mon Sep 17 00:00:00 2001 From: JoryHogeveen Date: Mon, 25 Sep 2023 13:25:23 +0200 Subject: [PATCH] Include full image size in reference list https://wordpress.org/support/topic/template-image-url-for-full-size/ --- components/Templates/includes/functions-pod_reference.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/Templates/includes/functions-pod_reference.php b/components/Templates/includes/functions-pod_reference.php index 87fa93bfd3..9fc178473c 100644 --- a/components/Templates/includes/functions-pod_reference.php +++ b/components/Templates/includes/functions-pod_reference.php @@ -54,7 +54,9 @@ function pq_recurse_pod_fields( $pod_name, $prefix = '', &$pods_visited = array( $recurse_queue = array(); - $image_sizes = get_intermediate_image_sizes(); + $image_sizes = get_intermediate_image_sizes(); + $image_sizes[] = 'full'; + $media_fields = [ 'title', 'caption',