为了降低网页相似度,关闭 LATEST , BEST SELLING ,FEATURED ,TOP RATED 1. Appearance – Widgets – Footer 1 – 全部删掉. 2-1. 恢复还原回去 – Latest Products – Footer 2 – Add Widget Title: Latest Number of products to show : 5 show: All products Order by: Date Order: DESC 2-2. 恢复还原回去 – BEST SELLING Products – Footer 2 – […]
字体背景及颜色的控制. 1. p标签 If there is any question , Please feel free to contact us. Thank you for your time 123<p style="background-color:#398BFC;font-size:14px; color: rgb(255, 255, 255); font-family: arial; font-weight: Bold;"> If there is any question , Please feel free to contact us. Thank you for your time </p> 2. span标签 If there is any question […]
themes\flatsome\404.php 分析 1. 引用header部份 1<?php get_header(); ?> 2. 引用Footer部份 1<?php get_footer(); ?> 3. 修改 “404” 1<div class="col medium-3"><span class="header-font" style="font-size: 6em; font-weight: bold; opacity: .3">404</span></div> 4. 修改 “Oops! That page can’t be found.” 1<h1 class="page-title"><?php esc_html_e( ‘Oops! That page can’t be found.’, ‘flatsome’ ); ?></h1> 5. 修改 “It looks like nothing was found at this […]
123456原来链接: https://www.cnblogs.com/shuizhidao/p/12250953.html 视频链接: https://www.bilibili.com/video/av5862916?p=4 PDF链接: https://pic.versca.cn/html5_css3.pdf http://www.52zxw.com/kecheng_121.html https://v.qq.com/x/page/e0883myunjn.html [html5+css3视频教程(全227讲] 参考手册 文档说明 1234567891011 <!DOCTYPE html> 告诉浏览器要处理的为html文档 <html lang="en"> 文档中html部分的开始,属性language,en=English,zh=Chinese <head> 提供有关文档内容和标注信息 <meta charset="UTF-8"> 定义编码格式 <title> 标题 编辑主体 基本元素 12345678910111213<h1> 标题大小 <a href="http://…" target="…"> 超链接,href=链接目标,target="_blank"为新建窗口打开,默认为本地刷新 <b> 粗体 <em> 斜体 <u> 下划线,不推荐使用 <s> 删除线 <br/> 换行 表格元素 123456789<table> 表格 <tr> 行 <td> 列 <th> 表头 colspan […]
1 HTML5 + CSS3 第1课 1-1. Html 标签 1<html>……</html> 1-2. head标签 1<head>……</head> 1-3. body标签 1<body>……</body> 1-4. title标签 1<title>……</title> 1-5. 换行标签 1<br /> 1-6. 水平分割线标签 1<hr /> 1-7. 注释标签 1 1-8. 1级标题标签 1<h1>……</h1> 1-9. 2级标题标签 1<h2>……</h2> 1-10. 3级标题标签 1<h3>……</h3> 1-11. 段落文本 1<p>……</p> 1-12. 标识预定义文本 1<pre>……</pre> 1-13. 标识引用文本 1<blockquote>……</blockquote> 2-1. 加粗显示文本 1<b>……</b> 2-2. 斜体文本 1<i>……</i> 2-3. 闪烁文本 […]
物理机安装CentOS 7.4 位[笔记本上安装CentOS 7.4 64位] UltraISO使用教程 1http://jingyan.baidu.com/article/49711c614d0971fa451b7c59.html 1-1. UltraISO 下载地址: 13225921203@pan.baidu.com/重要文件/winsoft/UltraISO_one_gr.zip 2-1. 打开UltraISO – 文件 – 打开 – CentOS-7-x86_64-DVD-1708.iso 2-2. 启动 – 写入硬盘镜像 2-3. 选择你的U盘 写入方式 [CentOS 6.5 选择 “USB-HDD+”] 写入方式 [CentOS 7 选择 “USB-HDD+V2”] 2-4. 点击写入,开始写入 2-5. 完成 开始安装系统 [https://www.cnblogs.com/wcwen1990/p/7630545.html] 笔记本一开机就按F9 选 “USB hard drive – Sony storage media” – 回车键 选 “Install CentOS […]
CentOS下查看温度及风扇转速的方法 1https://www.jb51.net/os/RedHat/524872.html 1. 安装 lm_sensors 软件包 (如果已安装了此软件了,1和2步都跳过吧): 1sudo yum install lm_sensors 2. 手动配置下(一路yes或enter就行了): 1sudo sensors-detect 3. 最后打开终端输入: 1sensors 4. 温度每秒刷新一次 1watch -n 1 -d sensors
备注: 1. 有设置 /etc/rsyncd.conf 这台主机. /etc/rsyncd.secrets 一定是 “root:Ancky_123” 而不是 “Ancky_123” 2. 没有设置 /etc/rsyncd.conf 这台主机 ,/etc/rsyncd.secrets 也要设置,否则会报错. 3. 两台服务器都要 禁用SELinux ,否则 会报错 rsync failed: Permission denied 1vi /etc/selinux/config 1SELINUX=disabled //然后reboot重启 rsync 实现 Windows –>> CentOS 之间数据同步 123https://blog.csdn.net/mshxuyi/article/details/100140447 https://www.cnblogs.com/zhangweiyi/p/10571273.html https://www.osyunwei.com/archives/4788.html 服务器端 windows 7 47.240.35.199 客户终端 CentOS 7.4 121.196.179.9[或家里笔记本] 需求: centos 根据定时任务运行脚本 自动同步 服务器端 winserver 的数据 […]
KVM中安装Windows Server 2008 R2系统 1https://www.ilanni.com/?p=5853 注意:在此我安装的是windows server 2008 R2,使用的硬盘格式一定要是IDE。 在KVM中安装操作系统一般是分为三步: 创建虚拟机所需要的硬盘,使用qemu-img命令 开始虚拟机,使用virt-install命令 按照正常安装系统,进行安装 1. 现在开始第一步,创建虚拟机的硬盘。使用如下命令: 12qemu-img create -f qcow2 /home/images/kvm31.img 20G // /home/images/ 位置建个20G的硬盘,格式是qcow2 qemu-img info /home/images/kvm31.img //查看刚建的硬盘 2. 下面开始创建虚拟机,使用如下命令: 1virt-install –name kvm31 –ram […]
当WordPress文章中没有设置特色图片时,读取文章中的第一张图片 1https://www.91wordpress.com/370.html 1. 切换到你主题所在目录,打开function.php文件,加入下面这段代码:注:此方法工作原理是查找文章内有没img这个标签,如果有就调出第一张图片,如果没有就用一张设计好的图片代替 12345678910111213function catch_that_image() { global $post, $posts; $first_img = ”; ob_start(); ob_end_clean(); $output = preg_match_all(‘/<img.+src=[\’"]([^\’"]+)[\’"].*>/i’, $post->post_content, $matches); $first_img = $matches [1] [0]; if(empty($first_img)){ //Defines a default image $first_img = get_bloginfo(‘template_url’)."/images/default.jpg"; } return $first_img; } 2. 在想调用的地方,加入下面这段代码: 1234<?php $a=catch_that_image(); echo ‘<img src="’.$a.’" […]