Wordpress Contact Form 7 do not work with wpml when site has ?lang=en -


nothing happens when submit form.

i error in console.

failed load resource: server responded status of 404 (not found)

i can see suspicious on post url.

/wp-json/?lang=en/contact-form-7/v1/contact-forms/11187/feedback

for reason variable ?lang=en ends upp in url. know how solve this?

according this page, can solve issue adding following line inside functions.php:

add_filter( 'wpcf7_load_js', '__return_false' ); 

Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -