Set in your congig
{
"post_types": {
"attachment": null
}
}
And attachments will not be translated.
Thread Starter
octuss
(@octuss)
Nothing happens. I’ve tried to create this file: wpm-config.json in plugin root and theme root and nothing changed…
@octuss
You are disabled translation for “attachment” post type. But did no deleted old translations from database. You need to delete this manually.
@octuss & @valexar
This is working for me.
Here’s the way I inserted Valexar’s suggestion:
______________________________________
My Code BEFORE:
{
"options": {
"wp_maintenance_settings": {
"titre_maintenance": {},
"text_maintenance": {},
"text_bt_maintenance": {},
"title_newletter": {}
}
},
"admin_pages": [
"toplevel_page_wp-maintenance",
"admin_page_wonder-layout"
]
}
______________________________________
My Code AFTER:
{
"post_types": {
"attachment": null
},
"options": {
"wp_maintenance_settings": {
"titre_maintenance": {},
"text_maintenance": {},
"text_bt_maintenance": {},
"title_newletter": {}
}
},
"admin_pages": [
"toplevel_page_wp-maintenance",
"admin_page_wonder-layout"
]
}
Thanks you Valexar!
Thread Starter
octuss
(@octuss)
Ok folks, works great. Thanks 🙂