Site logo

Archived topic

Include Datepicker

3 replies · Started by Nacho on February 16, 2020

Viewing posts 1–4 of 4

Dear developers,

I am so happy with Generatepress that I have decided to use it for a website that I have to create for a hotel.

The thing is that I want to include (from the child-theme) a datepicker, which needs js libraries, and I don't know if I can generate any compatibility error with Generatepress.

I would like you to guide me a little in the process.

Here is the js that I want to make work:
https://jqueryui.com/datepicker/

And here is some of the core files that I need:
https://jqueryui.com/download/

P.D. I tried to do these task with a Wordpress plugin, but there's a lot of trash, so I decided to do it by myself.

Thank you very much for the support!

Hi there,

I don't think you should run into any compatibility issues. You may have to enqueue jQuery itself, but you can just add it as a dependency when you enqueue the datepicker library.

Let us know if you run into any issues :)

Datepicker already working :D

Now is styling time!

We're in touch

Awesome :)

This archived topic is closed to new replies.