为Wordpress添加百度访客统计
0x00.在function.php中添加功能 //获取post_views function get_post_views ($post_id) { $count_key = 'views'; $count = get_post_meta($post_id, $count_key, true); if ($count == '') { delet
Async
0x00.在function.php中添加功能 //获取post_views function get_post_views ($post_id) { $count_key = 'views'; $count = get_post_meta($post_id, $count_key, true); if ($count == '') { delet
0x00.购买空间腾讯云服务器 阿里云服务器 1核 1GB 1M 的50G空间的基础服务器完全可以承载小型个人博客的流量。 设置服务器管理员密码,并向服务器安装Unbuntu镜像,登陆。0x01.安装Apache2 sudo apt-get install apache2 -y安装完成后可以通过访问服务器地址查看是否出现Apache2 Ubuntu Default Page并显示It works.