Lightbox Plus Colorbox
V2.6 Doesn't work with WP 3.8 (3 posts)

  1. heinelg
    Posted 2 years ago #

    Updated to WP to 3.8 - Gallery doesn't work anymore with Lightbox Plus ColorBox enabled - page with gallery is blank.


  2. rashmani
    Posted 2 years ago #

    Hi there,

    I think I've encountered the same problem. The (a tags surrounding) images get correctly added the necessary rel value but no lightbox pops open. From the js Console I see a jQuery error like "unrecognized expression: a[rel= lightbox[post-1234]]".

    Googling a bit took me here: http://stackoverflow.com/questions/15655154/unrecognized-expression-in-attributecontains-selector

    I've solved by modifying plugin code (file lightbox-plus/class/filters.class.php) to generate rel values as


    This happens in a bunch of lines like this (173):

    if (!$e->parent()->rel) { $e->parent()->rel = 'lightbox\\['.$postGroupID.$unq_id.'\\]'; }

    This worked for me, I hope it may help someone else.


  3. heinelg
    Posted 2 years ago #

    Thanks, Rash - unfortunately (or fortunately) that didn't help me. Upon further investigation I discovered that my problem was caused by deleting a user. Restored the backup and upgraded to WP 3.8 - all is fine.

    My apologies to Dan Zappone for erroneously blaming the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Lightbox Plus Colorbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.