• Glue

    (@glue)


    Hi

    I am trying to get shadowbox to work, I dropped it for Lightbox 2 earlier, but now Lightbox suddenly stopped working aswell. Shadowbox doesn’t even work in the default theme. I tried to add rel=”shadowbox” to one of the images even though it is supposed to do it automatically? I’ve tried different library’s without success. I even tried disabling every plugin, and still no go.

    LINK

Viewing 5 replies - 1 through 5 (of 5 total)
  • The wp-minify plugin might be the problem. I am looking at your site using firefox+firebug and I get the following errors:

    missing ) in parenthetical
    https://isshin.se/wp-content/plugins/wp-minify/min/?f=/wp-content/themes/lysa/js/superfish.js,/wp-content/plugins/wp-minify/cache/ec2d11924f1b12f00911a163576ef3ec.js,/wp-content/plugins/daves-wordpress-live-search/jquery.dimensions.pack.js,/wp-content/plugins/wp-minify/cache/b29ddba62fcb478d504c2be01ba2a825.js,/wp-content/plugins/google-analyticator/external-tracking.min.js,/wp-content/plugins/shadowbox-js/shadowbox/shadowbox.js
    Line 23
    jQuery is not defined
    https://isshin.se/
    Line 24
    syntax error
    https://isshin.se/
    Line 708

    Try disabling wp-minify and see if it resolves the problem.

    Thread Starter Glue

    (@glue)

    I tried to disable every plugin except Shadowbox-js now, still the same issue.

    Thread Starter Glue

    (@glue)

    It somehow has something to do with jQuery not being found.. but when I set Library to None, I am still not able to use shadowbox atleast not with the current theme. But when I use the default theme with None, it seems to work.

    Any ideas why?

    No idea, it’s sometimes hard to track this down because there can be a lot of factors.

    I’d really need to see a setup that works and a setup that doesn’t work. Hopefully with as many similarities as possible.

    I had a similar situation. Shadowbox worked in the default theme but not in a custom theme I had been working on.

    Turned out to be an issue with my footer.php. I was missing

    <p><?php wp_footer(); ?></p>

    Adding that in fixed it right up.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Shadowbox JS] Cant get shadowbox to work’ is closed to new replies.