fourlightsweb
Forum Replies Created
-
Currently there’s no way to set a target for the custom link. I’ll look into adding a target setting for a future release of the plugin.
Forum: Plugins
In reply to: [WP Gallery Custom Links] [Plugin: WP Gallery Custom Links] NextGen GalleryMarking as resolved since this issue is out of the scope of what the plugin was designed to do and there’s not really anything to do here.
Forum: Plugins
In reply to: [WP Gallery Custom Links] [Plugin: WP Gallery Custom Links] NextGen GalleryUnfortunately, WP Gallery Custom Links is only designed to work for native WordPress galleries, and doesn’t support NextGen galleries.
Well if you ever need it in the future, 1.1.2 contains the no-javascript-in-feeds version. ??
I added a !is_feed() around the part that writes out the javascript in the version below. Can you download this file, swap it out for the one in the plugins/wp-gallery-custom-links folder (don’t forget to remove the .txt at the end), and see if it works in your feed afterward?
https://www.fourlightsweb.com/temp/wp-gallery-custom-links.php.txt
It looks like it’s working on my test site, but I’d like to be sure it will work for you before I push the new version. Note: you may have to clear your cache to see the updated feed.
This was resolved over email, but for posterity, the Flashlight theme had a couple different custom gallery layout options, including a 3-column layout and a “WordPress default gallery” option. The 3-column option used a function built into the theme to draw out the gallery, and didn’t use the [gallery] shortcode at all. The “WordPress default gallery” layout option did use the [gallery] shortcode, but instead of saving the gallery images as page attachments, the theme was creating its own custom “gallery-images-for-ID” post, and the uploaded images were attached to *that* post instead of the page being edited.
So because the page technically had no attached images (which is what the WP Gallery Custom Links plugin looks for to do URL replacement) and the theme used a customized method for saving uploaded gallery images (not as direct page attachments), it is beyond the scope of what the plugin was designed to do. Either the theme would need to be customized in order to support the plugin, or the plugin customized to support this particular theme.
Forum: Plugins
In reply to: [WP Gallery Custom Links] [Plugin: WP Gallery Custom Links] I love youlol well i had the same problem, so i’m glad to know someone else found my solution useful. thanks! ??
Forum: Plugins
In reply to: [WP Gallery Custom Links] [Plugin: WP Gallery Custom Links] Cannot be loadedGood to hear ??
Forum: Plugins
In reply to: [WP Gallery Custom Links] [Plugin: WP Gallery Custom Links] Cannot be loadedI’ve made some updates to the plugin that may solve your issue. Try updating to the new version 1.1.0 and let me know if it works for you now. Thanks!
Forum: Plugins
In reply to: [WP Gallery Custom Links] [Plugin: WP Gallery Custom Links] Cannot be loadedCan you post a link to the page with the gallery? Or if not, a snippet of the gallery HTML that’s being generated? Thanks!
Forum: Plugins
In reply to: [WP Gallery Custom Links] [Plugin: WP Gallery Custom Links] error noticesI added:
if ( ! $post ) return ' ';
in 1.0.3, let me know if that works. ??
Forum: Plugins
In reply to: [WP Gallery Custom Links] [Plugin: WP Gallery Custom Links] error noticesThanks for the rating! ?? Can you give me an example of when $post is not populated so I can test that scenario? I looked at WordPress’s default gallery shortcode function, and it also appears to assume $post is set, so I’ve been trying to think of how/when that error might occur.
Forum: Plugins
In reply to: [WP Gallery Custom Links] [Plugin: WP Gallery Custom Links] error noticesRemoved two undefined order parameters and added an isset() around $attr[‘link’]. The above should now be resolved in version 1.0.2. Thanks!