Autofocus pro conflicting with lightbox plugin in wp gallery

  • Question
  • Updated 4 years ago
The fancybox feature in autofocus pro 1.5 is breaking wp gallery use of other lightbox plugins even when it is turned off.

Seems to be inserting a rel=fancybox-0000 tag and preventing the proper tagging by the plug in. Can't find where this is coming from. I even tried disabling all the fancybox elements in functions.php but that didn't change a thing.

I am using lightbox plus and it works fine with all my other plugins when in the twentyten theme.

It also works fine in autofocus with a nextgen gallery. But doesn't function at all with a wp gallery.
Photo of Steve Hunter

Steve Hunter

  • 5 Posts
  • 0 Reply Likes
  • frustrated

Posted 4 years ago

  • 1
Photo of Steve Hunter

Steve Hunter

  • 5 Posts
  • 0 Reply Likes
I found it after all. In the thematic-functions.php. Killed the gallery filter there and have it working.

By the way, I would have switched over to fancybox but wasn't able to get a caption instead of the file title.
Photo of Allan Cole

Allan Cole, Owner

  • 2047 Posts
  • 112 Reply Likes
Hi Steve,
Unfortunately, I can’t guarantee that my theme will work with every plugin configuration. However, I will make sure that the code removes any remnants of markup needed for the fancy box code should you happen to turn the option off. I should have it sorted out for the next minor update(which should be released this week).
Photo of Steve Hunter

Steve Hunter

  • 5 Posts
  • 0 Reply Likes
Thanks Allan, That will be a better fix, I hate to break a function.