Forum Replies Created
-
AuthorPosts
-
Truong Giang
ParticipantHi,
The language of date picker calendar is based on the language of your website in
Settings > General > Site Language.Thank you.
Truong Giang
ParticipantHi there,
To get ISO date from date string, you can use this PHP function: http://php.net/manual/en/function.date-create-from-format.php
Thank you.
Truong Giang
ParticipantHi @zac,
Thank you for using our products. I will check the issue you meet and give you the answer ASAP.
About the problem you meet when getting saved data, you should use meta box helper function to get the value, read the docs here.
You can use
get_option()function, but meta box saves all fields data to an entry inwp_optionstable, so you can't useget_option( 'field_id' ). You must useget_option( 'option_name' )to get an array of all fields data then get the field you want.Thank you.
Truong Giang
ParticipantHi there,
I see this error message in your console log:
You have included the Google Maps API multiple times on this page. This may cause unexpected errors.Maybe another plugins or themes also use google map api. Please try to deactivate other plugins to find the one causes this error and we can find how to resolve it.
Truong Giang
ParticipantHi,
Date format can be changed by adding
dateFormattojs_optionsarray (See here). You can create a function to check the language of website then return the date format.Truong Giang
ParticipantThe code above works right for me. Can you give me the list of plugins you use? And if you meet an user which can not save, please give me the information of that user like: user role, you are editing user or editing profile, new user or old user.
Thank you.Truong Giang
ParticipantPlease read Timber documentation here: https://github.com/timber/timber/wiki/TimberPost#properties
You can retrieve the custom field value via field id. Example: post.field_idTruong Giang
ParticipantHi there,
Can you give me the code you use to register meta box?
Truong Giang
ParticipantHi there,
We are discussing about this. Probably, we will store meta box id to field data. Please wait the good news from us. Thank you.
Truong Giang
ParticipantHi @xoomserve,
'js_options' is a array which be converted to Javascript Object and pass as map options.
Please see this link: https://developers.google.com/maps/documentation/javascript/referenceTruong Giang
ParticipantI tried again and again but it still works with existing term. Can you try it on a fresh WordPress site?
Truong Giang
ParticipantHi @Jackky,
Thank you for your suggestion about flex box. We are considering the syntax below. It's clearer but it makes many nested levels to define fields. Can you check it and give your opinions? Thank you very much.
Truong Giang
Participant@uththamag Have you seen any js errors in the browser console?
Truong Giang
ParticipantI checked again but can't find the issue. Can you give me the list of plugins (with version) are you using?
Truong Giang
ParticipantI tested with the code you give but it works great. Please make sure that you are using MB Term Meta version 1.2
-
AuthorPosts