- 博客(8)
- 收藏
- 关注
转载 过滤器:root_rewrite_rules
原文:https://codex.wordpress.org/Plugin_API/Filter_Reference/root_rewrite_rules 实例, function my_htaccess_contents( $rules ) { var_dump($rules); exit(); return $rules . "#...
2017-10-31 14:45:00 241
转载 Editing and Customizing htaccess Indirectly --间接地编辑和定制htaccess
Editing and Customizing htaccess Indirectly 间接地编辑和定制htaccess If you are wanting to know how to add your own custom content/rewrite rules to your WordPress .htaccess file without manually e...
2017-10-31 10:38:00 156
转载 WP 的 Rewrite 类
首先这里是我电脑上打印出来的 Rewrite 实例。有部分规则是我安装的插件生成的。 在插件中添加下面代码 1 add_action('get_footer',"temp_output"); 2 function temp_output(){ 3 global $wp_rewrite; 4 $temp = $wp_rewrite; 5 echo...
2017-10-26 14:11:00 323
转载 Rewrite API --重写规则API
Rewrite API(重写规则API) Description(描述) WordPress allows theme and plugin developers to programmatically specify new, custom rewrite rules. The following functions (which are mostly aliase...
2017-10-26 10:13:00 527
转载 Must Use Plugins ----必须使用的插件
Must Use Plugins (必须使用的插件) Must-use plugins (a.k.a. mu-plugins) are plugins installed in a special directory inside the content folder and which are automatically enabled on all sites in the ins...
2017-10-23 16:17:00 330
转载 百度地图API自定义覆盖物的点击事件
自定义覆盖物的点击事件 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <title>自定义覆盖物的点击事件</tit...
2012-12-27 10:32:00 600
转载 Windows下wamp的配置问题(php初学者必看!!)
第一步,双击安装wamp,这就不用我赘述了哈,装好之后默认是英文界面,如果想看中文,右击桌面右下角wamp图标----“language”----“Chinese”。第二步,刚安装好的wamp图标是半边红色半边白色,说明此时服务未开启;点击wamp图标----“打开所有服务”,正常情况下图标就会变成全白色,说明服务开启了;如果图标变成黄色,说明wamp要用的80端口被其他程序或进程占用了...
2012-12-03 10:32:00 163
转载 discuz数据库迁移,改密码后,相关配置文件修改
网站系统需要修改的位置有两处 Discuz 和 UC-center ①路径:/wwwroot/config/config_global.php 这个根据你网站安装的路径而定。 打开 config_global.php 文件修改:$_config['db']['1']['dbpw'] = '原来密码'; 原来密码 修改为新的数据库密码。 ②路径:/wwwroot/u...
2012-11-26 10:10:00 92
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人