0

I'm using the Settings API with some troubles that I'm solving thanks to the help of this community. I want to add a countdown to a page but I'm not sure how to proceed. I've a checkbox in my custom setting spage that will enable or disable the features I want to use on the fornt-end, I want to implement the countdown by adding the needed inputs for months, days and hours, I'm thinking to use a date input type on the backend, but I need some help. I need to understand if the field needs to be registered a part from tha setting field I already have for the checkbox that will enable it. To implement the field, I will chek using jquery the value of the checkbox and then if is checked I will show the input otherwise it will stay disabled. Is this way correct? How I can proceed, please instruct me about the best way.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.