I was working on a wordpress site and I encountered a strange issue. There is a greavity form. I'm trying to make changes but its not showing any changes on the page where I used the form. But if I preview the form, its showing changes. Can you guys tell me why is it?
It sounds like a caching plugin is running. Caching plugins have been known to interfere with form performance and function. You'll need to flush the cache. Then test your form again.
Please contact the provider of the caching plugin for advice on excluding Gravity Forms and form submissions from caching.
Related
currently I'm running into this issue, where external links are automatically set to no-follow by WordPress. As of now I wasn't able to detect the source of this behaviour.
The page uses the Classic Editor (v1.6.2) Plugin - however, the problem still occurs without the use of this Plugin.
There are a bunch of other plugins installed but those are not directly involved with the post editin feature of WordPress. Are there any clues which might cause this issue?
If you need any information I can provide.
Which other Plugins are you using?
Are you maybe using RankMath or another SEO Plugin?
These have a setting to make all external links with "rel=nofollow". You would need to deactivate this or add an exceptions for specific domains.
Check the settings.
I am learning WordPress on localhost. I am using the Divi theme to create a demo site. whenever I edit a landing page, the changes don't show up on the site after publishing. What is the problem? Kindly help me as I am a newbie to WordPress.
Are you properly saving the changes? You must click on Save button in Divi builder (sometimes you must save twice), because Divi builder has a cache method for the builder that throws this kind of problems in some cases.
The most common cause of a WordPress site not updating right away is caching. Try these two steps to resolve the issue.
You’ll start by first clearing the browser cache. For most users, this should fix the issue.
The second and most likely cause of this issue is poorly configured WordPress caching plugin. Most caching plugins make it super easy to clear your cache with the click of a button.
I'm using Contact Form 7 plugin to display a contact form on my Wordpress site.
When I open the page with the contact form on it, the console shows a 404 error like this (where /contact-us is the page URL):
https://www.example.com/contact-us/contact-form-7/v1/contact-forms/32/refill?_locale=user (404) from api-fetch.min.js.
This isn't a valid Wordpress ajax URL - the correct URL should be:
https://www.example.com/wp-json/contact-form-7/v1/contact-forms/32/refill?_locale=user
All ajax calls used by the plugin are wrong, including the form's submit URL, so when contact form is submitted, all it does is refresh the page.
Can anyone provide any help?
Thank you.
I have the same problem, & it went away when I disabled another plugin - Litespeed Cache.
If you have any caching modules, or any modules that intercept the contact form functions, disable them all & see if the problem goes away. You should be able to identify the culprit relatively quickly.
[ETA] LiteSpeed-specific fix:
In Wordpress admin, under LiteSpeed Cache / Page Optimisation / JS - disable "Javascript deferred" and "Javascript combine".
(Answer found at
https://theme.co/forum/t/contact-form-7-not-submitting-recaptcha-3-issue/53371/5)
Firstly, Once the user submits the contact form, It will automatically reload the page as it uses POST method where it sends the data entered by the user to the database or sends an email. So the page will be reloaded and if you dont want it to be reloaded then you can check online on how to make a form using AJAX. In wordpress, there might be plugins for it.
For the Error:
Please go to your FTP server and then delete the plugin you are using for the contact form and download it again. If it doesnt work then you can rollback to the previous version(maybe this can fix it)
I've been facing some issues lately with our new business website. Basically, when the homepage is loaded www.motionitalia.it it looks like to redirect to another page https://www.motionitalia.it/?v=e0c86157e86f. I've asked a friend and he suggested that it might be related to the cache.
I tested the website using Site Health's tool called diagnostic mode and I deactivated all the plugins. It turned out that the ?v=e0c86157e86f appears when I activate Woocommerce.
I would like to remove it from the URL because it slows down the website and it doesn't even look professional. Has anyone of you ever experienced it? If so, could you suggest to me a way to fix it?
This is due to WooCommerce geolocation with page caching support enabled
To disable ?v=e0c86157e86f like from WordPress Urls when WooCommerce plugin is active, Go to WooCommerce Settings > General (tab), then for "Default customer location" select "Geolocate" instead of "Geolocate (with page caching support)", then save.
As you will see, the Urls are now clean without ?v=e0c86157e86f like.
I have built a fully working WordPress theme as a SPA using React/Redux and the WP REST API, but not I need to tackle forms, and have found that Custom Contact Forms is compatible with the WP REST API, but I can't work out where to start - am I missing something completely obvious?
I have added a form in the admin area, but now I can't see any endpoints in the API to use to post form data to. Does anyone have any experience with this and can point me in the right direction?
Thank you :)
after some serious struggles i got it working.
so you just need to add the form to the page content as usual inside wordpress admin. see https://github.com/tlovett1/custom-contact-forms#usage
The trick to getting the form to post successfully is adding the following header to all requests you make to the WP-API, including the GET requests. (but most importantly the header should be there when requesting a page with a form generated by CCF)
'X-WP-Nonce': WP_API_Settings.nonce
where WP_API_Settings is added to the global scope by wp-api
it seems the plugin, CCF, is adding a nonce token to the form based on the request so without that header it doesn't know how to post the form correctly/successfully.
Summary:
Add form to your page content (inside cms admin)
add X-WP-Nonce header to your requests
Make request for page or post (html will be in content.rendered)
Custom Contact Forms will generate a form with the proper nonce metadata/token
Fill out your form and hit submit
Hope this helps
see this issue on how i resolved it fully
https://github.com/tlovett1/custom-contact-forms/issues/285#issuecomment-277035363