0
votes

How to make CMB2 box compatible with qTranslate-x?

I have simple text field created with CMB2 (https://pl.wordpress.org/plugins/cmb2/).

$cmb_demo->add_field( array(
  'name' => __( 'Text', $this->plugin_slug ),
  'desc' => __( 'field description (optional)', $this->plugin_slug ),
  'id' => $prefix . $this->plugin_slug . '_text',
  'type' => 'text'
) );

How can I make its content available for qTranslate-x plugin (https://wordpress.org/plugins/qtranslate-x/).

1

1 Answers

1
votes

It seems that there wasn't any Wordpress plugin which will provide such integration, so I created new project. It could be found on Github https://github.com/jmarceli/integration-cmb2-qtranslate as well as on Wordpress.org https://wordpress.org/plugins/integration-cmb2-qtranslate/.