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]
- Multilingual WordPress Website with multiple source languages
- Change homepage logo for each site multisite setup
- Multilanguange with domaine
- Custom plugin translation not working
- How can I make my plugin detect if a certain theme is active?
- How to edit the name of a plugin on wordpress.org/plugins
- Block Missing from Inserter When Following Block Tutorial
- How to Enfroce Domain Licensing Limits? [closed]
- Increased max_upload_filesize, but still can’t upload plugin [closed]
- Override plugin constant using a theme
- How to Replicate Elementor Licensing Model
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- Is option_active_plugins actually doing anything useful?
- How to add infinite scroll to element products widget
- How do I save meta key value in the save function?
- Update Content for a Custom Block Toolbar Button
- How can I resolve an error on WordPress after PHP update
- Showing Search Engine Results in Elementor [closed]
- How to connect WordPress media to another host?
- How to save mediaupload multiple URLs as array meta?
- Real estate schema markup not showing up on Rich Results test
- How to add product author carousel in wordpress? [closed]
- How to get URL param for pagination in shortcode?
- WordPress REST API filter on blank custom ACF
- Ajax Load More stopped working (Plugin with repeater template, shows hidden Button)
- Add_rewrite_rule in HivePress (WordPress plugin/theme)
- How do I call an action hook into wp_ajax hook callback function
- How to change and edit users according to the extension in the URL
- How to add a static image inbetween the product tiles on main shoppage woocommerce?
- Plugin download link
- Issue with customizer and widget page
- Posts in Admin only display 1 Post instead of all Post in admin area
- thumbnail_width not working in wordpress most popular post plugin
- Gravity Forms and Gravity View Permissions
- edit slider plugin capability for custom_role
- WordPress Plugin and other pages not opening
- Meta box not displaying on the plugin page
- Inline AJAX script passing variables to PHP
- Plugin Block at the backend of every page or post
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- Warning: Undefined variable $admin
- How can I display an attribute from each post inside foreach($latest_posts1 as $post )
- add_meta_box showing blank screen in my page
- Wrong block appender button showing
- How to get attributes from block.js into php
- Cannot edit Sidebar in any theme in wordpress