Simplify your WordPress workflow!
Build faster, cleaner, and more reliable WordPress websites using lightweight plugins designed for real-world workflows.
Get started nowA gallery is made once and can be shown anywhere — on several pages, in a sidebar, in a page builder. Change the gallery, and every place shows the change.
The Embed panel of the gallery editor has the gallery’s shortcode and the PHP line for themes, each with a Copy button. A new gallery gets them when it is saved.
The editor shows the real gallery. Edit this gallery opens the gallery editor in a new tab. The block can be wide or full width, if the theme supports it.
[photo_gallery_rb id="12"]
Any setting of the gallery can be changed for this one place by adding it to the shortcode, with the name from the table below:
[photo_gallery_rb id="12" layout="masonry" columns="3" hover="sadie"]
[photo_gallery_rb id="12" layout="slider" slider_autoplay="1" click="none"]
[photo_gallery_rb id="12" lb_share="facebook,pinterest,copy"]
| Name | Values |
|---|---|
layout |
grid, masonry, justified, tiles, slider |
columns, columns_tablet, columns_mobile |
numbers |
aspect |
1/1, 4/3, 3/2, 16/9, 3/4, 2/3 |
row_height, slider_height, gap, radius |
pixels, without “px” |
tiles_pattern |
tiles-1 … tiles-5 |
slider_effect |
slide, fade, coverflow |
order |
manual, date_desc, date_asc, title, random |
filter |
1 or 0 |
pagination |
none, load_more, infinite, paged |
per_page |
a number |
hover |
an effect name in small letters: zoom, lily, sadie, oscar… |
caption |
hover, below, none |
click |
lightbox, link, none |
lb_theme |
dark, light |
lb_share |
networks separated by commas: facebook, x, pinterest, linkedin, whatsapp, telegram, email, copy |
Switches such as slider_autoplay, lb_thumbs or lb_download take 1 or true (on), 0 or false (off). A name or value that does not exist is ignored.
Search for Photo Gallery RB in the widgets panel and drop it on the page. Choose the Gallery and, if you like, another Layout. Manage galleries opens the list of your galleries.
Add the Photo Gallery RB module to a row and choose the Gallery and, if you like, another Layout.
<?php echo do_shortcode( '[photo_gallery_rb id="12"]' ); ?>
Themes with widget areas have the Photo Gallery RB widget. Its Gallery shows one of your galleries; or leave it at — Images chosen below — and, as in version 1, pick a few images right in the widget with Choose images, set the Columns and, if you like, Hide captions.
Widgets made with version 1 keep working after the update: they show the same images with the new gallery and lightbox.
The gallery’s scripts and styles are loaded only on pages that show a gallery. Each gallery’s CSS is part of the gallery itself, and its HTML is made on the server, so the photos show before any script runs and search engines see them.
Build faster, cleaner, and more reliable WordPress websites using lightweight plugins designed for real-world workflows.
Get started now