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
- WooCommerce – Show shipping cost on product page [closed]
- Seeking clarification on page request life-cycle
- How to store ACF custom fields data in a custom table
- Modify the_content after the more tag
- Too many variations in WooCommerce
- How is the ” wp_get_update_data ” function used?
- woocommerce hook publish product
- How do you install the automattic developer plugin under localhost for mamp when there is an error, deprecated?
- Plugin not saving values when placed in a folder within /wp-content/plugins
- How to integrate plugin in WordPress theme
- WordPress with Git deployment issues
- Set WordPress TinyMCE Editor To Readonly
- Different UI in WordPress
- How can I make 2 plugins that include different versions of a framework to both use the latest version?
- Add Plugin options as subpage to Theme options page
- Changing page URL and connect newsletter to MailChip
- Git Hosting for WordPress SVN Plugin Repository [closed]
- How to enable AMP for custom single template with custom database
- Problem with the Loop – want to limit the access to three free articles
- WordPress and a secondary database?
- Problems With WP Bannarize Plugin [closed]
- How to create a child/addon plugin
- how to force tag page layout to use same as search layout?
- WordPress Users authentication with Java Application
- how to make wordpress plugin from PersianWebToolkit? [closed]
- WordPress custom plugin that uses woocommerce enabled payment gateway for payment [closed]
- Find Plugin by file name
- Creating an admin button that when clicked shows a popup form
- Add an action based on custom post meta field
- How to hide an option from dropdown in filter module
- how to create user profile pages and display them based on users roles
- Woocommerce – Change variations output
- how do i fixe Page Builder on a custom page?
- WordPress ajax error 400 bad request for sending data to remote site [duplicate]
- wp_enqueue_scrpts seems not to get called
- How to Create Custom Dashboard for my Laundry Website?
- Warning: Illegal offset type in /var/www/html/wp-includes/option.php on line 1924
- How to create a WordPress sandbox on a live server for website development?
- get post excerpt by query
- Advanced Custom Fields (ACF) Plugin – Random Image in Sidebar
- Deleted plugins displays error message
- __FILE__ in WordPress plugins
- Woocommerce Product Add-ons – Auto-select first option
- Identifying Plugins Based on Tables [closed]