• Resolved tristadeleon

    (@tristadeleon)


    I’m tyring to use the gallery widget .. and it won’t accept any custom gallery links .. only shows attachement and image. help!!!

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • I’m having the same problem. I don’t think it’s compatible with the version. Disappointing.

    Plugin Author johnogg

    (@johnogg)

    ? Open the file wp-content/plugins/wp-gallery-custom-links/wp-gallery-custom-links.php
    ? Change line 204 (or 205, whichever one begins with $attachment_ids = ) to read: $attachment_ids = $attr[‘ids’];
    ? Comment out lines 215, 216, 217
    ? Save the file.

    Doesn’t work for me either – tried is as a gallery widget and as a text widget and I’ve made those changes to the php file.

    Thread Starter tristadeleon

    (@tristadeleon)

    That doesn’t work, unfortunately !

    Plugin Author johnogg

    (@johnogg)

    What ‘widget’ are you using? If you are using the standard WordPress gallery widget there should be no problem – I have one running on WordPress 4.9.4 on my site. If you are using something like the Jetpack Gallery Widget then there may be an issue as 3rd party galleries can block ours. Also be sure to read the instructions for this plugin to ensure that you are setting the options correctly. If none of that addresses your issue feel free to send details of a temporary user account that I can use to log in and check your setups to [email protected] and I’ll be happy to see if I can troubleshoot.

    Plugin Author johnogg

    (@johnogg)

    I just solved Tristadeleon’s problems. They hadn’t commented the lines out as described above and also had the wrong ‘Link To’ value set for the gallery widget (it should be set to ‘attachment page’). Others may want to check that they have done this correctly.

    Thread Starter tristadeleon

    (@tristadeleon)

    Thank you John – I apologize, I thought I had done that step. Thanks again for your help!

    Thread Starter tristadeleon

    (@tristadeleon)

    john – can you please tell me what the original code is, I’m putting back my original theme for other reasons and I need the plugin to work as it did

    @johnogg

    I followed the steps above. I had 4 strings of error code showing in my widget area, after the code – only 2, but the images still do not link and still open as an image gallery.

    Site: https://www.zippadeezazz.com

    Error code:

    Warning: array_unique() expects parameter 1 to be array, null given in /var/sites/z/zippadeezazz.com/public_html/wp-content/plugins/wp-gallery-custom-links/wp-gallery-custom-links.php on line 220

    Warning: Invalid argument supplied for foreach() in /var/sites/z/zippadeezazz.com/public_html/wp-content/plugins/wp-gallery-custom-links/wp-gallery-custom-links.php on line 222

    @johnogg

    The plugin wp-gallery-custom-links/wp-gallery-custom-links.php has been deactivated due to an error: The plugin does not have a valid header.

    • This reply was modified 6 years, 8 months ago by zippadeezazz. Reason: the plugin says invalid now so that's why the code disappeared
    • This reply was modified 6 years, 8 months ago by zippadeezazz.
    Thread Starter tristadeleon

    (@tristadeleon)

    Hi John,as previously stated, I’m using a new theme and my home page that has a gallery is acting odd. When I click on an image while using a mobile device, it’s opening to a black screen as if to open the image and not the page that it’s pointing to ..

    https://www.scentswarmers.com

    Plugin Author johnogg

    (@johnogg)

    @tristadeleon – If your site is doing something different when using mobile it will be because you have some plugin that is handling mobile requests. I would guess that that is what is blocking our plugin from working. You’d need to identify what plug-in that is and see what workarounds you can find to it.

    Have sent you an email about my issue, any chance you can login and have a look ?

    Have you been able to solve this latest problem?

    I have the same problem as @realidw.

    I followed the steps above. I had 6 strings (because I have 6 pictures) of error code showing in my widget area. After changing the code – only 2 errow messages. The images still do not link and still open as an image gallery.

    Warning: array_unique() expects parameter 1 to be array, null given in [I have removed the site structure for privacy]/wp-content/plugins/wp-gallery-custom-links/wp-gallery-custom-links.php on line 220

    Warning: Invalid argument supplied for foreach() in [I have removed the site structure for privacy]/wp-content/plugins/wp-gallery-custom-links/wp-gallery-custom-links.php on line 222

    Any help is much appreciated! ??

    I gave up after a while, now using Gallery by Supsystic, does everything I need.

    D.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Stopped working for widget’ is closed to new replies.