<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WP企业主题资源站</title>
	<atom:link href="https://shop.mac163.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://shop.mac163.com/</link>
	<description></description>
	<lastBuildDate>Thu, 29 Jun 2023 15:46:52 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://shop.mac163.com/wp-content/uploads/2019/08/77bd727-150x85.png</url>
	<title>WP企业主题资源站</title>
	<link>https://shop.mac163.com/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>多个OpenWrt使用旁路由方法组网并使用旁路由DHCP服务</title>
		<link>https://shop.mac163.com/18550/</link>
		
		<dc:creator><![CDATA[wordpress主题]]></dc:creator>
		<pubDate>Thu, 29 Jun 2023 15:46:52 +0000</pubDate>
				<category><![CDATA[Linux动态]]></category>
		<category><![CDATA[Linux系统运维]]></category>
		<guid isPermaLink="false">https://shop.mac163.com/?p=18550</guid>

					<description><![CDATA[相信大家家里都会使用到多个路由器或者多个AP组网实现无线网络覆盖的问题,这里分享一下家庭网络组网经验,本人经过&#8230;]]></description>
										<content:encoded><![CDATA[<p>相信大家家里都会使用到多个路由器或者多个AP组网实现无线网络覆盖的问题,这里分享一下家庭网络组网经验,本人经过多方面折腾组网成功并通过关闭主路由DHCP服,使所有网络客户端通过旁路由获取DHCP服务成功获取到IP.</p>
<p>首先我们来看一下我的网络结构：</p>
<figure id="attachment_18551" aria-describedby="caption-attachment-18551" style="width: 1366px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2023/06/9db9b85.jpg"><img fetchpriority="high" decoding="async" class="size-full wp-image-18551" src="https://shop.mac163.com/wp-content/uploads/2023/06/9db9b85.jpg" alt="使用openwrt旁路由组建家庭网络" width="1366" height="768" srcset="https://shop.mac163.com/wp-content/uploads/2023/06/9db9b85.jpg 1366w, https://shop.mac163.com/wp-content/uploads/2023/06/9db9b85-300x169.jpg 300w, https://shop.mac163.com/wp-content/uploads/2023/06/9db9b85-1024x576.jpg 1024w, https://shop.mac163.com/wp-content/uploads/2023/06/9db9b85-768x432.jpg 768w" sizes="(max-width: 1366px) 100vw, 1366px" /></a><figcaption id="caption-attachment-18551" class="wp-caption-text">使用openwrt旁路由组建家庭网络</figcaption></figure>
<p>首先电信的光猫没有静态路由功能,即使有也没有超级管理员权限,所有我加了一个OpenWrt的硬路由做了一个旁路由,多LAN口和单LAN口都可以,旁路由选择空间就灵活了,然后主卧室我用的OpenWrt软路由,次卧用的360可以桥接的路由器,和旁路由性质差不多,桥接了你可以理解成就说一个AP,不过带了有线网口而已,那么我们由此可以看出整个网络结构就有几层路由了,所有路由器都是连接在的光猫上面,光猫在这里充当了主路由角色.</p>
<p>在不改变现有设备和网络环境的情况下能把家庭网络组建成一个局域网即能分享,又能投屏,还能共享打印机是不是我们一直很适用的功能,那么我们就需要组网了,下面就给大家分享一下如何组建不同网段下的组网经验。</p>
<p>首先我们需要再路由A下面ping通路由B,路由B的Lan口网段说192.168.0.x,我们先在OpenWrt里面设置静态路由：</p>
<p><strong>在路由B上设置如下</strong></p>
<figure id="attachment_18552" aria-describedby="caption-attachment-18552" style="width: 2874px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2023/06/33d0416.png"><img decoding="async" class="size-full wp-image-18552" src="https://shop.mac163.com/wp-content/uploads/2023/06/33d0416.png" alt="Openwrt设置静态路由" width="2874" height="1370" srcset="https://shop.mac163.com/wp-content/uploads/2023/06/33d0416.png 2874w, https://shop.mac163.com/wp-content/uploads/2023/06/33d0416-300x143.png 300w, https://shop.mac163.com/wp-content/uploads/2023/06/33d0416-1024x488.png 1024w, https://shop.mac163.com/wp-content/uploads/2023/06/33d0416-768x366.png 768w, https://shop.mac163.com/wp-content/uploads/2023/06/33d0416-1536x732.png 1536w, https://shop.mac163.com/wp-content/uploads/2023/06/33d0416-2048x976.png 2048w" sizes="(max-width: 2874px) 100vw, 2874px" /></a><figcaption id="caption-attachment-18552" class="wp-caption-text">Openwrt设置静态路由</figcaption></figure>
<p><strong>路由A(旁路由)上设置如下</strong></p>
<figure id="attachment_18553" aria-describedby="caption-attachment-18553" style="width: 2020px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2023/06/33d0414.png"><img decoding="async" class="size-full wp-image-18553" src="https://shop.mac163.com/wp-content/uploads/2023/06/33d0414.png" alt="Openwrt设置静态路由" width="2020" height="1218" srcset="https://shop.mac163.com/wp-content/uploads/2023/06/33d0414.png 2020w, https://shop.mac163.com/wp-content/uploads/2023/06/33d0414-300x181.png 300w, https://shop.mac163.com/wp-content/uploads/2023/06/33d0414-1024x617.png 1024w, https://shop.mac163.com/wp-content/uploads/2023/06/33d0414-768x463.png 768w, https://shop.mac163.com/wp-content/uploads/2023/06/33d0414-1536x926.png 1536w" sizes="(max-width: 2020px) 100vw, 2020px" /></a><figcaption id="caption-attachment-18553" class="wp-caption-text">Openwrt设置静态路由</figcaption></figure>
<p>下面我们用电脑连接路由A或者我们的AP,网段在192.168.1.x上就行,然后我们来ping我们的路由B的lan口网段：</p>
<figure id="attachment_18554" aria-describedby="caption-attachment-18554" style="width: 1140px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2023/06/894b845.png"><img loading="lazy" decoding="async" class="size-full wp-image-18554" src="https://shop.mac163.com/wp-content/uploads/2023/06/894b845.png" alt="路由器组网" width="1140" height="730" srcset="https://shop.mac163.com/wp-content/uploads/2023/06/894b845.png 1140w, https://shop.mac163.com/wp-content/uploads/2023/06/894b845-300x192.png 300w, https://shop.mac163.com/wp-content/uploads/2023/06/894b845-1024x656.png 1024w, https://shop.mac163.com/wp-content/uploads/2023/06/894b845-768x492.png 768w" sizes="auto, (max-width: 1140px) 100vw, 1140px" /></a><figcaption id="caption-attachment-18554" class="wp-caption-text">路由器组网</figcaption></figure>
<p>可见已经互通了，但是我们访问192.168.0.1是出现拒绝访问,这是因为我们路由B上OpenWrt的防火墙规则还没有设置,接着如下：</p>
<figure id="attachment_18556" aria-describedby="caption-attachment-18556" style="width: 2378px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2023/06/96b5d59.png"><img loading="lazy" decoding="async" class="size-full wp-image-18556" src="https://shop.mac163.com/wp-content/uploads/2023/06/96b5d59.png" alt="Openwrt静态路由防火墙设置" width="2378" height="1266" srcset="https://shop.mac163.com/wp-content/uploads/2023/06/96b5d59.png 2378w, https://shop.mac163.com/wp-content/uploads/2023/06/96b5d59-300x160.png 300w, https://shop.mac163.com/wp-content/uploads/2023/06/96b5d59-1024x545.png 1024w, https://shop.mac163.com/wp-content/uploads/2023/06/96b5d59-768x409.png 768w, https://shop.mac163.com/wp-content/uploads/2023/06/96b5d59-1536x818.png 1536w, https://shop.mac163.com/wp-content/uploads/2023/06/96b5d59-2048x1090.png 2048w" sizes="auto, (max-width: 2378px) 100vw, 2378px" /></a><figcaption id="caption-attachment-18556" class="wp-caption-text">Openwrt静态路由防火墙设置</figcaption></figure>
<p>选择入站数据为接受后可成功访问！</p>
<p>接下来我们要使用旁路由上的DHCP服务来实现局域网上面所有的客户端DHCP获取到的网关默认为旁路由而不需要每个手动设置,能自动获取就方便多啦,我们先关闭光猫(主路由)上的DHCP服务,随后打开我们旁路由上的DHCP服务,如下：</p>
<figure id="attachment_18557" aria-describedby="caption-attachment-18557" style="width: 2130px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2023/06/75fca47.png"><img loading="lazy" decoding="async" class="size-full wp-image-18557" src="https://shop.mac163.com/wp-content/uploads/2023/06/75fca47.png" alt="Openwrt使用旁路由dhcp服务" width="2130" height="1332" srcset="https://shop.mac163.com/wp-content/uploads/2023/06/75fca47.png 2130w, https://shop.mac163.com/wp-content/uploads/2023/06/75fca47-300x188.png 300w, https://shop.mac163.com/wp-content/uploads/2023/06/75fca47-1024x640.png 1024w, https://shop.mac163.com/wp-content/uploads/2023/06/75fca47-768x480.png 768w, https://shop.mac163.com/wp-content/uploads/2023/06/75fca47-1536x961.png 1536w, https://shop.mac163.com/wp-content/uploads/2023/06/75fca47-2048x1281.png 2048w" sizes="auto, (max-width: 2130px) 100vw, 2130px" /></a><figcaption id="caption-attachment-18557" class="wp-caption-text">Openwrt使用旁路由dhcp服务</figcaption></figure>
<p>这样就设置好了整个组网流程,希望可以帮助到你！分享的有点粗糙,时间原因就没有那么详细!</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Linux系统Aria2一键安装管理及配置WebUI</title>
		<link>https://shop.mac163.com/18547/</link>
		
		<dc:creator><![CDATA[wordpress主题]]></dc:creator>
		<pubDate>Tue, 07 Mar 2023 03:27:59 +0000</pubDate>
				<category><![CDATA[Linux动态]]></category>
		<category><![CDATA[Linux系统运维]]></category>
		<guid isPermaLink="false">https://shop.mac163.com/?p=18547</guid>

					<description><![CDATA[Aria2 是目前最强大的全能型下载工具，它支持 BT、磁力、HTTP、FTP 等下载协议，常用做离线下载的服&#8230;]]></description>
										<content:encoded><![CDATA[<p>Aria2 是目前最强大的全能型下载工具，它支持 BT、磁力、HTTP、FTP 等下载协议，常用做离线下载的服务端。Aria2 一键安装管理脚本是 Toyo (逗比) 大佬最为知名的脚本作品之一，2018年11月14日逗比大佬因未知原因突然失联。由于博主非常喜欢 Aria2 所以自2018年12月7日起开始接手这个项目并进行了大量的功能与细节优化，一直持续维护至今。增强版脚本整合了 <a href="https://github.com/P3TERX/aria2.conf" rel="nofollow">Aria2 完美配置</a>，在安装 Aria2 的过程中会下载这套配置方案，这套方案包含了配置文件、附加功能脚本等文件，用于实现 Aria2 功能的增强和扩展，提升 Aria2 的下载速度与使用体验，解决 Aria2 在使用中遇到的 BT 下载无速度、文件残留占用磁盘空间、任务丢失、重复下载等问题。</p>
<figure id="attachment_18548" aria-describedby="caption-attachment-18548" style="width: 817px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2023/03/473d430.png"><img loading="lazy" decoding="async" class="size-full wp-image-18548" src="https://shop.mac163.com/wp-content/uploads/2023/03/473d430.png" alt="Linux系统aria2一键安装管理及配置webui" width="817" height="574" srcset="https://shop.mac163.com/wp-content/uploads/2023/03/473d430.png 817w, https://shop.mac163.com/wp-content/uploads/2023/03/473d430-300x211.png 300w, https://shop.mac163.com/wp-content/uploads/2023/03/473d430-768x540.png 768w" sizes="auto, (max-width: 817px) 100vw, 817px" /></a><figcaption id="caption-attachment-18548" class="wp-caption-text">Linux系统aria2一键安装管理及配置webui</figcaption></figure>
<h2 dir="auto" tabindex="-1">功能特性</h2>
<ul dir="auto">
<li>
<p dir="auto">使用 <a href="https://github.com/P3TERX/aria2.conf" rel="nofollow">Aria2 完美配置</a>方案</p>
<ul dir="auto">
<li>BT 下载率高、速度快</li>
<li>重启后不丢失任务进度、不重复下载</li>
<li>删除正在下载的任务自动删除未完成的文件</li>
<li>下载错误自动删除未完成的文件</li>
<li>下载完成自动删除控制文件(<code>.aria2</code>后缀名文件)</li>
<li>下载完成自动删除种子文件(<code>.torrent</code>后缀名文件)</li>
<li>下载完成自动删除空目录</li>
<li>BT 下载完成自动清除垃圾文件(文件类型过滤功能)</li>
<li>BT 下载完成自动清除小文件(文件大小过滤功能)</li>
<li>有一定的防版权投诉、防迅雷吸血效果</li>
<li>更好的 PT 下载支持</li>
</ul>
</li>
<li>
<p dir="auto">使用 <a href="https://github.com/P3TERX/Aria2-Pro-Core" rel="nofollow">Aria2 Pro Core</a> 项目最新静态编译二进制文件</p>
<ul dir="auto">
<li>多平台：<code>amd64</code>, <code>i386</code>, <code>arm64</code>, <code>armhf</code></li>
<li>全功能：<code>Async DNS</code>, <code>BitTorrent</code>, <code>Firefox3 Cookie</code>, <code>GZip</code>, <code>HTTPS</code>, <code>Message Digest</code>, <code>Metalink</code>, <code>XML-RPC</code>, <code>SFTP</code></li>
<li>单服务器线程数最大值无上限（已破解线程数限制）</li>
<li>防掉线程优化</li>
<li>最新依赖库，下载更安全、稳定、快速</li>
<li>持续更新最新版本</li>
</ul>
</li>
<li>
<p dir="auto">支持与 <a href="https://rclone.org/" rel="nofollow">RCLONE</a> 联动，更多扩展功能与玩法：</p>
<ul dir="auto">
<li><a href="https://p3terx.com/archives/offline-download-of-onedrive-gdrive.html" rel="nofollow">OneDrive、Google Drive 等网盘离线下载</a></li>
<li><a href="https://p3terx.com/archives/baidunetdisk-transfer-to-onedrive-and-google-drive.html" rel="nofollow">百度网盘转存到 OneDrive 、Google Drive 等其他网盘</a></li>
</ul>
</li>
<li>
<p dir="auto">支持新一代互联网协议 IPv6</p>
</li>
<li>
<p dir="auto">定时自动更新 BT tracker 列表（无需重启）</p>
</li>
</ul>
<h2 dir="auto" tabindex="-1"><a id="user-content-项目地址" class="anchor" href="https://github.com/P3TERX/aria2.sh#%E9%A1%B9%E7%9B%AE%E5%9C%B0%E5%9D%80" aria-hidden="true" rel="nofollow"></a>项目地址</h2>
<p dir="auto"><a href="https://github.com/P3TERX/aria2.sh" rel="nofollow">https://github.com/P3TERX/aria2.sh</a></p>
<p dir="auto">支持项目请随手点个<code>star</code>，可以让更多的人发现、使用并受益。你的支持是我持续开发维护的动力。</p>
<h2 dir="auto" tabindex="-1"><a id="user-content-系统要求" class="anchor" href="https://github.com/P3TERX/aria2.sh#%E7%B3%BB%E7%BB%9F%E8%A6%81%E6%B1%82" aria-hidden="true" rel="nofollow"></a>系统要求</h2>
<p dir="auto">CentOS 6+ / Debian 6+ / Ubuntu 14.04+</p>
<h2 dir="auto" tabindex="-1"><a id="user-content-架构支持" class="anchor" href="https://github.com/P3TERX/aria2.sh#%E6%9E%B6%E6%9E%84%E6%94%AF%E6%8C%81" aria-hidden="true" rel="nofollow"></a>架构支持</h2>
<p dir="auto">x86_64 / i386 / ARM64 / ARM32v7 / ARM32v6</p>
<h2 dir="auto" tabindex="-1"><a id="user-content-使用说明" class="anchor" href="https://github.com/P3TERX/aria2.sh#%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E" aria-hidden="true" rel="nofollow"></a>使用说明</h2>
<ul dir="auto">
<li>为了确保能正常使用，请先安装基础组件<code>wget</code>、<code>curl</code>、<code>ca-certificates</code>，以 Debian 为例子：</li>
</ul>
<pre class="notranslate"><code>apt install wget curl ca-certificates
</code></pre>
<ul dir="auto">
<li>下载脚本</li>
</ul>
<pre class="notranslate"><code>wget -N git.io/aria2.sh &amp;&amp; chmod +x aria2.sh
</code></pre>
<ul dir="auto">
<li>运行脚本</li>
</ul>
<pre class="notranslate"><code>./aria2.sh
</code></pre>
<ul dir="auto">
<li>选择你要执行的选项</li>
</ul>
<pre class="notranslate"><code> Aria2 一键安装管理脚本 增强版 [v2.7.4] by P3TERX.COM
 
  0. 升级脚本
 ———————————————————————
  1. 安装 Aria2
  2. 更新 Aria2
  3. 卸载 Aria2
 ———————————————————————
  4. 启动 Aria2
  5. 停止 Aria2
  6. 重启 Aria2
 ———————————————————————
  7. 修改 配置
  8. 查看 配置
  9. 查看 日志
 10. 清空 日志
 ———————————————————————
 11. 手动更新 BT-Tracker
 12. 自动更新 BT-Tracker
 ———————————————————————

 Aria2 状态: 已安装 | 已启动

 自动更新 BT-Tracker: 已开启

 请输入数字 [0-12]:
</code></pre>
<h2 dir="auto" tabindex="-1"><a id="user-content-其他操作" class="anchor" href="https://github.com/P3TERX/aria2.sh#%E5%85%B6%E4%BB%96%E6%93%8D%E4%BD%9C" aria-hidden="true" rel="nofollow"></a>其他操作</h2>
<p dir="auto">启动：<code>/etc/init.d/aria2 start</code> | <code>service aria2 start</code></p>
<p dir="auto">停止：<code>/etc/init.d/aria2 stop</code> | <code>service aria2 stop</code></p>
<p dir="auto">重启：<code>/etc/init.d/aria2 restart</code> | <code>service aria2 restart</code></p>
<p dir="auto">查看状态：<code>/etc/init.d/aria2 status</code> | <code>service aria2 status</code></p>
<p dir="auto">配置文件路径：<code>/root/.aria2c/aria2.conf</code> （配置文件有中文注释，若语言设置有问题会导致中文乱码）</p>
<p dir="auto">默认下载目录：<code>/root/downloads</code></p>
<p dir="auto">RPC 密钥：随机生成，可使用选项<code>7. 修改 配置文件</code>自定义</p>
<h2 dir="auto" tabindex="-1"><a id="user-content-遇到问题如何处理" class="anchor" href="https://github.com/P3TERX/aria2.sh#%E9%81%87%E5%88%B0%E9%97%AE%E9%A2%98%E5%A6%82%E4%BD%95%E5%A4%84%E7%90%86" aria-hidden="true" rel="nofollow"></a>遇到问题如何处理</h2>
<p dir="auto">遇到问题先看 <a href="https://p3terx.com/archives/aria2_perfect_config-faq.html" rel="nofollow">FAQ</a> 再提问，你还可以加入 <a href="https://t.me/Aria2c" rel="nofollow">Aria2 TG 群</a>和小伙伴们一起讨论。要注意提问的方式和提供有用的信息，提问前建议去学习《<a href="https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/master/README-zh_CN.md" rel="nofollow">提问的智慧</a>》，这能更好的帮助你去解决问题和节约时间。诸如 “为什么不能使用？”、“那你能帮帮我吗？” 之类的问题应该没有人会知道。</p>
<p>Aria2下载器配置WebUI界面</p>
<p><a class="link" href="http://aria2.github.io/" target="_blank" rel="noopener nofollow">aria2</a>是一款非常非常Nice的下载器，之前我也介绍过 <a class="link" href="https://jokeme.top/p/linux_reward/" target="_blank" rel="noopener nofollow">记录最近捯饬Linux的收获</a>，上一次大概介绍了一下命令行里面的操作，这一次咱们来说说WebUI上的操作。</p>
<h2 id="准备环境">准备环境</h2>
<p>首先去Github下载一下<a class="link" href="https://github.com/mayswind/AriaNg/releases/tag/1.2.2" target="_blank" rel="noopener nofollow">AriaNG</a> 当然你可以选择别的WebUI其实大概步骤都差不多。</p>
<p>wget https://github.com/mayswind/AriaNg/releases/download/1.2.2/AriaNg-1.2.2.zip</p>
<p>下载完成以后咱们去放到Web里面即可</p>
<p>接着上面，我们去浏览器输入<strong>网站地址/ariang</strong>进一步配置AriaNG</p>
<p><code>AriaNg 设置 -&gt; RPC (10.0.0.2:6800) -&gt; Aria2 RPC 密钥</code></p>
<p>在这里输入aria2.conf里面配置的密码即可，AriaNG会提示你重新加载。此时只要你Terminal里面的aria2没有停止运行，你就可以在WebUI里面下载了，而不是晦涩难懂的命令界面。</p>
<h2 dir="auto" tabindex="-1"></h2>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>宝塔面板之海外版aapanel中文语言包</title>
		<link>https://shop.mac163.com/18543/</link>
		
		<dc:creator><![CDATA[wordpress主题]]></dc:creator>
		<pubDate>Thu, 22 Dec 2022 15:10:34 +0000</pubDate>
				<category><![CDATA[Linux动态]]></category>
		<category><![CDATA[Linux系统运维]]></category>
		<guid isPermaLink="false">https://shop.mac163.com/?p=18543</guid>

					<description><![CDATA[简单介绍 本项目为aapanel(宝塔海外版)的中文语言包。为了版本兼容性以及后续更新，本包只汉化了语言配置文&#8230;]]></description>
										<content:encoded><![CDATA[<h4>简单介绍</h4>
<p>本项目为aapanel(宝塔海外版)的中文语言包。为了版本兼容性以及后续更新，本包只汉化了语言配置文件。宝塔有部分文本分散写在模板以及面板代码内，因此汉化并不完整。PS：正常使用6.8.21汉化版的不建议更新</p>
<h4>演示图片</h4>
<figure id="attachment_18544" aria-describedby="caption-attachment-18544" style="width: 1920px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2022/12/7869793.jpeg"><img loading="lazy" decoding="async" class="size-full wp-image-18544" src="https://shop.mac163.com/wp-content/uploads/2022/12/7869793.jpeg" alt="宝塔面板之海外版aapanel中文语言包" width="1920" height="938" srcset="https://shop.mac163.com/wp-content/uploads/2022/12/7869793.jpeg 1920w, https://shop.mac163.com/wp-content/uploads/2022/12/7869793-300x147.jpeg 300w, https://shop.mac163.com/wp-content/uploads/2022/12/7869793-1024x500.jpeg 1024w, https://shop.mac163.com/wp-content/uploads/2022/12/7869793-768x375.jpeg 768w, https://shop.mac163.com/wp-content/uploads/2022/12/7869793-1536x750.jpeg 1536w, https://shop.mac163.com/wp-content/uploads/2022/12/7869793-330x160.jpeg 330w" sizes="auto, (max-width: 1920px) 100vw, 1920px" /></a><figcaption id="caption-attachment-18544" class="wp-caption-text">宝塔面板之海外版aapanel中文语言包</figcaption></figure>
<figure id="attachment_18545" aria-describedby="caption-attachment-18545" style="width: 1920px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2022/12/b6d9348.jpeg"><img loading="lazy" decoding="async" class="size-full wp-image-18545" src="https://shop.mac163.com/wp-content/uploads/2022/12/b6d9348.jpeg" alt="宝塔海外版aapanel中文语言包" width="1920" height="938" srcset="https://shop.mac163.com/wp-content/uploads/2022/12/b6d9348.jpeg 1920w, https://shop.mac163.com/wp-content/uploads/2022/12/b6d9348-300x147.jpeg 300w, https://shop.mac163.com/wp-content/uploads/2022/12/b6d9348-1024x500.jpeg 1024w, https://shop.mac163.com/wp-content/uploads/2022/12/b6d9348-768x375.jpeg 768w, https://shop.mac163.com/wp-content/uploads/2022/12/b6d9348-1536x750.jpeg 1536w" sizes="auto, (max-width: 1920px) 100vw, 1920px" /></a><figcaption id="caption-attachment-18545" class="wp-caption-text">宝塔海外版aapanel中文语言包</figcaption></figure>
<h4>项目地址</h4>
<p>码云<a href="https://gitee.com/gacjie/aapanel_chinese" target="_blank" rel="noopener noreferrer nofollow">https://gitee.com/gacjie/aapanel_chinese</a></p>
<p>github<a href="https://github.com/gacjie/aapanel_chinese" target="_blank" rel="noopener noreferrer nofollow">https://github.com/gacjie/aapanel_chinese</a></p>
<h4>网盘下载</h4>
<p>下载:<a href="https://gacjie.lanzoue.com/iglLO0ez3e5c" target="_blank" rel="noopener noreferrer nofollow">https://gacjie.lanzoue.com/iglLO0ez3e5c</a>密码:9s6b</p>
<h4>手动安装</h4>
<p>本教程以中文简体为例，如需中文繁体，请使用traditional_chinese目录下的文件。1、下载汉化文件包解压2、将/simplified_chinese/menu.json文件上传到/www/server/panel/config目录下覆盖英文菜单文件3、将/simplified_chinese/目录下其他文件上传到/www/server/panel/BTPanel/static/language/English目录下覆盖替换英文语言数据文件4、重启宝塔面板5、清理浏览器缓存。</p>
<h4>更新日志</h4>
<p>20221101本次重新使用腾讯云机器翻译重新汉化，汉化准比之前的百度谷歌好很多。同时提供了中文繁体语言包，重写了汉化一键脚本。20220908更新支持语言包到aapanel 6.8.26版本为提高更新频率，编写汉化脚本。增加一键安装脚本</p>
<p>0</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>宝塔面板Frpc客户端插件V2.7</title>
		<link>https://shop.mac163.com/18540/</link>
		
		<dc:creator><![CDATA[wordpress主题]]></dc:creator>
		<pubDate>Thu, 22 Dec 2022 15:07:00 +0000</pubDate>
				<category><![CDATA[Linux动态]]></category>
		<category><![CDATA[Linux系统运维]]></category>
		<guid isPermaLink="false">https://shop.mac163.com/?p=18540</guid>

					<description><![CDATA[插件简介 提供frp客户端的图形化管理功能，目前因为国内政策原因，已被宝塔下架。 插件信息 插件名称：frp客&#8230;]]></description>
										<content:encoded><![CDATA[<h6>插件简介</h6>
<p>提供frp客户端的图形化管理功能，目前因为国内政策原因，已被宝塔下架。</p>
<h6>插件信息</h6>
<p>插件名称：frp客户端，frpc插件版本：2.7插件作者：IW3C(www.atonal.cn)支持版本：6.8.4及以上支持系统：Linux64位系统</p>
<h6>插件下载</h6>
<p>蓝奏云<a href="https://gacjie.lanzouj.com/iMilq001gw9e" target="_blank" rel="noopener noreferrer nofollow">https://gacjie.lanzouj.com/iMilq001gw9e</a>密码:f92g</p>
<h6>插件截图</h6>
<figure id="attachment_18541" aria-describedby="caption-attachment-18541" style="width: 925px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2022/12/e99c124.png"><img loading="lazy" decoding="async" class="size-full wp-image-18541" src="https://shop.mac163.com/wp-content/uploads/2022/12/e99c124.png" alt="宝塔面板frpc客户端插件" width="925" height="607" srcset="https://shop.mac163.com/wp-content/uploads/2022/12/e99c124.png 925w, https://shop.mac163.com/wp-content/uploads/2022/12/e99c124-300x197.png 300w, https://shop.mac163.com/wp-content/uploads/2022/12/e99c124-768x504.png 768w" sizes="auto, (max-width: 925px) 100vw, 925px" /></a><figcaption id="caption-attachment-18541" class="wp-caption-text">宝塔面板frpc客户端插件</figcaption></figure>
<h6>更新日志</h6>
<p>暂无</p>
<h6>使用方法</h6>
<p>1.下载插件包2.打开面板-软件商店-第三方应用3.找到导入 导入插件包即可</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>解决Openwrt中Samba网络共享无法写入权限</title>
		<link>https://shop.mac163.com/18513/</link>
		
		<dc:creator><![CDATA[wordpress主题]]></dc:creator>
		<pubDate>Wed, 05 Oct 2022 10:31:32 +0000</pubDate>
				<category><![CDATA[Linux动态]]></category>
		<category><![CDATA[Linux系统运维]]></category>
		<guid isPermaLink="false">https://shop.mac163.com/?p=18513</guid>

					<description><![CDATA[在软路由Openwrt系统编译过程中难免会使用到Samba网络共享这样一个组件,这样就可以方便的挂载硬盘或者U&#8230;]]></description>
										<content:encoded><![CDATA[<p>在软路由Openwrt系统编译过程中难免会使用到Samba网络共享这样一个组件,这样就可以方便的挂载硬盘或者U盘来作为网络存储或者是做为下载机下载东西到里面方便读取,但是我们在安装好Openwrt系统到软路由中往往发现我们挂载好磁盘后进行共享设置后直接是可以匿名访问的,在网上邻居是可以轻松找到我们的这个磁盘,读取正常了,但是默认情况下是无法写入的,初步判断是权限问题,研究了很久,配置文件也看了,权限也给了,但是还是无法写入,这个问题根本就不是权限问题,经过一番折腾：</p>
<figure id="attachment_18514" aria-describedby="caption-attachment-18514" style="width: 2868px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2022/10/2925077.png"><img loading="lazy" decoding="async" class="size-full wp-image-18514" src="https://shop.mac163.com/wp-content/uploads/2022/10/2925077.png" alt="Openwrt Smb写入权限" width="2868" height="1356" srcset="https://shop.mac163.com/wp-content/uploads/2022/10/2925077.png 2868w, https://shop.mac163.com/wp-content/uploads/2022/10/2925077-300x142.png 300w, https://shop.mac163.com/wp-content/uploads/2022/10/2925077-1024x484.png 1024w, https://shop.mac163.com/wp-content/uploads/2022/10/2925077-768x363.png 768w, https://shop.mac163.com/wp-content/uploads/2022/10/2925077-1536x726.png 1536w, https://shop.mac163.com/wp-content/uploads/2022/10/2925077-2048x968.png 2048w" sizes="auto, (max-width: 2868px) 100vw, 2868px" /></a><figcaption id="caption-attachment-18514" class="wp-caption-text">Openwrt Smb写入权限</figcaption></figure>
<p>看了一下/mnt/sda1的文件夹权限，其中/mnt/sda1为我挂载的磁盘，那么就直接chmod -R 777 /mnt/sda1试试，果断就可以写入了！</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>WordPress彻底清理旧主题及插件残留的wp_options数据表</title>
		<link>https://shop.mac163.com/18412/</link>
		
		<dc:creator><![CDATA[wordpress主题]]></dc:creator>
		<pubDate>Sat, 27 Aug 2022 01:16:21 +0000</pubDate>
				<category><![CDATA[wordpress动态]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress主题教程]]></category>
		<category><![CDATA[wordpress外贸主题教程]]></category>
		<guid isPermaLink="false">https://shop.mac163.com/?p=18412</guid>

					<description><![CDATA[当我们安装主题和插件时，都会向数据库的wp_options表里面插入不少数据，很多主题/插件卸载的时候不会跟着&#8230;]]></description>
										<content:encoded><![CDATA[<p>当我们安装主题和插件时，都会向数据库的wp_options表里面插入不少数据，很多主题/插件卸载的时候不会跟着删除。自从换了wordpress之后，主题和插件非常多，平时不少折腾，换来换去，日积月累就造成了数据库臃肿，博客内容没多少，反而数据库一次一次的变大，影响速度。当然，熟悉的朋友也可以直接进phpMyAdmin清理。下面记录下傻瓜式彻底清理wp_options表。<br />
[scode type=&#8221;red&#8221;]提示：使用下面方法插件设置和主题的一些设置会清空[/scode]
比如主题设置中SEO，统计代码，CSS等等长段内容可以复制备份下来，方便设置。</p>
<h3>备份数据库</h3>
<p>1.操作前一定要完整备份好数据库，并不是wp_options表，切记！！！</p>
<p>2.停用博客所有插件</p>
<h3>重新搭建wordpress</h3>
<p>1.在主机或者本地环境重新搭建个wordpress，安装好后按照之前博客简单设置一遍（站点URL暂时不用设置成博客网址）</p>
<p>2.进入数据库导出wp_options表，本地环境一般在<a href="http://127.0.0.1/phpmyadmin" target="_blank" rel="nofollow noopener">http://127.0.0.1/phpmyadmin</a></p>
<figure id="attachment_18413" aria-describedby="caption-attachment-18413" style="width: 809px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2022/08/ebcb179.png"><img loading="lazy" decoding="async" class="size-full wp-image-18413" src="https://shop.mac163.com/wp-content/uploads/2022/08/ebcb179.png" alt="Wordpress彻底清理旧主题及插件残留的wp Options数据表" width="809" height="469" srcset="https://shop.mac163.com/wp-content/uploads/2022/08/ebcb179.png 809w, https://shop.mac163.com/wp-content/uploads/2022/08/ebcb179-300x174.png 300w, https://shop.mac163.com/wp-content/uploads/2022/08/ebcb179-768x445.png 768w, https://shop.mac163.com/wp-content/uploads/2022/08/ebcb179-590x342.png 590w" sizes="auto, (max-width: 809px) 100vw, 809px" /></a><figcaption id="caption-attachment-18413" class="wp-caption-text">WordPress彻底清理旧主题及插件残留的wp Options数据表</figcaption></figure>
<h3>进入博客数据库</h3>
<p>1.进入博客数据库将wp_options表删除，再次强调，操作前完整备份好数据库。</p>
<figure id="attachment_18414" aria-describedby="caption-attachment-18414" style="width: 911px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2022/08/ebcb180.png"><img loading="lazy" decoding="async" class="size-full wp-image-18414" src="https://shop.mac163.com/wp-content/uploads/2022/08/ebcb180.png" alt="Wordpress彻底清理旧主题及插件残留的wp Options数据表" width="911" height="518" srcset="https://shop.mac163.com/wp-content/uploads/2022/08/ebcb180.png 911w, https://shop.mac163.com/wp-content/uploads/2022/08/ebcb180-300x171.png 300w, https://shop.mac163.com/wp-content/uploads/2022/08/ebcb180-768x437.png 768w, https://shop.mac163.com/wp-content/uploads/2022/08/ebcb180-590x335.png 590w" sizes="auto, (max-width: 911px) 100vw, 911px" /></a><figcaption id="caption-attachment-18414" class="wp-caption-text">WordPress彻底清理旧主题及插件残留的wp Options数据表</figcaption></figure>
<p>2.导入刚刚导出的wp_options表。导入后打开wp_options表，在option_name列找到siteurl和 home修改option_value值为站点成博客URL（一般在最上面，URL需要完整地址及https://&#8230; http://&#8230;）</p>
<figure id="attachment_18415" aria-describedby="caption-attachment-18415" style="width: 680px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2022/08/0c8ee14.png"><img loading="lazy" decoding="async" class="size-full wp-image-18415" src="https://shop.mac163.com/wp-content/uploads/2022/08/0c8ee14.png" alt="更换数据库" width="680" height="93" srcset="https://shop.mac163.com/wp-content/uploads/2022/08/0c8ee14.png 680w, https://shop.mac163.com/wp-content/uploads/2022/08/0c8ee14-300x41.png 300w, https://shop.mac163.com/wp-content/uploads/2022/08/0c8ee14-590x81.png 590w" sizes="auto, (max-width: 680px) 100vw, 680px" /></a><figcaption id="caption-attachment-18415" class="wp-caption-text">更换数据库</figcaption></figure>
<p>3.到这里wp_options表行数已经非常少了。清理之后的图正是现在。</p>
<figure id="attachment_18416" aria-describedby="caption-attachment-18416" style="width: 990px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2022/08/8fa8c36.png"><img loading="lazy" decoding="async" class="size-full wp-image-18416" src="https://shop.mac163.com/wp-content/uploads/2022/08/8fa8c36.png" alt="完成数据库更换" width="990" height="175" srcset="https://shop.mac163.com/wp-content/uploads/2022/08/8fa8c36.png 990w, https://shop.mac163.com/wp-content/uploads/2022/08/8fa8c36-300x53.png 300w, https://shop.mac163.com/wp-content/uploads/2022/08/8fa8c36-768x136.png 768w, https://shop.mac163.com/wp-content/uploads/2022/08/8fa8c36-590x104.png 590w" sizes="auto, (max-width: 990px) 100vw, 990px" /></a><figcaption id="caption-attachment-18416" class="wp-caption-text">完成数据库更换</figcaption></figure>
<h3>进入博客后台</h3>
<p>重新启用设置一遍即可。</p>
[wshop_reward]
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>更改WordPress主题中的字体(5 种简单方法)</title>
		<link>https://shop.mac163.com/18403/</link>
		
		<dc:creator><![CDATA[wordpress主题]]></dc:creator>
		<pubDate>Wed, 27 Jul 2022 00:58:02 +0000</pubDate>
				<category><![CDATA[wordpress动态]]></category>
		<category><![CDATA[wordpress主题教程]]></category>
		<category><![CDATA[wordpress企业主题]]></category>
		<category><![CDATA[wordpress外贸主题教程]]></category>
		<guid isPermaLink="false">https://shop.mac163.com/?p=18403</guid>

					<description><![CDATA[您是否希望将 WordPress 主题的字体更改为不同的字体？ 您的网站文本字体在您网站的设计和品牌标识中起着&#8230;]]></description>
										<content:encoded><![CDATA[<p>您是否希望将 WordPress 主题的字体更改为不同的字体？</p>
<p>您的网站文本字体在您网站的设计和品牌标识中起着重要作用。它可以提高您内容的可读性，并使您的网站看起来现代而专业。</p>
<p>在本文中，我们将向您展示如何使用 5 种不同的方式在 WordPress 中更改字体，以便您可以轻松地使用无代码方法更改字体，或者在不使用任何插件的情况下更改 WordPress 字体。</p>
<figure id="attachment_18404" aria-describedby="caption-attachment-18404" style="width: 680px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2022/07/d5fcd73.png"><img loading="lazy" decoding="async" class="size-full wp-image-18404" src="https://shop.mac163.com/wp-content/uploads/2022/07/d5fcd73.png" alt="如何更改wordpress主题中的字体" width="680" height="385" srcset="https://shop.mac163.com/wp-content/uploads/2022/07/d5fcd73.png 680w, https://shop.mac163.com/wp-content/uploads/2022/07/d5fcd73-300x169.png 300w, https://shop.mac163.com/wp-content/uploads/2022/07/d5fcd73-590x334.png 590w" sizes="auto, (max-width: 680px) 100vw, 680px" /></a><figcaption id="caption-attachment-18404" class="wp-caption-text">如何更改wordpress主题中的字体</figcaption></figure>
<h4>为什么要更改 WordPress 网站上的字体？</h4>
<p>字体是您网站设计的重要组成部分，对您的<a title="如何在 2022 年制作 WordPress 网站（终极指南）" href="https://www.wpbeginner.com/guides/" rel="nofollow">WordPress 网站</a>的外观和感觉产生巨大影响。</p>
<p>如果您的网站字体难以阅读，那么就很难留住访问者，他们最终会放弃您的网站。</p>
<p>字体还显示您的品牌标识。例如，您可以使用特定字体使您的网站看起来更专业或更随意。</p>
<p><a title="2022 年最受欢迎和最佳 WordPress 主题（专家精选）" href="https://www.wpbeginner.com/showcase/best-wordpress-themes/" rel="nofollow">WordPress 主题</a>带有您网站的默认字体、字体大小和字体颜色。但是，您可能希望将默认字体更改为不同的字体。</p>
<p>也就是说，有几种方法可以更改 WordPress 中的字体。我们将向您展示几种不同的方法。您可以单击下面的链接跳转到任何部分。</p>
<ul>
<li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-change-font-in-wordpress/#change-font-theme-customizer" rel="nofollow">在 WordPress 主题定制器中更改字体</a></li>
<li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-change-font-in-wordpress/#change-font-fse" rel="nofollow">在 WordPress 完整站点编辑器中更改字体</a></li>
<li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-change-font-in-wordpress/#change-font-using-plugin" rel="nofollow">使用 WordPress 插件更改 WordPress 字体</a></li>
<li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-change-font-in-wordpress/#change-font-theme-builder" rel="nofollow">使用 WordPress 主题生成器更改字体</a></li>
<li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-change-font-in-wordpress/#change-font-appearance" rel="nofollow">在 WordPress 内容编辑器中自定义字体外观</a></li>
</ul>
<h4 id="change-font-theme-customizer">在 WordPress 主题定制器中更改字体</h4>
<p>更改站点字体的一种简单方法是转到<a title="如何像专业人士一样使用 WordPress 主题定制器（终极指南）" href="https://www.wpbeginner.com/beginners-guide/how-to-use-wordpress-theme-customizer/" rel="nofollow">WordPress 主题定制</a>器。它允许您更改网站的外观并显示实时预览。</p>
<p><strong>注意</strong>：如果您的<a title="如何在 WordPress 管理员中修复缺少的主题定制器" href="https://www.wpbeginner.com/wp-tutorials/how-to-fix-missing-theme-customizer-in-wordpress-admin/" rel="nofollow">定制器菜单选项丢失</a>，那么您的主题可能启用了完整的站点编辑，您需要使用不同的方法或切换主题。</p>
<p>对于本教程，我们将使用<a title="Astra 主题定价页面" href="https://www.wpbeginner.com/refer/astra-theme-pricing-page/" target="_blank" rel="noreferrer noopener nofollow">Astra 主题</a>。但是，选项会根据您使用的 WordPress 主题而改变。根据您的主题，您需要在定制器中查找“字体”或“排版”选项。</p>
<p>首先，您可以从 WordPress 仪表板转到<strong>外观 » 自定义。</strong></p>
<p>这将启动 WordPress 主题定制器。</p>
<p>Astra 主题有一个“全局”部分，其中包含更改站点范围样式的选项。要更改整个网站的字体，您可以单击左侧菜单中的“全局”选项。</p>
<p>在下一个屏幕上，您将看到排版、颜色、容器和按钮等选项。</p>
<p>继续并单击“排版”选项。</p>
<p>从这里，您可以在“预设”部分下选择不同的字体。</p>
<p>这些是主题提供的默认字体，选择预设将更改整个网站上的字体。</p>
<p>除此之外，您还可以更改主题中各个元素的字体。</p>
<p>例如，您可以为正文和标题使用不同的字体。甚至可以选择为每个标题级别使用单独的字体。</p>
<p>首先，只需从“字体系列”下拉菜单中为任何单个元素选择一种字体。</p>
<p>除此之外，还有更多选项可以更改字体大小、粗细、选择变体等。</p>
<p>完成后，不要忘记单击“发布”按钮。</p>
<p>您现在可以访问您的网站并查看新字体。例如，我们在演示网站上将正文字体更改为 Roboto，将标题字体更改为 Helvetica。</p>
<p>请务必注意，并非所有 WordPress 主题都将提供与 Astra 相同的功能和自定义设置。如果您的主题不提供此功能，请继续阅读下一步。</p>
<h4 id="change-font-fse">在 WordPress 完整站点编辑器中更改字体</h4>
<p>如果您使用的是<a title="2022 年 21 个最佳 WordPress 全站编辑主题（大部分免费）" href="https://www.wpbeginner.com/showcase/best-wordpress-full-site-editing-themes/" rel="nofollow">基于块的 WordPress 主题</a>，例如二十二十二，那么您可以使用完整站点编辑器 (FSE) 更改站点的字体。</p>
<p>完整的站点编辑器允许您使用块自定义您的 WordPress 主题，就像使用 WordPress 内容编辑器编辑<a title="WordPress中的帖子与页面之间有什么区别" href="https://www.wpbeginner.com/beginners-guide/what-is-the-difference-between-posts-vs-pages-in-wordpress/" rel="nofollow">帖子或页面时一样。</a>但是，FSE 目前处于测试阶段，只有少数主题支持它。</p>
<p>在本教程中，我们将使用二十二十二主题。</p>
<p>首先，您可以从 WordPress 管理面板 转到<strong>外观 » 编辑器。</strong></p>
<p>这将为您的 WordPress 主题打开完整的站点编辑器。</p>
<p>接下来，您可以单击右上角的样式图标，然后单击“排版”选项。</p>
<p>之后，您可以选择文本和链接等元素来更改其排版。</p>
<p>我们将选择文本作为元素，然后单击“字体系列”下拉菜单以更改其字体。</p>
<p>完成后，只需单击“保存”按钮。</p>
<p>您已使用完整的站点编辑器成功更改了字体。您还可以将<a title="如何在 WordPress 中添加自定义字体" href="https://www.wpbeginner.com/wp-themes/how-to-add-custom-fonts-in-wordpress/" rel="nofollow">自定义字体添加到您的 WordPress 网站</a>，然后在完整的网站编辑器中更改它们。</p>
<h4 id="change-font-using-plugin">使用 WordPress 插件更改 WordPress 字体</h4>
<p>另一种更改 WordPress 字体的方法是使用 WordPress 插件，例如<a title="简单的谷歌字体" href="https://wordpress.org/plugins/easy-google-fonts/" target="_blank" rel="noreferrer noopener nofollow">Easy Google Fonts</a>。</p>
<p>这是一个免费的<a title="16 个最佳 WordPress 排版插件来改善您的设计" href="https://www.wpbeginner.com/showcase/best-wordpress-typography-plugins-to-improve-your-design/" rel="nofollow">WordPress 排版插件</a>，可让您将 600 多种 Google 字体和不同的字体变体添加到您的网站。</p>
<p>首先，您需要安装并激活 Easy Google Fonts 插件。如果您需要帮助，请参阅我们的关于<a title="如何安装 WordPress 插件 - 为初学者一步一步" href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" rel="nofollow">如何安装 WordPress 插件</a>的指南。</p>
<p>激活后，您将在 WordPress 仪表板中看到 Easy Google Fonts 欢迎屏幕。您可以向下滚动并单击“转到设置 → 简易 Google 字体”按钮。</p>
<p>在下一个屏幕上，您将看到不同的插件设置。</p>
<p>继续并单击顶部的“使用实时预览管理”按钮。</p>
<p>这将打开 WordPress 主题定制器，您将位于“排版”选项卡中。</p>
<p>访问插件添加的字体的另一种方法是从 WordPress 仪表板转到<strong>外观»自定义</strong>，然后单击“排版”选项卡。</p>
<p>在下一个屏幕上，您将看到“默认排版”选项。</p>
<p>继续并单击它。</p>
<p>之后，您可以更改网站上每个元素的字体。</p>
<p>例如，让我们更改标题 1 的字体。只需单击标题 1 旁边的箭头即可展开选项。从这里，您可以单击“字体系列”下拉菜单并选择一种字体。</p>
<p>您可以对其他标题级别和段落执行相同操作。</p>
<p>完成后不要忘记单击“发布”按钮。</p>
<h4 id="change-font-theme-builder">使用 WordPress 主题生成器更改字体</h4>
<p>有许多强大的 WordPress 主题构建器可让您在不编辑代码的情况下创建自定义主题。您可以使用它们来更改网站上不同元素的字体。</p>
<p>对于本教程，我们将使用<a title="SeedProd - 最佳拖放式 WordPress 网站构建器" href="https://www.seedprod.com/" target="_blank" rel="noopener nofollow">SeedProd</a>。它是<a title="比较了 6 个最佳 WordPress 登陆页面插件（2022 年）" href="https://www.wpbeginner.com/plugins/best-wordpress-landing-page-plugins-compared/" rel="nofollow">WordPress 的最佳登录页面和主题构建器插件，</a>并提供拖放构建器来创建自定义主题，而无需触及任何一行代码。</p>
<p>请注意，您需要<a title="SeedProd 专业版" href="https://www.seedprod.com/" target="_blank" rel="noreferrer noopener nofollow">SeedProd Pro 版本</a>，因为它包含主题生成器。您还可以免费使用<a title="SeedProd 精简版" href="https://wordpress.org/plugins/coming-soon/" target="_blank" rel="noreferrer noopener nofollow">SeedProd Lite 版本。</a></p>
<p>首先，您需要安装并激活 SeedProd 插件。有关更多详细信息，请参阅我们的关于<a title="如何安装 WordPress 插件 - 为初学者一步一步" href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" rel="nofollow">如何安装 WordPress 插件</a>的指南。</p>
<p>激活后，您将看到 SeedProd 欢迎屏幕。继续输入您的许可证密钥，然后单击“验证密钥”按钮。您可以在您的 SeedProd 帐户区域轻松找到许可证密钥。</p>
<p>之后，您可以从 WordPress 仪表板前往<strong>SeedProd » Theme Builder 。</strong></p>
<p>接下来，继续并单击顶部的“主题”按钮。</p>
<p>从这里，插件将向您显示多个可供选择的主题。</p>
<p>只需将鼠标悬停在您要使用的主题上，然后单击它。我们将在本教程中使用 Starter 主题。</p>
<p>SeedProd 现在将生成不同的主题模板。</p>
<p>您可以编辑每个模板并自定义您的 WordPress 主题。甚至可以选择手动添加主题模板。</p>
<p>让我们编辑主页主题模板并更改不同元素的字体。首先，单击主页下的“编辑设计”链接。</p>
<p>这将启动 SeedProd 的拖放主题构建器。您可以从左侧的菜单中添加新元素并将它们放置在模板上的任何位置。</p>
<p>要更改任何主题部分的字体，只需选择它。例如，我们将选择 Starter 标题下的文本框。</p>
<p>接下来，从左侧菜单转到“高级”选项卡，然后单击“排版”前面的“编辑”按钮。</p>
<p>之后，您将看到多个选项来编辑所选部分的版式。</p>
<p>您可以单击“字体系列”下拉菜单并为您的文本选择一种字体。还有选择字体粗细、<a title="如何在 WordPress 中轻松更改字体大小" href="https://www.wpbeginner.com/beginners-guide/how-to-change-the-font-size-in-wordpress/" rel="nofollow">调整字体大小</a>、行高、字母间距、对齐方式、字母大小写等选项。</p>
<p>您现在可以重复此步骤并更改主题中其他元素的字体。</p>
<p>完成后，只需单击顶部的“保存”按钮。</p>
<p>要应用自定义主题和字体，请转到<strong>SeedProd » Theme Builder</strong>  ，然后将“启用 SeedProd 主题”选项旁边的开关切换为是。</p>
<p>如果您想从头开始创建 WordPress 主题，请参阅我们的指南，<a title="如何轻松创建自定义 WordPress 主题（无需任何代码）" href="https://www.wpbeginner.com/wp-themes/how-to-easily-create-a-custom-wordpress-theme/" rel="nofollow">了解如何轻松创建自定义 WordPress 主题</a>。</p>
<h4 id="change-font-appearance">在 WordPress 内容编辑器中自定义字体外观</h4>
<p>使用内容编辑器，您还可以更改字体在特定博客文章和页面中的显示方式。</p>
<p>这种方法的缺点是它只会将新字体应用于特定的帖子或页面。对于要应用类似自定义的所有其他帖子，您必须手动重复此步骤。</p>
<p>这对于发布特定的自定义非常方便，但是如果您正在寻找站点范围内的字体更改选项，那么您应该考虑其他选项。</p>
<p>话虽如此，要使用 WordPress 内容编辑器更改字体，只需编辑帖子或添加新帖子。进入<a title="掌握 WordPress 内容编辑器的 16 个技巧" href="https://www.wpbeginner.com/beginners-guide/14-tips-for-mastering-the-wordpress-visual-editor/" rel="nofollow">WordPress 内容编辑器</a>后，选择文本以更改其外观。</p>
<p>在右侧的设置面板中，前往“排版”部分。然后单击排版前面的 3 个点，然后从下拉选项中选择“外观”。</p>
<p>一旦你这样做了，外观设置将在排版部分下可见。</p>
<p>只需单击外观下的下拉菜单，然后为您的字体选择一种样式。例如，您可以将字体设置为粗体、细体、斜体、黑色、粗斜体、超粗体等。</p>
<p>还有一些选项可以<a title="如何在 WordPress 中轻松更改字体大小" href="https://www.wpbeginner.com/beginners-guide/how-to-change-the-font-size-in-wordpress/" rel="nofollow">更改字体大小</a>、选择字母大小写、编辑颜色、<a title="如何在 WordPress 帖子中添加首字下沉" href="https://www.wpbeginner.com/plugins/how-to-add-drop-caps-in-wordpress-posts/" rel="nofollow">启用首字下沉</a>等。</p>
<p>完成后不要忘记更新或发布您的页面。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>使用WordPress制作多供应商电子商务网站</title>
		<link>https://shop.mac163.com/18387/</link>
		
		<dc:creator><![CDATA[wordpress主题]]></dc:creator>
		<pubDate>Thu, 14 Jul 2022 08:33:38 +0000</pubDate>
				<category><![CDATA[wordpress动态]]></category>
		<category><![CDATA[wordpress主题]]></category>
		<category><![CDATA[wordpress主题教程]]></category>
		<category><![CDATA[wordpress企业主题]]></category>
		<guid isPermaLink="false">https://shop.mac163.com/?p=18387</guid>

					<description><![CDATA[您想在 WordPress 中创建一个多供应商电子商务网站吗？ 多供应商电子商务网站允许您让多个供应商和卖家在&#8230;]]></description>
										<content:encoded><![CDATA[<p>您想在 WordPress 中创建一个多供应商电子商务网站吗？</p>
<p>多供应商电子商务网站允许您让多个供应商和卖家在您的市场上以少量费用或佣金销售他们的产品。</p>
<p>在本文中，我们将向您展示如何使用 WordPress 开源软件轻松创建多供应商电子商务市场。</p>
<figure id="attachment_18388" aria-describedby="caption-attachment-18388" style="width: 680px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2022/07/3e01575.png"><img loading="lazy" decoding="async" class="size-full wp-image-18388" src="https://shop.mac163.com/wp-content/uploads/2022/07/3e01575.png" alt="使用wordpress制作多供应商电子商务网站" width="680" height="385" srcset="https://shop.mac163.com/wp-content/uploads/2022/07/3e01575.png 680w, https://shop.mac163.com/wp-content/uploads/2022/07/3e01575-300x169.png 300w, https://shop.mac163.com/wp-content/uploads/2022/07/3e01575-590x334.png 590w" sizes="auto, (max-width: 680px) 100vw, 680px" /></a><figcaption id="caption-attachment-18388" class="wp-caption-text">使用wordpress制作多供应商电子商务网站</figcaption></figure>
<h4>什么是多供应商电子商务网站？</h4>
<p>多供应商电子商务网站是一个平台，多个供应商、卖家和企业可以在其中添加和销售他们自己的产品和服务。</p>
<p>这是一种流行的在线商业理念，允许网站所有者通过对每笔交易收取费用或佣金来在线赚钱。</p>
<p>一些最受欢迎的电子商务网站，如亚马逊、eBay、Etsy，都是多供应商电子商务市场的例子。</p>
<p>您可以轻松地创建一个多供应商网站，而使用 WordPress制作电子商务网站的成本相对较低。</p>
<p>话虽如此，让我们来看看如何在没有任何技术技能的情况下轻松制作多供应商电子商务网站。</p>
<h4>您需要什么来启动多供应商电子商务网站？</h4>
<p>首先，您需要确保使用正确的网站构建器平台来构建您的多供应商电子商务网站。</p>
<p>我们总是使用并推荐 WordPress，因为它为互联网上 43% 的网站提供支持。它是一个免费的开源软件，还允许您在您的网站上添加多供应商功能。</p>
<p>要在 WordPress 中创建多供应商网站，您需要：</p>
<ul>
<li>域名创意，这将是您网站在互联网上的名称（想想 amazon.com、google.com 等）。</li>
<li>虚拟主机帐户 &#8211; 这是您的网站在互联网上的位置。所有网站都需要网络托管。</li>
<li>SSL 证书——这使您可以安全地在线接受付款。</li>
</ul>
<p>通常，一个域名每年的费用约为 14.99 美元，而网络托管的起价为每月 7.99 美元（通常每年支付）。</p>
<p>对于刚起步的人来说，这可能是一笔可观的资金。</p>
<p>幸运的是，Bluehost的人们已经同意为 WPBeginner 用户提供 63% 的免费域名和 SSL 证书的网络托管折扣。</p>
<p>基本上，您可以使用我们的Bluehost 优惠券以每月 2.75 美元的价格开始使用。</p>
<p>→ 单击此处索取此独家 Bluehost 优惠 ←</p>
<p>注意：您当然也可以使用任何其他网络托管服务提供商。我们有一个专门从事WooCommerce 托管的托管服务提供商列表，因为这是我们将用于我们的电子商务平台的 WordPress 插件。</p>
<p>注册 托管后，您可以按照我们的 WooCommerce 教程在 WordPress 中安装电子商务功能。</p>
<p>之后，您就可以在 WordPress 中添加多供应商功能了。</p>
<h4>在 WooCommerce 中添加多供应商功能</h4>
<p>WooCommerce 不支持多供应商商店。要添加它，您需要一个 WooCommerce 多供应商插件。</p>
<p>我们建议使用WC Vendors作为最好的 WooCommerce 多供应商插件。它非常易于设置，并具有让多个供应商在您的市场上建立自己的商店所需的所有功能。</p>
<p>首先，您需要安装并激活免费的WC Vendors Marketplace插件。有关更多详细信息，请参阅我们关于如何安装 WordPress 插件的分步指南。</p>
<p><strong>注意：</strong> 这是插件的有限免费版本，它只提供核心功能。您仍然需要基本免费插件才能使用具有更多功能的高级版插件。我们将在后面的步骤中介绍。</p>
<p>激活后，系统会要求您运行设置向导。</p>
<p>接下来，您将看到设置的第一个屏幕。</p>
<p>从这里，您可以选择是否要手动批准供应商，为他们提供运输和税收选项，并设置基本佣金率。</p>
<p>单击下一步按钮继续。</p>
<p>在功能选项卡上，您可以微调供应商的用户权限。这些是他们可以对自己的产品和商店执行的操作。</p>
<p>完成后，单击下一步按钮转到页面部分。</p>
<p>WC Vendors 可以自动创建运行多供应商商店所需的重要页面。但是，如果您想创建自己的页面，则可以在此处选择它们。</p>
<p>如果您选择自己的页面，那么您还需要手动将屏幕上显示的短代码添加到每个页面。</p>
<p>我们建议在此处坚持使用默认设置以简化设置。</p>
<p>只需单击“下一步”按钮继续，然后单击“返回仪表板”即可退出设置向导。</p>
<p>接下来，您需要安装并激活WC Vendors Pro插件。有关更多详细信息，请参阅我们关于如何安装 WordPress 插件的分步指南。</p>
<p>激活后，它还会要求您运行设置向导。</p>
<p>在下一个屏幕上，您可以限制供应商访问 WordPress 管理仪表板。</p>
<p>这是保持 WordPress 网站安全的好习惯。</p>
<p>您还可以选择不同的佣金类型，例如百分比、百分比+费用、固定和固定+费用。</p>
<p>选择后，继续并单击“下一步”按钮继续。</p>
<p>您现在将看到可以为供应商仪表板启用的功能。这些选项将使供应商能够使用更多功能来管理他们的商店和产品。</p>
<p>只需选择要启用的功能，然后单击下一步按钮。</p>
<p>在页面屏幕上，插件会自动为您创建一个 Pro Dashboard 页面。</p>
<p>或者，您还可以选择一个页面来显示供应商评级。只需在 WordPress 中创建一个包含短代码的新页面<code>[wcv_feedback_form]</code> ，然后在此处选择该页面。</p>
<p>之后，您需要单击“下一步”按钮完成设置。WC Vendors Pro 还将为您提供编辑供应商使用的不同表单并安装扩展以添加新功能的选项。</p>
<p>您现在可以返回 WordPress 仪表板以继续设置您的多供应商网站。</p>
<h4>为多供应商平台设置 WooCommerce</h4>
<p>现在您已经设置了 WC Vendor，下一步是在 WooCommerce中启用用户帐户注册。</p>
<p>首先，您需要在 WordPress 中创建一个新页面并将其命名为 Account。在页面编辑器中，您需要添加<code>[woocommerce_my_account]</code>短代码。</p>
<p>不要忘记保存和发布您的页面。</p>
<p>接下来，前往<strong>WooCommerce » 设置</strong>页面并切换到帐户和隐私选项卡。</p>
<p>从这里，您需要确保选中“允许客户在“我的帐户”页面上创建帐户”选项。</p>
<p>之后，切换到高级选项卡。在页面设置部分下，选择您之前在“我的帐户页面”选项旁边创建的页面。</p>
<p>不要忘记单击保存更改按钮来存储您的设置。</p>
<h4>添加链接以注册为供应商</h4>
<p>现在您已经为您的多供应商电子商务平台设置了 WooCommerce。接下来，您需要在您的网站上添加链接，以便访问者可以注册为供应商。</p>
<p>只需转到<strong>外观»菜单</strong>页面，然后将您之前创建的“帐户”页面添加到您的主导航菜单中。</p>
<p>如果您愿意，您可以将导航菜单选项重命名为“登录或注册”或“我的帐户”。</p>
<p>不要忘记保存您的更改并预览您的网站。</p>
<p>您可以通过在隐身模式下打开新的浏览器选项卡来快速查看已注销访问者的外观。</p>
<p>帐户页面链接将显示在顶部。</p>
<p>单击它会将用户带到帐户注册页面，他们可以在其中申请成为您网站上的供应商。</p>
<h4>管理您的多供应商电子商务商店</h4>
<p>用户注册为供应商后，他们可能会自动获得批准，或者您需要手动批准他们，具体取决于您在设置向导中选择的选项。</p>
<p>如果您需要手动批准它们，只需转到 WordPress 管理区域中的用户页面并切换到待定供应商选项卡。</p>
<p>您可以在此处批准或拒绝供应商申请。</p>
<p>供应商获得批准后，他们将收到通知并能够登录他们的帐户来管理他们的供应商商店。</p>
<p>从他们的供应商仪表板中，他们可以添加要销售的新产品，以及管理订单、商店设置等。</p>
<p>例如，您的供应商可以在“设置”选项卡下输入他们的付款信息。</p>
<p>当供应商添加新产品时，您会收到一封电子邮件通知。</p>
<p>然后，您可以手动批准和发布产品或将其删除。</p>
<p>您商店页面上的产品现在将显示供应商名称。</p>
<p>用户可以单击供应商名称来浏览更多他们的产品。</p>
<h4>自定义您的多供应商电子商务网站设计</h4>
<p>WordPress 带有数以千计的预制模板，您可以使用这些模板开始使用。我们列出了您可以选择的最佳 WooCommerce 主题列表。</p>
<p>有时，您会找到完全符合您需要的主题。但是，在大多数情况下，您可能希望自定义品牌的外观和感觉。</p>
<p>在这种情况下，您将需要一个像SeedProd这样的WordPress 页面构建器插件。这是一个拖放式网站构建器工具，可让您创建完全自定义的 WordPress 主题，而无需编写任何代码。</p>
<p>它带有预制的 WooCommerce 块，您可以使用这些块来自定义您的产品页面、购物车页面和商店中的所有其他页面。</p>
<p>有关更多详细信息，请参阅我们的分步指南，了解如何在不编写任何代码的情况下创建自定义 WordPress 主题。</p>
<h4>发展您的多供应商电子商务网站</h4>
<p>现在您已经创建了一个多供应商电子商务网站，下一步是推广您的网站，以便更多的卖家和客户可以找到它。</p>
<p>我们的专家团队创建了一个完整的 WooCommerce 插件列表，您需要这些插件来发展您的在线商店。</p>
<p>以下是我们最喜欢的一些工具，并且必须拥有我们推荐的工具：</p>
<p>1. 适用于 WordPress 的多合一 SEO – 市场上最好的 WordPress SEO 插件，内置对WooCommerce SEO的支持。超过 300 万个网站使用它在 Google 中排名更高。如果预算有限，您也可以使用免费版本。</p>
<p>2. MonsterInsights – 它是最好的 WordPress 谷歌分析插件，可让您设置增强的电子商务跟踪。这可以帮助您跟踪产品的性能，以便您了解您网站上的工作情况。</p>
<p>3. WP Mail SMTP——这有助于解决 WordPress 电子邮件的可传递性问题，以确保重要的网站电子邮件（如购买收据、用户注册电子邮件等）始终在用户的收件箱中送达。</p>
<p>4. WPForms –市场上最好的 WordPress 表单生成器插件。它允许您轻松创建推广和发展多供应商商店所需的各种表格，例如用户调查、联系表格、民意调查等。您还可以使用免费版本。</p>
<p>5. OptinMonster – 它是 WordPress 排名第一的转换优化工具包。它可以帮助您将网站访问者转化为潜在客户和客户。您可以使用它来添加特殊的免费送货条、季节性促销、旋转轮子游戏等。</p>
<p>WordPress 附带超过 59,000 多个免费插件。这就是为什么它是专家在构建任何类型的网站（包括多供应商电子商务商店）时的首选。</p>
<p>我们希望本文能帮助您了解如何创建多供应商电子商务网站。您可能还想查看我们的终极转化跟踪指南，以及我们在 WooCommerce 中转化废弃购物车销售的技巧。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>如何在WordPress中禁用目录浏览</title>
		<link>https://shop.mac163.com/18379/</link>
		
		<dc:creator><![CDATA[wordpress主题]]></dc:creator>
		<pubDate>Thu, 14 Jul 2022 07:45:11 +0000</pubDate>
				<category><![CDATA[wordpress动态]]></category>
		<category><![CDATA[wordpress主题]]></category>
		<category><![CDATA[wordpress主题教程]]></category>
		<category><![CDATA[wordpress企业主题]]></category>
		<guid isPermaLink="false">https://shop.mac163.com/?p=18379</guid>

					<description><![CDATA[您想禁用 WordPress 中的目录浏览吗？ 目录浏览可以通过向黑客显示重要信息来使您的网站处于危险之中，这&#8230;]]></description>
										<content:encoded><![CDATA[<p>您想禁用 WordPress 中的目录浏览吗？</p>
<p>目录浏览可以通过向黑客显示重要信息来使您的网站处于危险之中，这些信息可用于利用您网站的插件、主题甚至您的托管服务器中的漏洞。</p>
<p>在本文中，我们将向您展示如何在 WordPress 中禁用目录浏览。</p>
<figure id="attachment_18380" aria-describedby="caption-attachment-18380" style="width: 680px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2022/07/f88ea21.png"><img loading="lazy" decoding="async" class="size-full wp-image-18380" src="https://shop.mac163.com/wp-content/uploads/2022/07/f88ea21.png" alt="如何在wordpress中禁用目录浏览" width="680" height="385" srcset="https://shop.mac163.com/wp-content/uploads/2022/07/f88ea21.png 680w, https://shop.mac163.com/wp-content/uploads/2022/07/f88ea21-300x169.png 300w, https://shop.mac163.com/wp-content/uploads/2022/07/f88ea21-590x334.png 590w" sizes="auto, (max-width: 680px) 100vw, 680px" /></a><figcaption id="caption-attachment-18380" class="wp-caption-text">如何在wordpress中禁用目录浏览</figcaption></figure>
<figure class="wp-block-image size-full"></figure>
<h4><strong>在 WordPress 中禁用目录浏览有什么作用？</strong></h4>
<p>每次有人访问您的网站时，您的网络服务器都会处理该请求。</p>
<p>通常，服务器会向访问者的浏览器传递一个索引文件，例如 index.html。但是，如果服务器找不到索引文件，则它可能会显示请求目录中的所有文件和文件夹。</p>
<p>这是目录浏览，通常默认启用。</p>
<p>如果您曾经访问过一个站点并看到文件和文件夹列表而不是网页，那么您已经看到了目录浏览的实际效果。</p>
<figure class="wp-block-image size-full"></figure>
<p>问题是黑客可以使用目录浏览来查看构成您网站的文件，包括您正在使用的所有主题和插件。</p>
<p>如果这些主题或插件中的任何一个存在已知漏洞，那么黑客可以利用这些知识来控制您的<a title="如何创建 WordPress 博客 – 初学者指南（已更新）" href="https://www.wpbeginner.com/start-a-wordpress-blog/" rel="nofollow">WordPress 博客</a>或网站、窃取您的数据或执行其他操作。</p>
<p>攻击者还可能使用目录浏览来查看您的文件和文件夹中的机密信息。他们甚至可能会复制您网站的内容，包括您通常会收取费用的内容，例如<a title="如何在 WordPress 中添加电子书下载" href="https://www.wpbeginner.com/beginners-guide/how-to-add-ebook-downloads-in-wordpress/" rel="nofollow">电子书下载</a>或<a title="如何使用 WordPress 创建和销售在线课程（一步一步）" href="https://www.wpbeginner.com/wp-tutorials/how-to-create-online-course-in-wordpress/" rel="nofollow">在线课程</a>。</p>
<p>这就是为什么在 WordPress 中禁用目录浏览被认为是最佳实践的原因。</p>
<h4><strong>如何检查是否在 WordPress 中启用了目录浏览</strong></h4>
<p>检查您的<a title="如何制作 WordPress 网站（终极指南）" href="https://www.wpbeginner.com/guides/" rel="nofollow">WordPress 网站</a>当前是否启用目录浏览的最简单方法是访问 /wp-includes/ 文件夹链接，如下所示：https://example.com/wp-includes/。</p>
<p>您需要将 www.example.com 替换为您网站的 URL。</p>
<p>如果您收到 403 Forbidden 或类似消息，则您的 WordPress 网站上的目录浏览已被禁用。</p>
<figure class="wp-block-image size-full"></figure>
<p>如果您看到的是文件和文件夹列表，则这意味着您的网站已启用目录浏览。</p>
<figure class="wp-block-image size-full"></figure>
<p>由于这会使您的网站更容易受到攻击，因此您通常希望在 WordPress 中阻止目录浏览。</p>
<h4><strong>如何在 WordPress 中禁用目录浏览</strong></h4>
<p>要禁用目录列表，您需要在站点的 .htaccess 文件中添加一些代码。</p>
<p>要访问该文件，您需要一个<a title="适用于 Mac 和 Windows WordPress 用户的最佳 FTP 客户端" href="https://www.wpbeginner.com/showcase/6-best-ftp-clients-for-wordpress-users/" rel="nofollow">FTP 客户端</a>，或者您可以使用<a title="如何选择最好的 WordPress 主机（比较）" href="https://www.wpbeginner.com/wordpress-hosting/" rel="nofollow">WordPress 主机</a>控制面板中的文件管理器应用程序。</p>
<p>如果这是您第一次使用 FTP，那么您可以查看我们关于<a href="https://www.wpbeginner.com/glossary/ftp/" rel="nofollow">如何使用 FTP 连接到您的站点</a>的完整指南。</p>
<p>连接到您的网站后，只需打开您网站的“公共”文件夹并<a title="为什么在 WordPress 网站上找不到 .htaccess 文件" href="https://www.wpbeginner.com/beginners-guide/why-you-cant-find-htaccess-file-on-your-wordpress-site/" rel="nofollow">找到 .htaccess 文件</a>。您可以编辑 .htaccess 文件，方法是将其下载到桌面，然后在记事本等文本编辑器中打开它。</p>
<p>在文件的最底部，只需添加以下代码：</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gutter">1</td>
<td class="code"><code class="plain plain">Options -Indexes</code></td>
</tr>
</tbody>
</table>
<p>它看起来像这样：</p>
<figure class="wp-block-image size-full"></figure>
<p>完成后，保存您的 .htaccess 文件并使用 FTP 客户端将其上传回您的服务器。</p>
<p>而已。现在，如果您访问相同的 http://example.com/wp-includes/ URL，您将收到 403 Forbidden 或类似消息。</p>
<figure class="wp-block-image size-full"></figure>
<p>我们希望本文能帮助您了解如何在 WordPress 中禁用目录浏览。您可能还想查看我们的<a title="终极 WordPress 安全指南 - 一步一步" href="https://www.wpbeginner.com/wordpress-security/" rel="nofollow">终极 WordPress 安全指南</a>，或查看我们专家挑选的<a title="5 个最佳 WordPress 会员插件（比较）– 2022" href="https://www.wpbeginner.com/plugins/5-best-wordpress-membership-plugins-compared/" rel="nofollow">最佳 WordPress 会员插件</a>来保护您的文件。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>如何在WordPress中添加分类图像(类别图标)</title>
		<link>https://shop.mac163.com/18385/</link>
		
		<dc:creator><![CDATA[wordpress主题]]></dc:creator>
		<pubDate>Thu, 14 Jul 2022 07:17:26 +0000</pubDate>
				<category><![CDATA[wordpress动态]]></category>
		<category><![CDATA[wordpress主题教程]]></category>
		<category><![CDATA[wordpress外贸主题教程]]></category>
		<category><![CDATA[Wordpress建站]]></category>
		<guid isPermaLink="false">https://shop.mac163.com/?p=18385</guid>

					<description><![CDATA[您想在 WordPress 中显示分类图像或类别图标吗？ 默认情况下，WordPress 不提供上传分类图像或&#8230;]]></description>
										<content:encoded><![CDATA[<p>您想在 WordPress 中显示分类图像或类别图标吗？</p>
<p>默认情况下，WordPress 不提供上传分类图像或类别图标的选项。它只是在存档页面上显示一个类别或分类名称。</p>
<p>在本文中，我们将向您展示如何在 WordPress 中轻松添加分类图像或类别图标。我们还将向您展示如何在存档页面上显示分类图像。</p>
<figure id="attachment_18386" aria-describedby="caption-attachment-18386" style="width: 680px" class="wp-caption aligncenter"><a href="https://shop.mac163.com/wp-content/uploads/2022/07/9017b58.png"><img loading="lazy" decoding="async" class="size-full wp-image-18386" src="https://shop.mac163.com/wp-content/uploads/2022/07/9017b58.png" alt="如何在wordpress中添加分类图像" width="680" height="385" srcset="https://shop.mac163.com/wp-content/uploads/2022/07/9017b58.png 680w, https://shop.mac163.com/wp-content/uploads/2022/07/9017b58-300x169.png 300w, https://shop.mac163.com/wp-content/uploads/2022/07/9017b58-590x334.png 590w" sizes="auto, (max-width: 680px) 100vw, 680px" /></a><figcaption id="caption-attachment-18386" class="wp-caption-text">如何在wordpress中添加分类图像</figcaption></figure>
<figure class="wp-block-image size-full"></figure>
<h4>为什么要在 WordPress 中添加分类图像？</h4>
<p>默认情况下，您的<a title="终极指南：如何在 2022 年建立网站 - 分步指南（免费）" href="https://www.wpbeginner.com/guides/" rel="nofollow">WordPress 网站</a>没有为您的分类法（如<a title="类别与标签 - 对内容进行排序的 SEO 最佳实践" href="https://www.wpbeginner.com/beginners-guide/categories-vs-tags-seo-best-practices-which-one-is-better/" rel="nofollow">类别和标签</a>（或任何其他自定义分类法））添加图像的选项。</p>
<p>它只是在任何地方使用分类名称，包括类别档案或分类档案页面。</p>
<figure class="wp-block-image size-full"></figure>
<p>这看起来有点简单和无聊。</p>
<p>如果您的分类页面获得大量搜索流量，那么您可能希望让它们看起来更具吸引力。</p>
<p>使页面更有趣的最简单方法是添加图像。您可以添加分类图像或类别图标，以使这些页面更加用户友好和吸引人。</p>
<p>一个很好的例子是像 NerdWallet 这样的网站，它在标题中使用类别图标：</p>
<figure class="wp-block-image size-full"></figure>
<p>您还可以使用它在您的主页上创建漂亮的导航部分，例如 Bankrate：</p>
<figure class="wp-block-image size-full"></figure>
<p>话虽如此，让我们看看如何在 WordPress 中轻松添加分类图像。</p>
<h4>在 WordPress 中轻松添加分类图像</h4>
<p>您需要做的第一件事是安装并激活<a title="分类 图片" href="https://wordpress.org/plugins/categories-images/" target="_blank" rel="noreferrer noopener nofollow">类别图像</a>插件。<a href="http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" rel="nofollow">有关更多详细信息，请参阅我们关于如何安装 WordPress 插件</a>的分步指南。</p>
<p>激活后，您只需转到<strong>帖子»类别</strong>页面。您会注意到该插件将显示您现有类别的占位符图像。</p>
<figure class="wp-block-image size-full"></figure>
<p>要选择您自己的类别图标，您需要单击类别下方的编辑链接。</p>
<p>在编辑类别页面上，向下滚动到底部，您会找到一个表单来上传您自己的分类图像。</p>
<figure class="wp-block-image size-full"></figure>
<p>只需单击“上传/添加新图像”按钮即可上传您要用于该特定类别的图像。</p>
<p>不要忘记单击“添加类别”或“更新”按钮来保存您的更改。</p>
<p>接下来，您可以重复该过程以上传其他类别图像的图像。您还可以为您的标签和任何其他分类法上传图像。</p>
<figure class="wp-block-image size-full"></figure>
<p>现在的问题是，添加图像后，如果您访问类别页面，那么您将看不到您的类别图像。</p>
<p>要显示它，您需要编辑您的 WordPress 主题或 <a href="https://www.wpbeginner.com/wp-themes/how-to-create-a-wordpress-child-theme-video/" rel="nofollow">子主题</a>。如果这是您第一次编辑 WordPress 文件，那么您可能希望查看我们的指南， <a href="https://www.wpbeginner.com/beginners-guide/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress/" rel="nofollow">了解如何在 WordPress 中复制和粘贴代码</a>。</p>
<p>首先，您需要使用 FTP 客户端或<a title="如何选择 2022 年最佳 WordPress 主机（比较）" href="https://www.wpbeginner.com/wordpress-hosting/" rel="nofollow">WordPress 托管</a>文件管理器连接到您的 WordPress 站点。</p>
<p>连接后，您将需要找到负责显示分类档案的模板。这可能是archives.php、category.php、tag.php 或taxonomy.php 文件。</p>
<p>有关更多详细信息，请参阅我们的指南，了解如何<a title="如何在 WordPress 主题中查找要编辑的文件" href="https://www.wpbeginner.com/plugins/how-to-find-which-files-to-edit-in-wordpress-theme/" rel="nofollow">在 WordPress 主题中查找要编辑的文件</a>。</p>
<p>找到文件后，您需要将其下载到计算机并在  记事本或 TextEdit 等<a href="https://www.wpbeginner.com/showcase/12-best-code-editors-for-mac-and-windows-for-editing-wordpress-files/" rel="nofollow">文本编辑器中打开。</a></p>
<p>现在将以下代码粘贴到您要显示分类图像的位置。通常，您希望在分类标题或 <code>the_archive_title()</code> 标签之前添加它。</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gutter"></td>
<td class="code"><code class="php plain">&lt;?php </code><code class="php keyword">if</code><code class="php plain">( is_category() ) { ?&gt; </code><code class="php plain">&lt;div </code><code class="php keyword">class</code><code class="php plain">=</code><code class="php string">"taxonomy-image"</code><code class="php plain">&gt;</code><code class="php plain">&lt;img </code><code class="php keyword">class</code><code class="php plain">=</code><code class="php string">"taxonomy-img"</code> <code class="php plain">src=</code><code class="php string">"&lt;?php if (function_exists('z_taxonomy_image_url')) echo z_taxonomy_image_url(); ?&gt;"</code>  <code class="php plain">alt=</code><code class="php string">""</code> <code class="php plain">/ &gt;</code><code class="php plain">&lt;/div&gt;</code><code class="php plain">&lt;?php </code><code class="php plain">} </code><code class="php keyword">else</code> <code class="php plain">{  </code><code class="php comments">//do nothing</code><code class="php plain">} </code><code class="php plain">?&gt;</code></td>
</tr>
</tbody>
</table>
<p>添加代码后，您需要保存此文件并使用 FTP 将其上传回您的网站。</p>
<p>您现在可以访问分类存档页面以查看它显示您的分类图像。这是它在我们的演示存档页面上的外观。</p>
<figure class="wp-block-image size-full"></figure>
<p>现在，它可能看起来仍然有点尴尬，但不要担心。您可以使用一些<a title="如何轻松地将自定义 CSS 添加到您的 WordPress 网站" href="https://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-site/" rel="nofollow">自定义 CSS</a>来设置样式。</p>
<p>这是我们用于分类图像的自定义 CSS。</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gutter"></td>
<td class="code"><code class="css plain">img.taxonomy-img {</code><code class="css spaces">    </code><code class="css keyword">float</code><code class="css plain">: </code><code class="css value">left</code><code class="css plain">;</code><code class="css spaces">    </code><code class="css keyword">max-height</code><code class="css plain">: </code><code class="css value">100px</code><code class="css plain">;</code><code class="css spaces">    </code><code class="css keyword">max-width</code><code class="css plain">: </code><code class="css value">100px</code><code class="css plain">;</code><code class="css spaces">    </code><code class="css keyword">display</code><code class="css plain">: </code><code class="css value">inline-block</code><code class="css plain">;</code><code class="css plain">}</code></td>
</tr>
</tbody>
</table>
<p>根据您的主题，您可能还需要设置分类标题和描述等周围元素的样式。</p>
<p>我们简单地将分类归档标题和描述包装在一个<code>&lt;div&gt;</code>元素中，并添加了一个自定义 CSS 类。然后我们使用下面的 CSS 代码来调整标题和描述。</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gutter"></td>
<td class="code"><code class="css plain">.taxonomy-title-description {</code><code class="css spaces">    </code><code class="css keyword">display</code><code class="css plain">: </code><code class="css value">inline-block</code><code class="css plain">;</code><code class="css spaces">    </code><code class="css keyword">padding</code><code class="css plain">: </code><code class="css value">18px</code><code class="css plain">;</code><code class="css plain">}</code></td>
</tr>
</tbody>
</table>
<p>这是它在我们的测试网站上的样子。</p>
<figure class="wp-block-image size-full"></figure>
<h4>从显示分类图像中排除分类</h4>
<p>现在，一些用户可能只想将分类图像用于特定分类。</p>
<p>例如，如果您使用 WooCommerce 经营<a title="如何在 2022 年开设在线商店（逐步）" href="https://www.wpbeginner.com/wp-tutorials/how-to-start-an-online-store/" rel="nofollow">在线商店</a>，那么您可能希望排除产品类别。</p>
<p>只需返回 WordPress 管理区域中的类别图像页面并检查您要排除的分类。</p>
<figure class="wp-block-image size-full"></figure>
<p>不要忘记单击“保存更改”按钮来存储您的设置。</p>
<p>我们希望本文能帮助您了解如何在 WordPress 中轻松添加分类图像。您可能还想查看这些有用<a title="10 个最受欢迎的 WordPress 类别黑客和插件" href="https://www.wpbeginner.com/wp-tutorials/10-most-wanted-category-hacks-and-plugins-for-wordpress/" rel="nofollow">的 WordPress 类别黑客和插件，</a>或者查看我们关于从搜索引擎<a title="如何增加您的博客流量——简单的方法（27 ​​个经过验证的提示）" href="https://www.wpbeginner.com/beginners-guide/how-to-increase-your-blog-traffic/" rel="nofollow">获得更多流量的提示。</a></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
