![](https://cxg-design.jp/wp-content/uploads/2024/04/acf_code_banner01.png)
ACF PHOTOGRAPH
ACF
投稿のループ内に入れます。「photograph01」は、フィールド名になります。
<?php
$image = get_field('photograph01');
if( $image ):
// Image variables.
$url = $image['url'];
$title = $image['title'];
$alt = $image['alt'];
// Thumbnail size attributes.
$size = 'large';
$thumb = $image['sizes'][ $size ];
?>