fourlightsweb
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Gallery Custom Links] How to set all custom links to [none] by defaultYou would probably need to add a filter in your functions.php, something like the following:
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 ) { if( $link == '' ) return '[none]'; else return $link; }
I think that should see if the custom link is blank, and if so substitute in “[none]”. If the custom link had a value, it would be used instead. I haven’t tested this code, but I think in theory it should work.
Forum: Plugins
In reply to: [WP Gallery Custom Links] Front End ScriptsThe script is actually only used on the front end primarily to disable click effects from lightboxes.
Forum: Plugins
In reply to: [WP Gallery Custom Links] plugin not workingWP Gallery Custom Links requires that the images in a gallery be linked (it swaps in custom links rather than adding them). Can you confirm that your gallery is set to use “file” or “attachment” as the links on the images, and not “none”?
Forum: Plugins
In reply to: [WP Gallery Custom Links] plugin not workingWP Gallery Custom Links doesn’t work with slideshows, just html-based galleries using the WordPress core [gallery] shortcode. Jetpack does use that shortcode, so it should work in most of the Jetpack layouts, but not any of the javascript-based features (ie slideshows).
Looking at your homepage link, I’m seeing what appears to be a jetpack slideshow, which would not be supported. You’re saying you also tried a standard gallery layout with linked images and it didn’t work there?
Forum: Plugins
In reply to: [WP Gallery Custom Links] Customize text fonts?Your question is more of a core WordPress/theme question, not particular to this plugin, but you should be able to add custom css to your theme’s style.css file (or a custom css setting, if your theme has one) to style the caption text. The exact code you would need would depend on the css classes used by your theme in the gallery.
Forum: Plugins
In reply to: [WP Gallery Custom Links] Responsive GalleryWP Gallery Custom Links only modifies the WordPress core [gallery] content – it doesn’t generate any html or css on its own, or change the layout.
Forum: Plugins
In reply to: [WP Gallery Custom Links] Link Clicks not Tracking in DashboardDo you have a link to a page where this is happening that I could look at? Also a page with links that are tracking properly might be helpful, as well as the plugin you’re using to track them.
Forum: Plugins
In reply to: [WP Gallery Custom Links] Links not working properly in 4.1.1Do you have a link to a page where this is happening that I could look at?
Forum: Plugins
In reply to: [WP Gallery Custom Links] Add rel="nofollow"This has been added as a shortcode option at the gallery level.
Forum: Plugins
In reply to: [WP Gallery Custom Links] Links not workingThis plugin is designed to work with the WordPress core [gallery] shortcode specifically, which themes may or may not use if they have custom galleries. I had a copy of the Divi theme, and it looks like if you’re using the “Gallery” divi editor module, the [gallery] shortcode is not used (based on looking at the page source; it looks like all their other module code). I would suggest contacting the Divi author and seeing if they would consider integrating their custom gallery module with WP Gallery Custom Link’s data.
Forum: Plugins
In reply to: [WP Gallery Custom Links] Make gallery caption text clickable as wellWordPress core supports html in captions – you should be able to add the links in yourself directly in the caption box:
<a href="https://somelink.com">Caption Text</a>
Forum: Plugins
In reply to: [WP Gallery Custom Links] Link not workingIt looks like none of the images in your gallery have links – the WordPress gallery setting needs to be “file” or “attachment” for the links to be present to swap in the custom values.
Forum: Plugins
In reply to: [WP Gallery Custom Links] Plugin not working with Woocommerce product imagesThis plugin is designed to work with WordPress core’s [gallery] shortcode; no integration with WooCommerce currently exists.
Forum: Plugins
In reply to: [WP Gallery Custom Links] Use Links only for One GalleryWhile multiple link urls for a single image aren’t supported, it is possible to use the custom link in one gallery, and ignore the custom links in another. Try adding this property to your gallery shortcode where you want the larger images instead of the custom links:
[gallery ignore_gallery_link_urls="true"]
and it should ignore the custom links for that gallery.
Forum: Plugins
In reply to: [WP Gallery Custom Links] large galleriesNo coffee necessary ?? But if you do feel inclined to donate anyway, there’s a button on this page:
https://fourlightsweb.com/portfolio/wp-gallery-custom-links-plugin