我有自定義後類型命名soto_property中,我已經添加了三個wp_editor爲元后,使用此代碼 -如何使自定義發佈meta wp_editor可翻譯?
wp_editor(htmlspecialchars_decode($valueeee1),
'propertyEditor1',
$settings = array('textarea_name'=>'detail',
'editor_class'=>'propertyEditor')
);
wp_editor(htmlspecialchars_decode($valueeee2),
'propertyEditor2',
$settings = array('textarea_name'=>'features',
'editor_class'=>'propertyEditor')
);
wp_editor(htmlspecialchars_decode($valueeee3),
'propertyEditor3',
$settings = array('textarea_name'=>'text_to_pdf',
'editor_class'=>'propertyEditor')
);
現在我已經安裝qtranslate
插件,使我的網站多語種。該插件會自動在其默認內容編輯器中添加語言選項卡。我想在我的自定義編輯器中添加這些語言選項卡,因此它可以用定義的語言保存內容。
我該怎麼做。請幫幫我。