php – How to translate the blog date in the Avada theme
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
I am trying to translate the date format for my websites blog posts from english to french.
I am using the Avada Theme and have tried integrating WPML as well.
I have tried adding the admin_texts_date_format to the string translations in wpml but it seems that is not working and I am getting the english language still when I switch languages.
I have also tried removing the date format in avada options blog meta in order to revert to the default post formats (hoping this would trigger the wpml string translation but to no avail.)
I can see there is a hook for avada admin_texts_date_format is there a way I can use this hook to perform the task required? Any code samples would be appreciated.