> WP Gallery Custom Links wordpress plugin resources analysis

WP Gallery Custom Links wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name WP Gallery Custom Links
Version 1.10.1
Author Four Lights Web Development
Rating 98
Last updated 2014-08-28 04:55:00
Downloads
102405
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
WP Gallery Custom Links plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

WP Gallery Custom Links plugin added 2 kB of resources to the Home page and 2 kB of resources to the sample Post page.

WP Gallery Custom Links plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! WP Gallery Custom Links plugin ads no tables to your Wordpress blog database.

Overview

If you've ever had a WordPress gallery of staff, product, or other images and needed to link them to other pages but couldn't, this plugin is for you!

This plugin adds a "Gallery Link URL" field when editing images. If the image is included in a gallery, the "Gallery Link URL" value will be used as the link on the image instead of the raw file or the attachment post. There are also several additional options (see "Usage" below).

It's designed to work even if customizations have been made via the post_gallery filter; instead of replacing the entire post_gallery function, it calls the normal function and simply replaces the link hrefs in the generated output. By default, any Lightbox or other onClick events on custom links will be removed to allow them to function as regular links.

Usage

  • See the custom fields added in the screenshots section at http://wordpress.org/extend/plugins/wp-gallery-custom-links/screenshots/.
  • For each gallery image, you can specify a custom Gallery Link URL.
  • Use "[none]" as the Gallery Link URL to remove the link for that gallery image.
  • For each gallery image, you can select a Gallery Link Target ("Same Window" or "New Window").
  • For each gallery image, you can select how to handle Lightbox and other onClick events ("Remove" or "Keep").
  • For each gallery link, you can add additional css classes.
  • Use [gallery ignore_gallery_link_urls="true"] to ignore the custom links on an entire gallery.
  • Use [gallery open_all_in_new_window="true"] and [gallery open_all_in_same_window="true"] to open all images in an entire gallery in a new window/the same window, respectively.
  • Use [gallery preserve_click_events="true"] to keep Lightbox or other onClick events on all custom-linked images in an entire gallery.
  • Use [gallery remove_links="true"] to remove links on all images in an entire gallery.

Hooks

  • Use "wpgcl_filter_raw_gallery_link_url" to filter the custom gallery link URLs as they come out of the database. Note that this may include the value "[none]" if it has been entered to remove the link later on. Example:
add_filter( 'wpgcl_filter_raw_gallery_link_url', 'my_gallery_link_url_filter', 10, 3 );
function my_gallery_link_url_filter( $link, $attachment_id, $post_id ) { return '/en/' . $link; }

Screenshots

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Jakobian screenshot

Jakobian

by: ozanonay

2275
0%
Baseshine screenshot

Baseshine

by: salsaturation

4021
100%