Problem: I have a custom audio field displayed in a Slick carousel. When the carousel paginates, I would like to stop the audio players if they are playing on other slides.
Solution: This will require custom JavaScript that is triggered upon the pagination event. Slick, for example, has an API event beforeChange that can be used to trigger your own JavaScript before the slide is changed. If the Slick carousel is initialized like this:
Solution:
To change the WYSIWYG Visual Editor mode, What if you try to edit one of the post from the same post type from admin and make sure that the post Editor (wysiwyg) field is set to "Visual" mode and save your post from backend and then try to load the form on the frontend.
Problem:
The user has created a filter on datetime custom field using TODAY() but it does not work well for posts that have a time
Solution:
The user should use the NOW() function or the SECONDS_FROM_NOW(0) function as he is using datetime field.
TODAY() function works well for date fields.