• Resolved jonasweb

    (@jonasweb)


    Hello, I’ve been using WP Colorbox and it’s great, but the newest version doesn’t work with WP 5.5 or higher. It just shows empty boxes but not the clickable content that should open the popup. I rolled back to v 1.1.1 and it’s fine again. Can you release a fix for this please? Thank you!

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Noor Alam

    (@naa986)

    @jonasweb, I just checked your site. It seems to be working fine.

    Thread Starter jonasweb

    (@jonasweb)

    Thanks for the reply, but the reason it’s working on the site is because I went back to version 1.1.1, which does work. I couldn’t leave it that way for you to see it because it wasn’t working and it’s a live site.

    So you can see what I mean, I installed WP Colorbox on a different site and put up a test page here:
    https://www.jonasweb.net/colorbox-test/

    This is the shortcode I used:
    [wp_colorbox_media url=”#bounce” type=”inline” hyperlink=”“]
    <div style=”display:none;”>
    <div id=”bounce” class=”portfolio-popup”>

    <p>Testing.</p>
    </div>
    </div>

    This works normally with WP 5.5.x and WP Colorbox version 1.1.1, but when updating to 1.1.4, it no longer works, and nothing appears on the page. Please take a look at https://www.jonasweb.net/colorbox-test/ where you’ll see version 1.1.4 not working.

    Thank you for your help.

    Plugin Author Noor Alam

    (@naa986)

    @jonasweb, I don’t see any link on this page that I can click. I only see this error:

    
    GET https://www.jonasweb.net/wp-content/themes/jonasweb/loader.gif 404 (Not Found) https://www.jonasweb.net/wp-content/themes/jonasweb/style.css?ver=5.5.3
    
    Thread Starter jonasweb

    (@jonasweb)

    I figured out the issue. I had it like this in the shortcode:

    [wp_colorbox_media url=”#test” type=”inline” hyperlink=”“]

    and it worked fine in 1.1.1. After going to 1.1.4 and playing with why nothing was appearing on the page, I tried removing the img src and just including the image URL like so:

    [wp_colorbox_media url=”#test” type=”inline” hyperlink=”image.png”]

    and now it works in 1.1.4. Maybe you can update so that anybody who had the code this way in the earlier version will still work after updating. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP Colorbox new version not working with WP 5.5’ is closed to new replies.