Instructions for use on frontend?
-
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?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.