wordpress分页失效治疗方法
当我们在页面使用了query_posts时,wordpress默认分页会失效。拿我的页面治疗过程来说,首先要在 … 阅读更多
/* 访问计数 */ function record_visitors() { if (is_singular()) { global $post; $post_ID = $post->ID; if($post_ID) { $post_views = (int)get_post_meta($post_ID, 'views', true); if(!update_post_meta($post_ID, 'views', ($post_views+1))) { add_post_meta($post_ID, 'views', 1, true); } } } } add_action('wp_head', 'record_visitors');
当我们在页面使用了query_posts时,wordpress默认分页会失效。拿我的页面治疗过程来说,首先要在 … 阅读更多
受疫情影响春季学期的课程在网络上学习,视频资源使用的是flash插件 首先 apple ios是不支持adob … 阅读更多
因为服务器资源受限,有个程序需要在别的程序完成后执行,可以利用sleep命令延时一段时间 4小时之后执行 so … 阅读更多
打开host文件C:\Windows\System32\drivers\etc\hosts添加 127.0.0 … 阅读更多