Lightgallery: Wordpress integration

Created on 26 Oct 2016  ·  7Comments  ·  Source: sachinchoolur/lightGallery

I replied to this thread and realized only later that the thread was closed:
https://github.com/sachinchoolur/lightGallery/issues/269

Has someone been able to successfully integrate lightGallery with Wordpress?

Thanks for any help,
Piero

Most helpful comment

Hey Guys,

Wordpress version of lightGallery is now available. https://dzine.io/products/lightgallery-wp-plugin/

All 7 comments

Thanks for bringing it up again!

I have on a couple of sites. What are you wondering about? Perhaps I can help you out.

Thank you, Emilie.

I was trying to add lightGallery to my WP website but I couldn't figure it out.
In the issue page #269 there are a couple of suggestions in order to make it work with WP, which I tried but without luck.
I don't know PHP, so it gets a little complicated for me to get this done.
For now, I've ended up using an another plugin, which is the Justified Gallery as you can see here:
http://www.pierodesopo.com/

Best,
Piero

Hey Emilie

If you can share the code you used with us on how you made it work that would be great.

Hey Piero,

Let me just see if I understand your question/ goal from #269. Are you
trying to find a way to add the images to the gallery? I usually use ACF
fields for this task and not jquery. So I can think of a few solutions for
you depending on your setup. Am I understanding your dilema correctly? I'd
be happy to help once I have a better sense of your goal.

Also, the homepage gallery is working when I view it -- so perhaps there's
something else that I'm missing about your goal?

Cheers,
Emilie

On Wed, Nov 16, 2016 at 12:58 AM, Paal Joachim Romdahl <
[email protected]> wrote:

Hey Emilie

If you can share the code you used with us on how you made it work that
would be great.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sachinchoolur/lightGallery/issues/486#issuecomment-260890013,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD__sBLIhCryIigXPM01S9l5GWHPmqLgks5q-sW9gaJpZM4KglGO
.

_Emilie Nagahama_

Hey Emilie

In WordPress. We need a
js file where the code to how to integrate LightGallery into WordPress is defined. Such as integrating for instance with all jpg and png files.
Then enqueue it in the functions.php file.
Something like I wrote in #269.

It would be great to get the code used in the js file.
Thanks.

Hey Guys,

Wordpress version of lightGallery is now available. https://dzine.io/products/lightgallery-wp-plugin/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lyhongpon picture lyhongpon  ·  4Comments

HamzaAbdullahMoh picture HamzaAbdullahMoh  ·  4Comments

serjrd picture serjrd  ·  6Comments

Jeonghyun-Kim picture Jeonghyun-Kim  ·  3Comments

MatteoZorro picture MatteoZorro  ·  7Comments