Streamline Image Linking in WordPress Galleries
Gallery Custom Links is a WordPress plugin designed to enhance the functionality of image galleries by allowing users to link images to specified URLs. This plugin integrates seamlessly with various gallery formats, including the native WordPress Gallery, Gutenberg, and Meow Gallery, ensuring a versatile use case for different gallery setups. Users can easily configure link settings directly from the Media Library, where fields for Link URL, Link Target, Link Rel, and Aria Label are provided. Notably, when a Link URL is specified, the lightbox feature is automatically disabled for those images, ensuring a straightforward linking experience.
The plugin employs different content rewriting methods to adapt to various WordPress configurations, including HtmlDomParser for reliable hardcoded links, DiDom for faster processing with valid HTML, and a JavaScript method for quick linking without hardcoding. Additionally, it offers filters for optimizing its operation on specific pages and enhancing compatibility with more gallery plugins. Gallery Custom Links is a free tool aimed at improving user experience in managing image links within WordPress galleries.