Skip to main content

Questions tagged [datepicker]

The tag has no usage guidance.

0 votes
0 answers
41 views

Implementation of React-Datepicker component with Gutenberg in Wordpress

I'm working on a custom plugin that require an daterange picker control in a custom post type sidebar. Since I'd like to use Gutenberg for this (state that I'm quite a novice in React & Gutenberg ...
Paolo Sacchetti's user avatar
0 votes
0 answers
24 views

Change date picker type (Sliced Invoices)

How might it be possible to change the date picker style? One of the other fields on the same page of this WP extension displays a more comprehensive picker. Please see below. I am comfortable making ...
Dax Liniere's user avatar
1 vote
1 answer
80 views

Gutenberg DatePicker component with time set to zero

I'm using the following code to get and set a date meta value for a CPT in Gutenberg (some code omitted for brevity): const [meta, setMeta] = useEntityProp( 'postType', 'activity', 'meta' )...
leemon's user avatar
  • 1,920
1 vote
1 answer
2k views

Is it possible to specify a time interval (from, to) in ACF with date picker, or other custom field?

I am working on an online magazine in WordPress PHP (with Advanced Custom Fields plugin). I specify the date of the article's publication with 'date picker' field. Even though for articles ...
Curious Programmer's user avatar
1 vote
0 answers
419 views

Compare ACF date field (if exists) and post date and order DESC

I have an ACF date field (same format as post date) and in my Query I want it to be compared to the publish date of the post: If erstelldatum is not empty use erstelldatum for order If erstelldatum ...
Omitheus's user avatar
0 votes
1 answer
151 views

Gravity Forms Multiple Dates Filled by 1st Date

I'm trying to figure out if there is a way to have multiple dates on a form be filled by the first date. I have 14 dates on the form. I want the user to pick the date on the first date and have the ...
Killian Consulting's user avatar
0 votes
1 answer
893 views

jQuery Datepicker displays wrong language until interection with the calendar

In a totally custom page, written as a PHP snippet using Woody Snippets plugin, I need to use a jQuery datepicker to select a date. I imported the necessary files correctly, and also called and set up ...
James B.'s user avatar
1 vote
1 answer
1k views

ACF Custom validation message not showing up

I have two date fields where I want to make sure the "end date" is always later than the "start date". I added a validation function per ACF's documentation. It does fire, but the ...
geochanto's user avatar
  • 121
0 votes
1 answer
2k views

datepicker for custom post type admin

Hey guys im trying to get the jQuery datepicker working for the admin section for a custom post type. Essentially I just want a date and then the ability to store that date in the DB then query the DB ...
Zayd Bhyat's user avatar
1 vote
1 answer
5k views

Min And Max Date With Date Format In Elementor Form Not Working

I am using Min and Max date in the Elementor Form. The Min and Max date are working fine but When I add the Date Format, the Min & Max date is not working and Date Format is working. My Min & ...
Rahul Kumar's user avatar
0 votes
1 answer
163 views

Sort custom post type by custom datepicker instead of filtering

I have a custom post type Event that I use in conjunction with ACF. I have a group called event and inside that group I have a field called date_start. And this is the code that I currently have, but ...
ivan marchenko's user avatar
1 vote
0 answers
124 views

CMB2 toolkit: Compare 2 Dates and validate the Time

Hello i am using the CMB2-toolkit for Wordpress: https://github.com/CMB2/CMB2/wiki/Field-Types I have a Problem where i have 2 Datetimes, where one is the Starting-Time and the other is the Ending ...
Question221019's user avatar
1 vote
1 answer
454 views

How to use datepicker.min.js?

On my site I load datepicker.min.js <script type='text/javascript' src='http://xxx/wp-includes/js/jquery/ui/core.min.js?ver=1.11.4'></script> <script type='text/javascript' ...
Gregory's user avatar
  • 582
0 votes
1 answer
574 views

Gutenberg publish date datepicker

I'm making some meta boxes to my custom posts, and i need a datepicker Is there a way to use this wordpress datetimepicker but without the time?
Rodrigo Butzke's user avatar
0 votes
1 answer
774 views

What is the propre way to include jQuery UI Datepicker's CSS in plugin?

I was looking for a datepicker, I read in another question's answer that jQuery UI's DatePicker is included in WordPress. To make it work I needed to add in script inclusions wp_enqueue_script('...
TTT's user avatar
  • 329

15 30 50 per page