Following snippet will disable it for post_type post
(modify array below to affect other post_types):
function qtrans_disable()
{
global $typenow, $pagenow;
if (in_array($typenow, array('post')) && // post_types where qTranslate should be disabled
in_array($pagenow, array('post-new.php', 'post.php')))
{
remove_action('admin_head', 'qtrans_adminHeader');
remove_filter('admin_footer', 'qtrans_modifyExcerpt');
remove_filter('the_editor', 'qtrans_modifyRichEditor');
}
}
add_action('current_screen', 'qtrans_disable');
Similarly you can disable it for specific post IDs. However take into account that this won’t affect already existing multi-languaged content. Therefore use it before you enter any.
Related Posts:
- Qtranslate displays empty categories with get_categories()
- How to set a custom title per language?
- Multi language site [closed]
- How to set back-end language per user?
- How to keep plugin translations after updates?
- How to force WordPress to temporarily switch locale (using qTranslate)? [closed]
- What is the best page ordering plugin that works well with WPML? [closed]
- Force Plugin to English Translation
- Add code into on a per page/post basis
- What is the purpose of adding a .po file?
- Custom values are not translated
- titles in recent posts appear together in all languages with qtranslate
- Plugin translations problem
- Why load_textdomain work but not load_plugin_textdomain?
- Language Translation is not working?
- Setting up a multilingual wordpress site
- How WordPress knows where to find locale files?
- Prepare plugin options for multi-lingual support
- Popup Cookie WordPress select language and section (Elementor)
- More than one text-domain is being used because of the included templates for plugins
- how to load the language file in plugin?
- How to query the custom fields by language?
- How to enable qTranslate languages tabs in custom plugin page
- qTranslate conflicts with SEO-plugins [closed]
- Custom rewrite rules not working with WPML
- How to merge two .PO language files?
- qTranslate remove default directory from link
- Force language in translate function
- polylang + category/tag custom language link
- How WordPress is able to change locale without using setlocale
- How can i change the texts of plugin (created by me) in wordpress admin?
- Xili language plugin not showing language flag [closed]
- Translation plugin to translate another plugins
- Plugin translation not working on WordPress.org
- Translation to ACF relationship field
- How to change Header image depending on language [closed]
- How to handle a WordPress blog with articles in different languages?
- Language translation on a fresh english installation
- How to enable WPML in BuddyPress Multilingual Plugin in a single website? [closed]
- is_front_page breaks with url parameters generated by a plugin
- Translation for a text that is not printed on the screen
- Identify User Language, Redirect to the corresponding page and Save the chosen language as Cookie
- How to implement data residency in my WordPress site
- I have English words in Kurdish pages
- WPML – Stop language redirection in initial load
- How do I make my site multi language? [closed]
- WPGlobus Multilingual – REST API
- Translating Website
- How do I add languages?
- I have a plugin that applies a Google translation to my page–how does the browser know which language to display?
- How do I change a plugin language of only one page?
- WordPress Site in Multiple Languages
- qTranslate‑X is not translating all shortcodes
- The Best Multilanguage Plugin supporting the FSE [closed]
- Why is it important to deactivate a plugin before deleting it?
- Using plural-only translation of register_post_status() in plugin
- What are good plugins for beginners? [closed]
- Some plugins adding full server path after url (with custom wp-content folder)
- Is it possible to block subscriber users to changing its password?
- debugging register_activation_hook()
- How to unregister a widget from a child theme
- Passing select control value to block
- How to add custom JS to tinymce in wordpress
- What are ideal hooks to call register_sidebars?
- WordPress is giving errors after activating WP_DEBUG
- plugins_url function mixes system path and URL
- The called constructor method for WP_Widget in GFWidget is deprecated since version 4.3.0! Use
- Wondering what these multi-colored extra pages are?
- Facebook Like needs confirmation?
- How does automatic redirection for the redirection plugin work?
- Plugin custom post type – Internal server Error
- Linux Permissions and Ownership for WordPress
- w3 Total Cache not Caching – Requested URI is rejected [closed]
- Which file of wordpress manage plugins functionalities?
- How to use login_redirect with a user capability
- Form that generates an ID for the customer
- Ajax Plugin Not Echoing Response
- Different custom templates for product category [closed]
- is_rtl returns false while it should return true
- Can i legally remove a credit from a free plugin on wordpress.org? [closed]
- WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]
- Localise settings section headline
- wp_options not returning value for logged out users?
- how to create a custom page in child theme or plugin?
- Warning: call_user_func_array() expects parameter 1 to be a valid callback, function
- Hide all Admin Notices and move on a separate page
- Front Page of Site Has Gone Replaced By Random Page
- Creating categories while importing via CSV
- Website content not displayed anymore after updates
- Flexslider empty slide
- WordPress plugin changes not updating
- Issue: CSV file upload works only when “View page source” is done
- Meta box: Undefined index
- Shortcode registered from a plugin not recognized
- wordpress shortcode A executing code from shortcode B
- Plugin for Reading Documents, PDF’s etc
- Show latest and related articles from 3 different blogs
- PHP if url extension action=discussion condition use [closed]
- WordPress plugin header already sent
- Order custom post type by posts with most likes first