class=”no-ajax” no longer working | WordPress.org

[ad_1]

The .no-ajax class was always an undocumented hack. Unfortunately, it’s no longer supported with the recent additions of the additional captcha options.

Instead, you can use the Custom Fields metabox on your page and add a redirect_to field using the URL of the page as the value. This will reload the page after the review is submitted.

If you are using a page builder such as Elementor, simply edit the page in Gutenberg to use the Custom Field metabox, then edit the page again as usual in Elementor.

The upcoming Site Reviews v6.0 will also allow you to load the submitted review on the page without a page refresh using the “reviews_id” option on the block or shortcode.

Thread Starter
theo38

(@theo38)

When’s the release date?

With Site Reviews 6.0, you will be able to use the reviews_id option on the [site_reviews_form] shortcode and this will be included in the shortcode documentation.

Thread Starter
theo38

(@theo38)

Sorry edited that as realised you had addressed. When do you plan to release 6.0?

Thread Starter
theo38

(@theo38)

OK great, thank you. Will use this method once released then – that’s a better way.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer