• Hi, everyone. My WordPress blog theme is Twenty Eleven 1.3. I’ve just installed the plugin called ‘LightBox Plus’ so that I can have a popout effect when someone clicks an image on the blog. The plugin works excellently on the blog itself. but what I want to do is something different.

    I’m running a website and on this website I’m attempting to implement WordPress (my website is outside of the wordpress blog) so that when I have new photos to upload to the website, I can simply use WordPress to post an updated gallery, simple. I have connected WordPress to my website by several lines of code so that when I post a new gallery, the photos appear on my actual website, as well as on my blog.

    My issue is since my actual website is outside of my WordPress blog, the LightBox Plus plugin isn’t working outside of the blog, so when I click a photo on my website, it doesn’t have the popout effect it’s supposed to have like on my blog. I want to be able to use the LightBox Plus plugin’s capabilities outside of my blog. Is this possible, and how can I accomplish this?

    Thank you!

Viewing 1 replies (of 1 total)
  • The easiest way to do it to implement the colorbox.js directly into your non-wordpress pages. You will also need to have whatever code pulls the photos and creates link from WordPress to add a class or rel element.

    After that you can just follow the instructions here:

    https://www.jacklmoore.com/colorbox/guide

    To include the colorbox.js.

    In fact you should be able to use the files that come with Lightbox Plus instead of adding a new set of files. You’ll just need to look up the paths by looking at the page source in WordPress.

Viewing 1 replies (of 1 total)
  • The topic ‘LightBox Plus Outside of Blog’ is closed to new replies.