<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Instructions for use on frontend?

[ad_1]

Replies: 1

Hi,

The plugin is working great in the admin, but now I’m finally ready to use the gallery in the frontend, I can’t get it to work.
I’ve tried using the code example from your previous plugin, replacing
$images = acf_photo_gallery(‘vacation_photos’, $post->ID);
with
$images = get_field(‘vacation_photos’, $post->ID);
but am just getting a load of warnings, starting with
Warning: Undefined array key “id”

What am I missing?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer