Git 怎么添加多个远程仓库呢
#添加githubgit remote add origin https://github.com/xxx(仓库地址) #添加oschinagit remote add oschina https://git.oschina.net/xxxx(仓库地址) #提交到oschinagit push oschina master(分...
WordPress文章中的外链图片自动下载到本地
WordPress 很多插件或者代码都可以实现在编辑文章中自动将外链图片下载到本地,最终我选择了一个叫:Easy Copy Paste的插件。大家可以自己在后台下载 加到当前主题函数模板 functions.php 中...
Centos更改为163源
1. 首先备份/etc/yum.repos.d/CentOS-Base.repo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2. 下载对应版本repo文件, 放入/etc/yum.repos.d/(操作前请做...
ECShop出现Strict Standards: Only variables should be passed by reference in的解决方法
今天开始研究ECShop,在安装完成的时候发现首页顶部、左侧和底部出现: Strict Standards: Only variables should be passed by reference in F:\wamp\www\ecshop\upload\includes\cls_tem...
CentOS开关机命令
命令简介 shutdown,poweroff,reboot,halt,init都可以进行关机,大致用法。 /sbin/halt [-n] [-w] [-d] [-f] [-i] [-p] [-h] /sbin/reboot [-n] [-w] [-d] [-f] [-i] /sbin/poweroff [-n] [-w] [...
WordPress外链转内链短网址跳转,带点击次数统计的哦
我们在使用wordpress做网站的时候避免不了一些外部链接的存在,可是直接在网站贴上外部链接又影响权重分散,但给每个链接都加nofollow也确实蛮累的,那什么样的策略比较好呢? 大叔觉得,将外链...
Strict standards: Non-static method cls_image::gd_version() should not be called statically in
Strict standards: Non-static method cls_image::gd_version() should not be called statically in E:\SiteAll\zbphp.com\www\includes\lib_base.php on line346 这个错误的的处理是修改文件...
WordPress教程 简洁清新评论回复邮件模板
给自己的WordPress添加一个简洁的评论回复邮件模板,让用户收到来自你网站的回复邮件通知的时候也感受到你的小清新。废话不多了开始动手把下面代码放到functions.php里,?>之前,(P.S. 如果之...