WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: navz-photo-gallery (Used by 7 domains)

ACF Photo Gallery Field

👤 Navneil Naicker 📦 v3.1 🔗 Plugin Homepage

Important Notice for New Users of ACF Photo Gallery Field

If you are installing the ACF Photo Gallery Field for the first time on your WordPress website, we’d like to inform you that this plugin will no longer be maintained as of October 2024. As an alternative, we have launched a new and improved plugin called ACF Galerie 4.

We encourage you to check out ACF Galerie 4 for enhanced features and ongoing support. ACF Galerie 4 includes a built-in migration tool that seamlessly transfers data from ACF Photo Gallery Field or ACF Gallery Pro to ACF Galerie 4. Learn more.

Thanks

A lightweight extension of Advanced Custom Field (ACF) that adds Photo Gallery field to any post/pages on your WordPress website.

  • Visually create your Fields
  • Add multiple photos and you can also modify title, caption and link to anything
  • Assign your fields to multiple edit pages (via custom location rules)
  • Easily load data through a simple and friendly API
  • Uses the native WordPress custom post type for ease of use and fast processing
  • Uses the native WordPress metadata for ease of use and fast processing
  • Supports WordPress classic and Gutenberg editor
  • RESTFul API

Donation

Navneil Naicker is the sole developer working on this free WordPress Plugin in his leisure time. He would like to integrate it with premium plugins like Elementor Pro and Advanced Custom Fields Pro. Please donate to support Navneil in continuing further development of this plugin. Click on the link “https://www.buymeacoffee.com/navzme” to donate.

Usage

acf_photo_gallery is a helper function that takes in ACF_FIELD_NAME and POST_ID will query the database and compile the images for you. The output of this function will be an array.

acf_photo_gallery(ACF_FIELD_NAME, POST_ID);

Example

The following example is using Twitter Bootstrap framework to layout. You can use any framework of your choice.

ID);
    //Check if return array has anything in it
    if( count($images) ):
        //Cool, we got some data so now let's loop over it
        foreach($images as $image):
            $id = $image['id']; // The attachment id of the media
            $title = $image['title']; //The title
            $caption= $image['caption']; //The caption
            $full_image_url= $image['full_image_url']; //Full size image url
            $full_image_url = acf_photo_gallery_resize_image($full_image_url, 262, 160); //Resized size to 262px width by 160px height image url
            $thumbnail_image_url= $image['thumbnail_image_url']; //Get the thumbnail size image url 150px by 150px
            $url= $image['url']; //Goto any link when clicked
            $target= $image['target']; //Open normal or new tab
            $alt = get_field('photo_gallery_alt', $id); //Get the alt which is a extra field (See below how to add extra fields)
            $class = get_field('photo_gallery_class', $id); //Get the class which is a extra field (See below how to add extra fields)
?>


Add Extra Fields

To add extra fields add the following to your themes functions.php file.

//Create extra fields called Altnative Text and Status
function my_extra_gallery_fields( $args, $attachment_id, $acf_key ){
    $args['alt'] = array(
        'type' => 'text', 
        'label' => 'Altnative Text', 
        'name' => 'alt', 
        'value' => get_field($field . '_alt', $attachment_id)
    );
    $args['status'] = array(
        'type' => 'select', 
        'label' => 'Status', 
        'name' => 'status', 
        'value' => array(
            array(
                '1' => 'Active',
                 '2' => 'Inactive'
            ), 
            get_field($field . '_status', $attachment_id)
        )
    );
    return $args;
}
add_filter( 'acf_photo_gallery_image_fields', 'my_extra_gallery_fields', 10, 3 );

Supported field types:
* text, date, color, datetime-local, email, number, tel, time, url, week, range, checkbox, radio, textarea, select

How to get values of extra fields

You can use ACF helper function get_field

get_field('photo_gallery_alt', $id);
get_field('photo_gallery_class', $id);

Pull caption from attachment caption field

By default the caption is being pulled from description field. Add the following filter to your function.php to pull the caption from attachment caption field.

add_filter( 'acf_photo_gallery_caption_from_attachment', '__return_true' );

REST API

Send HTTP Request to URL to get JSON response of all posts

http://{domain}/wp-json/wp/v2/{POST_TYPE}/

Send HTTP Request to URL to get JSON response of specific post

http://{domain}/wp-json/wp/v2/{POST_TYPE}/{POST_ID}/

When you receive the response, see the ACF item which contains ACF photo gallery name and array of images.

Installation and basic usage tutorial

ACF Photo Gallery Field on WordPress Custom Post Type tutorial

How to use Elementor dynamic tags with ACF Photo Gallery Field plugin tutorial

Compatibility

This ACF field type is compatible with: ACF 4, 5 and 6

Issues

Just like any other WordPress plugin, this plugin can also cause issues with other themes and plugins. If you are facing issues making this plugin work on your WordPress site, please do ask for help in the support forum. This way we can help you out and prevent this issue from happening to someone else. If you want to talk to me directly, you can contact me via my website http://www.navz.me/

DomainExposuresHeadersLast Checked
m*d*n*a*u*i.com (WP 6.9.4) F 2026-05-04 12:33:34
l*s*b*a.com (WP 6.7.5) F 2026-04-30 18:18:57
n*s*e*i*-*r*s.org (WP 6.8.5) F 2026-04-27 05:22:47
t*r*n*o*o*e*b*i*d*r.com F 2026-04-14 08:09:16
l*s*b*a.ch 2025-11-12 06:02:25
n*s*y*o*t*r*d*r*.com 2025-11-09 09:59:51
b*t*a*h*n*.com 2025-11-06 09:20:52

Top 50 Plugins

Plugin Count
elementor 2,042,226
contact-form-7 1,910,576
elementor-pro 1,164,210
woocommerce 947,969
revslider 698,969
js_composer 470,163
jetpack 467,685
wp-rocket 350,781
essential-addons-for-elementor-lite 315,823
gravityforms 268,896
header-footer-elementor 253,761
complianz-gdpr 246,928
instagram-feed 244,520
google-analytics-for-wordpress 239,596
elementskit-lite 238,462
gutenberg-core 236,283
cookie-law-info 235,991
google-site-kit 235,154
sitepress-multilingual-cms 217,744
bluehost-wordpress-plugin 207,377
wpforms-lite 170,343
astra-sites 162,891
gutenberg 157,629
litespeed-cache 150,704
cookie-notice 140,280
gtranslate 138,641
coblocks 130,241
the-events-calendar 128,499
popup-maker 121,128
astra-addon 103,285
bb-plugin 102,615
tablepress 102,610
woocommerce-payments 101,312
LayerSlider 101,239
wp-smushit 100,582
premium-addons-for-elementor 98,751
mailchimp-for-wp 96,676
duracelltomi-google-tag-manager 93,550
honeypot 92,216
cleantalk-spam-protect 90,914
akismet 90,531
woocommerce-gateway-stripe 88,997
megamenu 86,393
fusion-builder 84,420
all-in-one-seo-pack 84,296
creame-whatsapp-me 82,848
smart-slider-3 82,792
formidable 82,376
creative-mail-by-constant-contact 80,738
pixelyoursite 79,986

Top 50 Themes

Theme Count
hello-elementor 674,966
Divi 562,521
astra 515,104
pub 160,466
Avada 130,518
flatsome 127,314
generatepress 126,963
oceanwp 92,567
h4 88,883
kadence 84,415
enfold 74,423
salient 71,495
bb-theme 63,882
twentytwentyfour 63,321
twentyseventeen 58,816
cocoon-master 58,267
blocksy 58,168
betheme 56,511
twentytwentyfive 55,512
dt-the7 48,164
neve 42,007
woodmart 41,188
Avada-Child-Theme 36,660
twentytwentyone 36,349
bridge 35,585
gox 34,459
twentytwenty 32,203
lightning 31,394
swell 30,662
twentytwentythree 29,059
bricks 26,436
Impreza 26,399
Newspaper 23,771
twentytwentytwo 23,290
epik-redesign 21,413
pro 19,529
storefront 19,379
uncode 19,357
extendable 19,255
twentysixteen 19,237
sydney 17,595
yith-wonder 17,151
themify-ultra 15,660
Total 15,560
twentyfifteen 13,897
hestia 13,737
porto 13,467
twentynineteen 13,254
yootheme 13,028
thrive-theme 12,935