I have custom post type named soto_property in which I have added three wp_editor as post meta, using this code –
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')
);
Now I have installed qtranslate
plugin to make my site Multilingual. This plugin automaticaly add Language tab in its default content editor. I want to add these languages tabs in my custom editor also, so it can save content in defined languages.
How can I do this.? Please help me.
3 Answers
it looks as already answered here on stackexchange (really detailed way), as first you can try:
add_filter('soto_property','qtrans_convertURL');
Anyway, have a look here on qtranslate slug plugin, usually it save tons of troubles. And small note – if I were you, I would better use mqTranslate (which is based on qTranslate, but it’s compatible with last version of WP)