Home › Forums › Add-ons › Gallery Field › attachment.php image navigation not following same order as ACF Gallery › Reply To: attachment.php image navigation not following same order as ACF Gallery
Update: The next_image_link and previous_image_link retrieve the neighbouring Post in the WP database. The next_image_link just looks for the next item in the database (which is usually based on upload date/time).
It look’s like we may have to create a new function to solve this problem:
Maybe an Array of ID’s for each ACF Gallery which can be navigated on the attachment.php?
Any help greatly appreciated :D!!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.