0
如何使CMB2盒子與qTranslate-x兼容?Wordpress CMB2 qTranslate-x
我有用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'
));
我怎樣才能使供qTranslate-X插件(https://wordpress.org/plugins/qtranslate-x/)的內容。
我遇到了wysiwyg字段的問題,保存後它在切換選項卡後並未在編輯器窗口中顯示正確的文本。 - 元素上的值不正確。 – weaveoftheride
@AndrewWelch在[github](https://github.com/WebDevStudios/CMB2/issues/519)上查看我的解決方案。它適用於wysiwyg – janw
我剛剛在我的模塊中修復了wysiwyg支持。請檢查它現在是否適合你。 – jmarceli