Pulp Gallery
Pulp Gallery
Description
Pulp Gallery displays post‑attached images in a simple, touch‑friendly gallery using a single shortcode. It is fast, dependency‑free, and ideal for multi‑page scans, magazines, comics, and archival image sets.
Features include swipe navigation, keyboard support, a thumbnail strip, and an RSS‑safe fallback for feed readers.
Shortcode
Use the shortcode:
[pulp_gallery]
This displays all image attachments for the current post.
Optional attributes:
[pulp_gallery size="medium" thumbsize="thumbnail"]
Attributes:
- size — main image size (default: medium)
- thumbsize — thumbnail size (default: thumbnail)
How It Works
- Edit a post
- Upload images via the Media Library
- Insert [pulp_gallery] shortcode
- Save the post
Features
- Responsive layout
- Swipe + drag navigation on touch devices
- Keyboard navigation (Left/Right arrows)
- Lightweight thumbnail strip
- No jQuery or external dependencies
- RSS‑safe fallback (static images, no scripts)
RSS Fallback
When viewed in RSS readers, the plugin outputs medium‑sized images, each linking to the full image, with no JavaScript or UI elements.
Installation
- Upload the plugin folder to /wp-content/plugins/
- Activate Pulp Gallery
- Add the shortcode to any post or page
Faq
Edit the post, upload images via the Media Library while editing,
then save. WordPress automatically attaches those images to the
post and the shortcode displays them.
Yes. Each [pulp_gallery] shortcode displays the images attached
to the current post.
Yes. Use the size and thumbsize attributes:
[pulp_gallery size=”medium” thumbsize=”thumbnail”]
Any registered WordPress image size is supported.
Yes. The gallery supports swipe and drag navigation on touch
devices.
Yes. Use the Left and Right arrow keys to navigate between images.
Yes. When viewed in a feed reader, the plugin outputs a
simplified static version with medium-sized images linking to
the full image. No JavaScript or interactive elements are
included.
No. The plugin has zero external dependencies.
Any post type that supports media attachments.
Reviews
Changelog
1.2.0
- Replaced direct database query with WordPress API functions
- CSS and JS now load only when shortcode is present
- Removed dead code
1.1.1
- Updated WordPress compatibility to 7.0
1.1.0
- Previous release