CSiPet
Forum Replies Created
-
Forum: Plugins
In reply to: [qTranslate X] line breaks disappear when translate is disabledI know. 🙂
Forum: Plugins
In reply to: [qTranslate X] line breaks disappear when translate is disabledI used the default wp editor in the past, now I’m using tinymce but tested with both and I can reproduce it without any editor on brand new posts.
So, no, I don’t think it’s related, and @gunu was able to reproduce the bug, so it’s definetly not a unique error.
Forum: Plugins
In reply to: [qTranslate X] line breaks disappear when translate is disabledJust pulled the 3.3.8.9 and it seems its fixed in this version! THX! 🙂
Edit: sry forgot to disable the posts setting. Unfortunatelly it isn’t working (line breaks still disappear).
Forum: Plugins
In reply to: [qTranslate X] Disable qTranslate X for specific custom post@john, it works like a charm. I did not test the entire build, but that part definetly works as intended.
Thanks!
Forum: Plugins
In reply to: [qTranslate X] Disable qTranslate X for specific custom postThats right! It is indeed two different features, which both could be useful (and yes, I meant disabling the translate only in the admin, sry if it was confusing).
Btw, I just run into the same problem/inconvenience with https://wordpress.org/plugins/advanced-custom-fields/ plugin as the above. This plugin uses the default custom post type feature on the admin side, and its definetly confusing, because the custom fields this plugin makes shouldn’t be translated (at least in my project it’s a bit wierd)…
Anyway, if there is a feature (even a simple hook), with which we able to disable (on the admin side) the translate features for specific post types, it’d be great.
Forum: Plugins
In reply to: [qTranslate X] Disable qTranslate X for specific custom postThanks for your response!
I have a custom post type which only has title, and a featured image, which displays on the frontend as a slider (to the question why I didn’t use a proper slider plugin, is because this wasn’t the intended use, just the page owner always comes up “interesting” ideas, and now I can’t change the structure, because its already in use, and uploaded with data).
Then I was asked to modify the “slider”; the owner wanted different slides in different languages. But I didn’t find a solution which makes the featured image change with the language switcher (as the rest of the input fields do), so I modified the register_post_type to add a post type for every active language. This works great, just the language switcher is a bit wierd on the top of the editors, so I thought, it would be cleaner to disable the plugin for these custom post types.
I could write a javascript which gets rid of the language switcher in the admin, but I don’t really like the “hacky” solution.It’s kind of a messed up situation, but I think, the original question (disabling translate feature for a custom post type) is a useful feature (but I totally understand if there isn’t a solution for it yet).
Thanks!
Forum: Plugins
In reply to: [qTranslate Plus] Can't change content in secondary language tabThanks for that, you saved my life! 🙂