Support

Account

Home Forums Add-ons Gallery Field Gallery images not displaying on SOME pages Reply To: Gallery images not displaying on SOME pages

  • I believe so. That outputs an empty array. The name ‘photos’ must be correct since they display fine on the archive page.

    If I replace the ‘photos’ with any other custom field name for that post, that displays fine.

    If I don’t use the $post->ID parameter, the photos still display fine on the archive page, but not for the category pages.

    I tried moving the code from the content-project.php template to both the archive and category pages, still no changes.

    Why would two pages, using the same code, display one custom field differently?