0+
August 31, 2026
September 29, 2025
Contributor Photo Gallery: Display, Customize & Share Your WordPress.org Photo Contributions
Contributor Photo Gallery is the easiest way to turn your WordPress.org/photos contributions into a professional, responsive gallery.
Built for photographers, agencies, and WordPress community members, it helps you create a beautiful portfolio or add authentic visual credibility to your site, with no coding required.
Fast & Easy: Display your WordPress.org photos with a single shortcode.
Username or ID: Enter your WordPress.org username or numeric User ID; usernames are resolved automatically.
Multiple Styles: Choose from Modern, Polaroid, Circle, and Fixed Height card designs.
Fully Customizable: Adjust borders, shadows, backgrounds, and caption colors.
Live Preview: Configure and style in the admin with instant preview updates.
SEO & Accessibility: Semantic HTML, alt attributes, and WCAG-friendly controls.
Performance-Minded: Smart caching, lazy loading, and optimized API calls.
Backwards Compatible: Supports [cp_gallery] (new) and [wpcontrib_photos] (legacy).
Lightweight, privacy-friendly, and compatible with any WordPress theme, Contributor Photo Gallery gives you a polished way to showcase your WordPress.org photos with speed and style.
[cp_gallery] (legacy [wpcontrib_photos] still supported).Special thanks to snilesh for his open-source WordPress.org photo contribution, which we are proud to feature in our plugin’s identity and marketing visuals.
Primary Shortcode:
[cp_gallery]
Examples:
– [cp_gallery] : uses your saved settings.
– [cp_gallery per_page="12" columns="3"]
– [cp_gallery per_page="20" columns="4" user_id="21053005"]
Legacy Shortcode:
– [wpcontrib_photos] : still supported for backward compatibility.
Attributes:
– per_page : photos per page (1-50). Example: per_page="12"
– columns : grid columns (1-6). Example: columns="3"
– user_id : override the saved contributor ID with a numeric WordPress.org User ID. Example: user_id="21053005"
Note: The settings screen accepts either a username or a numeric ID. The user_id shortcode attribute expects a numeric User ID.
For commercial support, contact: Satyam Vishwakarma
This plugin is licensed under the GPL v3. See the LICENSE for details.
/wp-content/plugins/contributor-photo-gallery/ or install via the Plugin Installer.[cp_gallery] to any page, post, or widget.As of version 2.6.0 you can simply enter your WordPress.org username (for example, hellosatya) in Settings. The plugin resolves it to the correct numeric User ID automatically when you save.
If you prefer to enter the numeric ID directly, visit https://wordpress.org/photos/author/YOUR-USERNAME/, right-click and choose “View Source”, then search for wp-json/wp/v2/users/. The number following the endpoint is your User ID.
Yes. Settings are stored safely and preserved during updates. Version 2.5.0 and later also migrate legacy options automatically.
Yes. The plugin outputs predictable classes like:
– .cpg-gallery-grid
– .cpg-photo-card
– .cpg-photo-content
You can override these or use built-in CSS variables for deeper customization.
No. It is optimized with:
– Smart caching (configurable from 5 minutes to 24 hours).
– Lazy loading images.
– Lightweight, semantic markup.
cpg_ to cpglry_ for clarity and conflict avoidance.[cp_gallery].[wpcontrib_photos] preserved.