描述
A lightweight WordPress plugin providing the [recaptcha-js-alert]
shortcode which may be used to display a notification text box if JavaScript required by reCAPTCHA is being blocked.
Next to the notification message text and the delay allowing to load the reCAPTCHA JavaScript code, the plugin offers configuration of background and foreground color, as well as the font size. Further customization can be achieved by means of custom CSS snippets.
The shortcode allows its configuration being overridden by the following parameters:
message
: The notification message textstyle
: Custom CSS for displaying the message textdelay
: The delay (in milliseconds) allowing the reCAPTCHA JavaScript code to load
屏幕截图
安装
- Upload the plugin files to the
/wp-content/plugins/recaptcha-js-alert
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Use the Settings->ReCaptcha JS Alert screen to configure the plugin.
常见问题
-
Does ReCaptcha JS Alert support multilingual sites?
-
Yes, it does. A corresponding
wpml-config.xml
language configuration file can be found in the plugin’s home directory. -
I would like the notification text box being displayed differently. Would that be possible?
-
Sure. Additional CSS code may be entered into the
Custom CSS
input field in the configuration screen of the plugin. In order to completely overrride the generated CSS, the shortcode’sstyle
parameter may be used. -
The message box shows up even though no JavaScript is being blocked and the __reCAPTCHA__ challenge also shows up correctly.
-
Make sure the browser is allowed to access
google.com
andgstatic.com
as reCAPTCHA requires to load its code from these domains.
Also make sure the delay specified in the plugin settings underWait for reCAPTCHA
or by thedelay
shortcode parameter is big enough to allow the reCAPTCHA JavaScript code to load. If the delay is too short, the plugin cannot find the corresponding page elements and thinks that loading the JavaScript code was blocked.
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0.1
- Resorted screenshots.
- Fixed misplaced newlines.
- Added another FAQ item.
1.0.0
- Initial release.