• Hello,
    Thanks the dev for the great plugin. I was able to translate a pretty old theme where WPML has failed.
    I have the only remaining issue – my theme from UDthemes has custom post types for homepage sections. I have managed to add them through wpm-config.json
    However part of these section contents is stored in meta fields in postmeta like this:
    —————–
    meta_id 126
    post_id 80
    meta_key _udt_homepage_section_meta
    meta_value a:3:{s:13:”display_title”;s:98:”A <span>Collection</span> <small> of <span>Quality</span> and <span>professionalism</span></small>”;s:14:”teaser_content”;s:0:””;s:14:”section_layout”;s:9:”portfolio”;}
    —————–

    How do I add meta field to be translated with the custom post type?

    Thanks

Viewing 1 replies (of 1 total)
  • Hi @digitpro
    Try this. Add the code to config file in “post_fields” section.

    
    "_udt_homepage_section_meta": {
      "display_title": {},
      "teaser_content" {}
    }
    

    I think ‘teaser_content’ maybe can containts a text.

Viewing 1 replies (of 1 total)
  • The topic ‘Meta field translation’ is closed to new replies.