开发者 |
vaurdan
jpargana playoutpt sandrof |
---|---|
更新时间 | 2014年9月4日 22:29 |
捐献地址: | 去捐款 |
PHP版本: | 3.5 及以上 |
WordPress版本: | 4.0 |
版权: | GPLv3 |
版权网址: | 版权信息 |
slider_captcha()
function to insert a Slider CAPTCHA wherever you want, and fully costumize it.
With our brand new Settings page, you can now fully custumize every Slider on your WordPress installation and live preview the result. In the upcoming version, you will be able to create your own slider. At the moment, if you want to create your own custom slider you should use the slider_captcha()
. Check the FAQ for more info.
Current possible Slider CAPTCHA locations:
/wp-content/plugins/
)<?php if(function_exists('slider_captcha'))
slider_captcha('comments');
?>
That's probabily because of the way your theme is built. You will have to edit your comments.php of your template and add the following code in the position that you want to have your CAPTCHA.
<?php if(function_exists('slider_captcha')) slider_captcha('comments'); ?>
Be sure that your theme is calling wp_head()
and wp_footer()
functions.
Yes, at the moment you have four places where you can place automatically your Slider CAPTCHA. On the other hand, you can use it in Contact Form 7 and wherever you want with Custom Slider options.
If you want to change the appearance of your default CAPTCHA, you can play with the settings panel.
If you are not seeing the sliders, probabily they are disabled on the settings page. If you still can't see any slider after the activation, please submit a support thread so we can help you.
One of the changes from the 0.5 to the 1.0 was the slider_captcha()
function. We added an new argument and the function signature is now slider_captcha($slider_name = 'general', $container = 'p', $settings = null)
. Because of that, you may have to add a new argument on the first position, with the name of your slider.
Also, the name of the $params keys also have changed. Please verify if your
$params` array is updated.
containerClass
setting to allow a custom class name to the container