I’m trying to find a way to selectively disable qTranslate – I would like to be able to show certain static content on my site in 4 languages, but to then only have a single language (and a simplified editor) for posts and also custom post types.
I would also need to disable the output on selective pages in the front-end, so that I can show all the language content on the same page, at the same time.
Is there a way to have the plugin load on demand?
Following snippet will disable it for post_type
post
(modify array below to affect other post_types):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.
There is an answer in the qtranslate forum that seems to address this. It involves changing the core files of the plugin, though. Any luck with it?