Support » Plugin: Insert PHP » Incompatibility issue with Lightbox Plus

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WillBontrager

    (@willbontrager)

    I have not tested the Lightbox Plus plugin with the Insert PHP plugin, but from what you experience there seems to be some incompatibility between them. Regrettably, I am unprepared to spend the time to study the Lightbox Plus plugin code and test to try to find the reason.

    A choice of one or the other needs to be made unless someone finds a viable solution.

    Perhaps there are other plugins available that will run PHP code in posts and pages that are compatible with Lightbox Plus. Or, there may be plugins similar to Lightbox Plus that play nice with Insert PHP.

    Will

    I fixed this by adding the following to page.php in between javascript tags

    (note: you do need to install jquery into your website)

    (function(){
    $(‘a[rel=”lightbox”]’).attr(“rel”,”lightbox[menus]”);
    })();

    but you have to label rel=”lightbox” for all the links which popup

    Plugin Author WillBontrager

    (@willbontrager)

    Thank you for the fix!

    Immediately apologize for the English
    Faced with the problem. I have a one-page site and lightbox does not open and returns to the top of the page. Tell me, what could be the reason?

    Plugin Author WillBontrager

    (@willbontrager)

    maximamus, Lightbox Plus support is the correct place to ask your question.

    Will

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Incompatibility issue with Lightbox Plus’ is closed to new replies.