I would be interested too
Create in root of a theme or a plugin file wpm-config.json with:
{
“post_types”: {
“custom_type”: {}
}
}
@voldemarh thanks. I this worked. But can you please tell me that is it also possible to add language switch in wordpress media popup (Single image edit popup). Actually I want title and description in two languages and I am using a gallery plugin which add images in popup.
I’ve created a file named “wpm-config.json” and put it in my theme folder with that code, but nothing happened. Could you help?
I would need to disable post translation and also activate it for some taxonomies.
All best
EDIT: I’ve just disabled my plugins and theme and activate them again and rewrite the json file, now it’s working great.
{
“post_types”: {
“post”: null
},
“taxonomies”: {
“nameoftaxonomie”: {}
}
}
EDIT 2: You should also check your “”.
“
WRONG
"
OK
I’m copying the code again:
{
"post_types": {
"post": null
},
"taxonomies": {
"nameoftaxonomie": {}
}
}
-
This reply was modified 4 years, 9 months ago by manoleixon.
-
This reply was modified 4 years, 9 months ago by manoleixon.
-
This reply was modified 4 years, 9 months ago by manoleixon.