Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
I'm afraid that there isn't an option to reset the custom field preference. You can edit the file wpml-config.xml in the theme folder and get the reference of the default custom field preference of the theme.
Also, please follow the documentation to translate the page content https://wpml.org/errata/betheme-bebuilder-content-not-available-in-translation-editor/
Thanks.
dariod-33
OK; this is quite interesting. Here is the wpml-config.xml. I marked by an "x" after </custom-field> all the fields that are set in the config file but DO NOT APPEAR in WPML panel. As you can see, there are a lot of them. On the other hand, there are fields in the WPML panel that do not exist in the config file.
SO, THERE IS A DISALIGNMENT!
They are:
menu-item-mfn-bg
mfn-builder-preview
mfn-builder-preview-local-style
mfn-builder-revision-autosave
mfn-builder-revision-update
mfn-page-items-seo
mfn-page-object
mfn-post-full-width
mfn-post-logo-img
mfn-post-responsive-logo-img
mfn-post-responsive-retina-logo-img
mfn-post-retina-logo-img
mfn-post-sticky-logo-img
mfn-post-sticky-retina-logo-img
mfn-template-sidemenu
mfn_footer_template
mfn_header_template
mfn_popup_included
rs_page_bg_color
siteground_optimizer_is_optimized
siteground_optimizer_optimization_attempts
siteground_optimizer_optimization_failed
siteground_optimizer_original_filesize
slide_template
wp-smpro-smush-data
wp-smush-ignore-bulk
wp-smush-lossy
Here is the section of CONFIG file with WPML initial configuration:
<custom-fields>
<custom-field action="copy-once">mfn-page-items</custom-field>
<custom-field action="copy-once">mfn-post-hide-content</custom-field>
<custom-field action="copy-once">mfn-post-layout</custom-field>
<custom-field action="copy-once">mfn-post-slider</custom-field>
<custom-field action="copy-once">mfn-post-slider-layer</custom-field>
<custom-field action="copy-once">mfn-post-slider-shortcode</custom-field>x
<custom-field action="copy-once">mfn-post-one-page</custom-field>
<custom-field action="copy-once">mfn-post-hide-title</custom-field>
<custom-field action="copy-once">mfn-post-remove-padding</custom-field>
<custom-field action="copy-once">mfn-post-custom-layout</custom-field>
<custom-field action="copy-once">mfn-post-menu</custom-field>
<custom-field action="translate">mfn-meta-seo-title</custom-field>x
<custom-field action="translate">mfn-meta-seo-description</custom-field>x
<custom-field action="translate">mfn-meta-seo-keywords</custom-field>x
<custom-field action="copy-once">mfn-post-css</custom-field>
<custom-field action="copy">mfn-post-bg-pos</custom-field>x
<custom-field action="copy">mfn-post-header-style</custom-field>
<custom-field action="copy">mfn-post-sticky-header</custom-field>
<custom-field action="copy">mfn-post-sticky-header-style</custom-field>
<custom-field action="copy">mfn-post-skin</custom-field>
<custom-field action="copy">mfn-post-background-subheader</custom-field>
<custom-field action="copy">mfn-post-color-subheader</custom-field>
<custom-field action="translate">mfn-post-link</custom-field>x
<custom-field action="translate">mfn-post-link_title</custom-field>x
<custom-field action="copy">mfn-post-target</custom-field>x
<custom-field action="copy">mfn-post-slider-header</custom-field>x
<custom-field action="copy">mfn-post-intro</custom-field>x
<custom-field action="copy">mfn-post-love</custom-field>
<custom-field action="translate">mfn-post-desc</custom-field>x
<custom-field action="copy">mfn-post-author</custom-field>
<custom-field action="copy">mfn-post-company</custom-field>x
<custom-field action="copy-once">mfn-page-local-style</custom-field>
<custom-field action="copy-once">mfn-page-fonts</custom-field>
<custom-field action="copy">mfn_template_type</custom-field>
<custom-field action="copy-once">mfn_template_conditions</custom-field>
<custom-field action="copy-once">body_offset_header</custom-field>x
<custom-field action="copy-once">header_position</custom-field>x
<custom-field action="copy-once">header_width</custom-field>x
<custom-field action="copy-once">header_content_on_submenu</custom-field>x
<custom-field action="copy-once">header_content_on_submenu_color</custom-field>x
<custom-field action="copy-once">header_content_on_submenu_blur</custom-field>x
<custom-field action="copy-once">header_sticky</custom-field>x
<custom-field action="copy-once">header_sticky_width</custom-field>x
<custom-field action="copy-once">header_mobile</custom-field>x
<custom-field action="copy-once">mobile_header_position</custom-field>x
<custom-field action="copy-once">mobile_body_offset_header</custom-field>x
<custom-field action="copy-once">footer_type</custom-field>x
<custom-field action="copy-once">popup_position</custom-field>x
<custom-field action="copy-once">popup_display</custom-field>x
<custom-field action="copy-once">popup_display_delay</custom-field>x
<custom-field action="copy-once">popup_display_scroll</custom-field>x
<custom-field action="copy-once">popup_display_scroll_element</custom-field>x
<custom-field action="copy-once">popup_entrance_animation</custom-field>x
<custom-field action="copy-once">popup_display_visibility</custom-field>x
<custom-field action="copy-once">popup_display_visibility_cookie_days</custom-field>x
<custom-field action="copy-once">popup_display_referer</custom-field>x
<custom-field action="copy-once">popup_hide</custom-field>x
<custom-field action="copy-once">popup_hide_delay</custom-field>x
<custom-field action="copy-once">popup_close_button_active</custom-field>x
<custom-field action="copy-once">popup_close_button_display</custom-field>x
<custom-field action="copy-once">popup_close_button_display_delay</custom-field>x
<custom-field action="copy-once">popup_close_on_overlay_click</custom-field>x
<custom-field action="copy-once">popup_width</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid.mfn-popup-tmpl-custom-width .mfn-popup-tmpl-content:width</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:height</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:height_tablet</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:height_mobile</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:--mfn-popup-tmpl-offset</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:--mfn-popup-tmpl-offset_tablet</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:--mfn-popup-tmpl-offset_mobile</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content .mfn-popup-tmpl-content-wrapper:padding</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content .mfn-popup-tmpl-content-wrapper:padding_tablet</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content .mfn-popup-tmpl-content-wrapper:padding_mobile</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:border-radius</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:border-radius_tablet</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:border-radius_mobile</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:background-color</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:box-shadow</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid:z-index</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid|before:background-color</custom-field>x
<custom-field action="copy-once">popup_overlay_blur</custom-field>x
<custom-field action="copy-once">popup_close_button_align</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:--mfn-exitbutton-size</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:--mfn-exitbutton-size_tablet</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:--mfn-exitbutton-size_mobile</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:--mfn-exitbutton-font-size</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:--mfn-exitbutton-font-size_tablet</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .mfn-popup-tmpl-content:--mfn-exitbutton-font-size_mobile</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .exit-mfn-popup-abs:top</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .exit-mfn-popup-abs:top_tablet</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .exit-mfn-popup-abs:top_mobile</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .exit-mfn-popup-abs:--mfn-exitbutton-offset-horizontal</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .exit-mfn-popup-abs:--mfn-exitbutton-offset-horizontal_tablet</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .exit-mfn-popup-abs:--mfn-exitbutton-offset-horizontal_mobile</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .exit-mfn-popup-abs:border-radius</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .exit-mfn-popup-abs:border-radius_tablet</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .exit-mfn-popup-abs:border-radius_mobile</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .exit-mfn-popup-abs:color</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .exit-mfn-popup-abs:background-color</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .exit-mfn-popup-abs|hover:color</custom-field>x
<custom-field action="copy-once">style:#mfn-popup-template-postid .exit-mfn-popup-abs|hover:background-color</custom-field>x
<custom-field action="copy-once">megamenu_width</custom-field>x
<custom-field action="copy-once">megamenu_custom_width</custom-field>x
<custom-field action="copy-once">megamenu_custom_position</custom-field>x
<custom-field action="copy-once">style:#mfn-megamenu-postid:padding</custom-field>x
<custom-field action="copy-once">style:#mfn-megamenu-postid:border-style</custom-field>x
<custom-field action="copy-once">style:#mfn-megamenu-postid:border-color</custom-field>x
<custom-field action="copy-once">style:#mfn-megamenu-postid:border-width</custom-field>x
<custom-field action="copy-once">style:#mfn-megamenu-postid:border-radius</custom-field>x
<custom-field action="copy-once">style:#mfn-megamenu-postid:background-color</custom-field>x
</custom-fields>
dariod-33
OK; I am going to remove the admin credentials.... I will ask syupport to BeTheme
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
Hi,
It is normal behavior. WPML will recognize the field in WPML > Settings > Custom Fields Translation if the field has a value in the database. Some fields in the config file .xml do not have a value so it they won't be available there.
Let me know if you have any questions.
dariod-33
OK, but what's about the fields that are dinamically created in DOM by JavaScript? And why there are wfm_* fields in your panel that ARE NOT in wpml_config.xml of BeTheme? That's strange.
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
Hi,
what's about the fields that are dynamically created in DOM by JavaScript?
As I mentioned above, only the field that has the value in the database will be recognized and displayed in WPML > Settings > Custom Fields Translation.
why there are wfm_* fields in your panel that ARE NOT in wpml_config.xml of BeTheme?
Because the theme author doesn't add the field configuration to the file as the default. They can add anything on their end. The same for other themes and plugins.
Thanks.