首页下载资源后端code-verification.zip

ZIPcode-verification.zip

huayula3.44KB需要积分:1

资源文件列表:

code-verification.zip 大约有4个文件
  1. 双击获取更多.url 110B
  2. code-verification.php 4.52KB
  3. script.js 1.3KB
  4. style.css 1.33KB

资源介绍:

WordPress原创插件:Code-verification 微信或QQ二维码验证引导关注

二维码设置

注意事项:换行符号是<br>,如:请扫码关注微信二维码<br>发送“验证码”获取密码。
短代码引入文章示例:[protected] 这是隐藏的内容,只有验证密码后才能看到。 [/protected]

设定密码
提示内容
二维码图片

本插件由大神博客ds17.cn原创,务必保留所有权利,删除必究。

get_option('content_protect_password'), ), $atts ); if (isset($_POST['content_protect_password']) &&$_POST['content_protect_password'] == $atts['password']) { setcookie('content_protect_verified', true, time() + 3600, COOKIEPATH, COOKIE_DOMAIN); } if (isset($_COOKIE['content_protect_verified']) &&$_COOKIE['content_protect_verified']) { return do_shortcode($content); } else { $prompt = get_option('content_protect_prompt', '请输入密码查看内容。'); $image = get_option('content_protect_image'); $output = '
'; if ($image) { $output .= '验证图片'; } $output .= '

' .$prompt . '

'; $output .= '
'; $output .= ''; $output .= ''; $output .= '
'; $output .= '
'; return $output; } } add_shortcode('protected', 'content_protect_shortcode');
100+评论
captcha