New home › Forums › Pro Add-on › Problem with custom fields written in foreign languages
Tagged: custom fields
- This topic has 4 replies, 2 voices, and was last updated 2 years, 8 months ago by Steven.
-
AuthorPosts
-
July 8, 2020 at 4:25 pm #60071keremParticipant
Hi,
I just bought your plugin and trying to adjust it to my need.
I’ve tried to add new custom field in Hebrew and after saving i’m getting question marks instead of name. Am I missing something?
Can I add custom fields via ACF instead?I’ve attached a print-screen.
Thank you
Attachments:
You must be logged in to view attached files.July 9, 2020 at 11:03 am #60078StevenModeratorHi there,
Thank you so much for getting in touch, we really appreciate your time.
This will be due to the collation set in your database, so you may need to look into adjusting this.
The specific table you will need to target is called “wp_wpgmza_custom_fields”. Once found, you will need to adjust the collation to utf8_general_ci and apply this to all the columns.
This should then allow for the database table to save the Hebrew text being entered.
I hope this helps?
Kindest Regards,
Steven De BeerJuly 12, 2020 at 11:23 am #60111keremParticipantGreat that solved it 🙂
Another question, Is there a place where I can define fixed options for custom fields that I want to use as filters?
Thank you!July 13, 2020 at 7:34 am #60115StevenModeratorHi again,
Thank you so much for getting back to me.
I am glad to hear this has helped.
Could I kindly ask what options you are looking to make use of?
Currently, you should only be able to enable and disable specific fields via the map editor.
Kindest Regards,
Steven De BeerJuly 14, 2020 at 11:57 am #60140keremParticipantSorry for being unclear.
What I meant is using more advanced custom fields types then simple text, like select fields or check fields. Like you have in ACF
https://www.advancedcustomfields.com/resources/#guidesThank you
July 14, 2020 at 12:08 pm #60141StevenModeratorHi again,
Thank you so much for getting back to me.
Within the custom Fields area where you can create your custom fields, you will be able to select between specific types such as checkboxes and dropdowns under the types field.
I this perhaps what you are looking for?
Kindest Regards,
Steven De BeerJuly 15, 2020 at 2:50 pm #60154keremParticipantYeah I can see that, but I don’t see where I can predefined the options for the checkbox/select. So that when i’m adding a marker I will choose from fixed options.
July 15, 2020 at 3:46 pm #60156StevenModeratorThis reply has been marked as private. -
AuthorPosts
- You must be logged in to reply to this topic.