You can disable integration for CF7.
add_filter('wpm_integrations', function($integrations){
unset($integrations['contact-form-7']);
return $integrations;
});
add_filter('wpm_admin_pages', function($admin_pages){
foreach ($admin_pages as $k=>$page) {
if ($page == 'toplevel_page_wpcf7') {
unset($admin_pages[$k]);
break;
}
}
return $admin_pages;
});
The code for ‘functions.php’
{
"post_types": {
"wpcf7_contact_form": null
},
"post_fields": {
"_form": null,
"_mail": null,
"_mail_2": null,
"_messages": null
}
}
Config for ‘wpm-config.json’
Thread Starter
guimove
(@digitalplugin)
Thanks for the quick response. I managed to disable the form 7 contact for Wp Multilng, but I still have the [: en] in the subject and the mail body. Do I have to do any more manipulation of this one?
I added :
“_suject”: null,
But without success. Do I need to disable and remove the app? But I will lose all the translations of my site. Besides, is it possible to disable the plugin Wp multilang without having the language shortcode that appears (as for Qtranslate-x)? In order to be able to reactivate languages later.
Thank you.
Thread Starter
guimove
(@digitalplugin)
I just tried it does not work. I even tried creating a new form but I still have the same problem.
Contact Form 7 do not have field ‘_suject’ or ‘_subject’. What is this field?
Thread Starter
guimove
(@digitalplugin)
The subject field of the mail. As I do not know him, I just did a try. I still have no solution to my problem.
Thread Starter
guimove
(@digitalplugin)
It works now, it was a problem of post-types, I had two instead of putting it in the same. Thank you very much.
Hi VaLeXaR,
i put this code into the wpm-config.json, but the error message is duplicated.
{
“post_types”: {
“wpcf7_contact_form”: null
},
“post_fields”: {
“_form”: null,
“_mail”: null,
“_mail_2”: null,
“_messages”: null
}
}
The error message: [:HU]DAS FELD IST ERFORDERLICH.[:DE]DAS FELD IST ERFORDERLICH.[:]
– Peter