Hi, sorry if this is a noob question.
I have custom post types in my wordpress, and some do not require translation, is it possible to disable the translation boxes that appear in them?
Thanks in advance.
foreach($el as $language) {
$content .= qtrans_insertTitleInput($language);
}
$post_type = get_post_type();
if($post_type != "pages_album" && $post_type != "pages_artist"){
foreach($el as $language) {
$content .= qtrans_insertTitleInput($language);
}
}
// hide old title bar
$content .= "document.getElementById('titlediv').style.display='none';\n";
// hide old title bar
if($post_type != "pages_album" && $post_type != "pages_artist"){
$content .= "document.getElementById('titlediv').style.display='none';\n";
}
Return to qTranslate Support Forum
Users browsing this forum: Google [Bot] and 5 guests