I am trying to add a start date and end date to a custom post type called events. But the date field is greyed out when going to add a new event post. Screenshot attached.
Hi Glyn,
Thank you for contacting us and I’d be happy to assist.
To troubleshoot why the date fields are not editable, I’ll recommend to first check if there are any script errors or warnings shown in the browser’s console.
( ref: https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors )
You can also check the date fields, with all other plugins disabled, except the Toolset. If the fields start showing correctly without other plugins, you can start activating them, one-by-one, to narrow down to a possible conflicting one.
In case the issue still persists, you’re welcome to share access to your website’s admin area, for further troubleshooting.
Please make a FULL BACKUP of your database and website and share temporary login details to access for the admin area, with administrator role.
( Note: I have set the next reply to private which means only you and I will have access to it )
Regards,
Waqar
Hi Glyn,
Thanks for writing back and for sharing the login details.
Since the website is live, we'll need a test/development site where the problem has been replicated and we can make some changes for further troubleshooting.
You can either make an online clone of your website and share its detail with us or share its copy using the "Duplicator" plugin ( https://wordpress.org/plugins/duplicator/ )
Your next answer will also be private and only you and our support team will have access to it.
Please let us know if you have any further information or questions.
Hi Glyn,
Thank you for sharing the access details for the staging website.
During troubleshooting, I noticed that scripts errors shown in the console are fixed, when the active theme is switched to a default theme like Twenty Seventeen or the parent theme Divi.
When the script errors are fixed the date picker also starts working as expected with those date fields.
This suggests that the script conflicts are resulting from the code in the active child theme "DEGRP".
I'll recommend to go through its code for any custom or third-party scripts and remove or fix them and the date fields will work.
I hope this helps! Please let us know if you need any further assistance.