<?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>WordPress 归档 - 外贸网站建设-Mac163</title>
	<atom:link href="https://mac163.com/category/blog/feed/" rel="self" type="application/rss+xml" />
	<link>https://mac163.com/category/blog/</link>
	<description></description>
	<lastBuildDate>Tue, 03 Feb 2026 12:03:52 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://mac163.com/wp-content/uploads/2020/08/Mac163.png</url>
	<title>WordPress 归档 - 外贸网站建设-Mac163</title>
	<link>https://mac163.com/category/blog/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>WP Fastest Cache在Nginx中手动添加静态规则</title>
		<link>https://mac163.com/5393/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Tue, 03 Feb 2026 12:03:52 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[建站知识]]></category>
		<category><![CDATA[外贸网站建设]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5393</guid>

					<description><![CDATA[安装了WP Fastest Cache缓存插件，如果配置不当，可能插件就失效，而在Nginx安装WP Fast&#8230;]]></description>
										<content:encoded><![CDATA[<p>安装了WP Fastest Cache缓存插件，如果配置不当，可能插件就失效，而在Nginx安装WP Fastest Cache缓存插件后，你还需要这样在conf配置文件里添加几条静态规则，否则，插件无效。</p>
<p>如何添加？</p>
<p>首先打开Nginx配置文件（可以下载文件到本地编辑，也可以直接在linux里用vi或vim编辑器编辑），位置在Nginx安装目录里如：/usr/local/nginx/conf/nginx.conf。</p>
<p>然后把下面这段代码添加到Server{}里面：</p>
<pre># WP Fastest Cache缓存在Nginx静态规则 begin
location / {
if (-f $request_filename) {
break;
}
set $caches 1;
set $request_file $document_uri;
set $cache_file ''; 
if ($request_method = POST) {
set $caches 0;
}
if ($query_string) {
set $caches 0;
}
if ($caches = 0) {
set $request_file '';
}
if ($request_file ~ ^(.+)$) {
set $cache_file /wp-content/cache/all/$1/index.html;
}
if (-f $document_root$cache_file) {
rewrite ^ $cache_file last;
}
if (!-e $request_filename) {
rewrite . /index.php last;
}
} 
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
# WP Fastest Cache缓存在Nginx静态规则 end</pre>
<p>提示信息</p>
<p>添加后重启Nginx。</p>
<p>上面代码中：</p>
<pre>set $cache_file /wp-content/cache/all/$1/index.html;</pre>
<p>是设置缓存路径，我们可以更改这个路径。同样，我们可以进入这个目录看看WP Fastest Cache生成的缓存页。</p>
<p>这样设置后，我们在访问网页时就是访问缓存的页面了。</p>
<p>需要注意的是，WP Fastest Cache缓存页面并非在启动时就立即把所有页面都生成缓存页，可能需要过几分钟才生成。我们可以这样来验证访问的网页是否WP Fastest Cache缓存页：</p>
<p>右键点击打开的网页，再点“查看网页源代码”，滚动条拉到最下面，如果看到下面的语句，则表明访问的是缓存页了：</p>
<pre>&lt;!-- WP Fastest Cache file was created in xxxxx seconds, on 日期 时间 --&gt;</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>WordPress如何删除所有用户(只保留管理员)以及清空评论</title>
		<link>https://mac163.com/5379/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Wed, 12 Mar 2025 13:04:46 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[建站知识]]></category>
		<category><![CDATA[WP主题教程]]></category>
		<category><![CDATA[外贸网站建设]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5379</guid>

					<description><![CDATA[一、wordpress如何删除所有用户，只保留管理员 据说可以用插件。但我还是感觉sql命令更直接。 提醒：数&#8230;]]></description>
										<content:encoded><![CDATA[<h2>一、wordpress如何删除所有用户，只保留管理员</h2>
<p>据说可以用插件。但我还是感觉sql命令更直接。</p>
<p>提醒：数据库任何操作之前，都要确保好已经做了备份！</p>
<p>1：删除没有文章的用户</p>
<pre>DELETE FROM wp_users WHERE ID NOT IN (SELECT post_author FROM wp_posts);</pre>
<p>2：删除不存在用户的元数据</p>
<pre>DELETE FROM wp_usermeta WHERE user_id NOT IN (SELECT ID FROM wp_users);</pre>
<h3>二、wordpress如何清空评论：</h3>
<p>sql命令如下：</p>
<pre>delete from wp_comments where comment_approved = '参数'</pre>
<p>wp_comments是WP默认的评论表，请根据自己的实际，修改前面的 wp_ 为你的数据库表前缀。<br />
“参数”有3个选项：</p>
<p>spam: 垃圾评论<br />
0: 未审核评论<br />
1: 已审核评论</p>
<p>如果要删除待审核评论，参数那里就修改为 0 即可。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>如何在WordPress中禁用Google字体第二篇</title>
		<link>https://mac163.com/5359/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Sat, 16 Nov 2024 17:25:04 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<category><![CDATA[WP主题教程]]></category>
		<category><![CDATA[外贸网站建设]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5359</guid>

					<description><![CDATA[在本教程中，我们将概述如何在 WordPress 模板中禁用 Google 字体。 Google Fonts是&#8230;]]></description>
										<content:encoded><![CDATA[<p>在本教程中，我们将概述如何在 WordPress 模板中禁用 Google 字体。</p>
<p><a href="https://fonts.google.com/" target="_blank" rel="noopener nofollow"><strong>Google Fonts</strong></a>是网络上领先的开源字体托管商，拥有数百种字体系列可供包含在网页中或下载。</p>
<h2>在 WordPress 中禁用 Google 字体：选项 1</h2>
<p>基于：<a title="WooStroid 测试" href="https://wp-tf.template-help.com/test/woo22/" target="_blank" rel="nofollow noopener sponsored">WooStroid 测试。</a></p>
<p>首先，我们需要找到可以从 Google 中提取的字体。如果我们不知道字体名称，那么我们就通过我们的网站寻找。</p>
<p>在 Chrome 中按热键<strong>F12</strong>，在打开的<strong>DevTools</strong>中，找到<strong>Network</strong>选项卡。在 filter 区域添加<strong>CSS</strong>并刷新页面。在<strong>Domain</strong>一栏中，我们可以看到来自 fonts.googleapis.com 的内容。</p>
<p>您还可以浏览页面以查看标题和文本。</p>
<figure id="attachment_5360" aria-describedby="caption-attachment-5360" style="width: 1024px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/933df5.png"><img fetchpriority="high" decoding="async" class="size-full wp-image-5360" src="https://mac163.com/wp-content/uploads/2024/11/933df5.png" alt="如何在wordpress中禁用google字体第二篇" width="1024" height="548" srcset="https://mac163.com/wp-content/uploads/2024/11/933df5.png 1024w, https://mac163.com/wp-content/uploads/2024/11/933df5-300x161.png 300w, https://mac163.com/wp-content/uploads/2024/11/933df5-768x411.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-5360" class="wp-caption-text">如何在wordpress中禁用google字体第二篇</figcaption></figure>
<p>我们看到<strong>Roboto Condensed、Bebas Neue</strong>和<strong>Questrial</strong>被使用。</p>
<p>1. 前往<a href="https://fonts.google.com/" target="_blank" rel="noopener nofollow">https://fonts.google.com/</a>并搜索<strong>Roboto Condensed</strong>（对所有其他字体也执行相同操作）。下载。</p>
<figure id="attachment_5361" aria-describedby="caption-attachment-5361" style="width: 1024px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/933df58.png"><img decoding="async" class="size-full wp-image-5361" src="https://mac163.com/wp-content/uploads/2024/11/933df58.png" alt="如何在wordpress中禁用google字体第二篇" width="1024" height="82" srcset="https://mac163.com/wp-content/uploads/2024/11/933df58.png 1024w, https://mac163.com/wp-content/uploads/2024/11/933df58-300x24.png 300w, https://mac163.com/wp-content/uploads/2024/11/933df58-768x62.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-5361" class="wp-caption-text">如何在wordpress中禁用google字体第二篇</figcaption></figure>
<p>2.然后需要将下载的字体转换为<strong>WOFF</strong>格式<a href="https://cloudconvert.com/ttf-to-woff" target="_blank" rel="nofollow noopener sponsored">https://cloudconvert.com/ttf-to-woff</a>。</p>
<p>3. 在安装的根目录中创建一个<strong>字体文件</strong>夹。</p>
<figure id="attachment_5362" aria-describedby="caption-attachment-5362" style="width: 1024px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/933df48.png"><img decoding="async" class="size-full wp-image-5362" src="https://mac163.com/wp-content/uploads/2024/11/933df48.png" alt="如何在wordpress中禁用google字体第二篇" width="1024" height="520" srcset="https://mac163.com/wp-content/uploads/2024/11/933df48.png 1024w, https://mac163.com/wp-content/uploads/2024/11/933df48-300x152.png 300w, https://mac163.com/wp-content/uploads/2024/11/933df48-768x390.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-5362" class="wp-caption-text">如何在wordpress中禁用google字体第二篇</figcaption></figure>
<p>4. 将包含我们（转换后的）字体的文件夹添加到其中。例如<strong>Roboto_Condensed。</strong></p>
<figure id="attachment_5363" aria-describedby="caption-attachment-5363" style="width: 1024px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/e6c2849.png"><img loading="lazy" decoding="async" class="size-full wp-image-5363" src="https://mac163.com/wp-content/uploads/2024/11/e6c2849.png" alt="如何在wordpress中禁用google字体" width="1024" height="305" srcset="https://mac163.com/wp-content/uploads/2024/11/e6c2849.png 1024w, https://mac163.com/wp-content/uploads/2024/11/e6c2849-300x89.png 300w, https://mac163.com/wp-content/uploads/2024/11/e6c2849-768x229.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-5363" class="wp-caption-text">如何在wordpress中禁用google字体</figcaption></figure>
<p>5. 接下来，我们创建字体的 CSS。</p>
<p>您需要小心并为所有字体选项设置正确的路径。Google 上的字体页面会为您提供帮助。</p>
<figure id="attachment_5364" aria-describedby="caption-attachment-5364" style="width: 891px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/e6c2849-1.png"><img loading="lazy" decoding="async" class="size-full wp-image-5364" src="https://mac163.com/wp-content/uploads/2024/11/e6c2849-1.png" alt="如何在wordpress中禁用google字体" width="891" height="602" srcset="https://mac163.com/wp-content/uploads/2024/11/e6c2849-1.png 891w, https://mac163.com/wp-content/uploads/2024/11/e6c2849-1-300x203.png 300w, https://mac163.com/wp-content/uploads/2024/11/e6c2849-1-768x519.png 768w" sizes="auto, (max-width: 891px) 100vw, 891px" /></a><figcaption id="caption-attachment-5364" class="wp-caption-text">如何在wordpress中禁用google字体</figcaption></figure>
<figure id="attachment_5365" aria-describedby="caption-attachment-5365" style="width: 1024px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/e6c2831.png"><img loading="lazy" decoding="async" class="size-full wp-image-5365" src="https://mac163.com/wp-content/uploads/2024/11/e6c2831.png" alt="如何在wordpress中禁用google字体" width="1024" height="673" srcset="https://mac163.com/wp-content/uploads/2024/11/e6c2831.png 1024w, https://mac163.com/wp-content/uploads/2024/11/e6c2831-300x197.png 300w, https://mac163.com/wp-content/uploads/2024/11/e6c2831-768x505.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-5365" class="wp-caption-text">如何在wordpress中禁用google字体</figcaption></figure>
<p>6. 将准备好的<strong>CSS</strong>放入<strong>自定义 -&gt; 附加 CSS</strong>。</p>
<figure id="attachment_5367" aria-describedby="caption-attachment-5367" style="width: 196px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/cbc4195.png"><img loading="lazy" decoding="async" class="size-full wp-image-5367" src="https://mac163.com/wp-content/uploads/2024/11/cbc4195.png" alt="在wordpress中禁用google字体" width="196" height="831" srcset="https://mac163.com/wp-content/uploads/2024/11/cbc4195.png 196w, https://mac163.com/wp-content/uploads/2024/11/cbc4195-71x300.png 71w" sizes="auto, (max-width: 196px) 100vw, 196px" /></a><figcaption id="caption-attachment-5367" class="wp-caption-text">在wordpress中禁用google字体</figcaption></figure>
<p>7.并将此代码添加到<strong>functions.php</strong>文件中。</p>
<pre><code>/**
* Remove loading gfonts
*/
add_filter( 'style_loader_src', function( $href ) {
if( strpos( $href , "//fonts.googleapis.com/" ) === false ) {
return $href;
}
return false;
});
// Remove dns-prefetch for fonts.googleapis
add_filter( 'wp_resource_hints', function( $urls ) {
foreach ($urls as $key =&gt; $url) {
if ( 'fonts.googleapis.com' === $url ) {
unset( $urls[ $key ] );
}
}
return $urls;
} );
</code></pre>
<h2>如何在WordPress选项生成器中禁用Google字体</h2>
<p>同样，我们寻找需要本地化的字体，然后转到<a href="https://google-webfonts-helper.herokuapp.com/fonts" target="_blank" rel="noopener nofollow">google-webfonts-helper</a>。</p>
<p><a href="https://google-webfonts-helper.herokuapp.com/fonts/roboto-condensed?subsets=latin" target="_blank" rel="noopener nofollow">正在寻找Roboto Condensed</a>字体。</p>
<figure id="attachment_5368" aria-describedby="caption-attachment-5368" style="width: 925px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/b747790.png"><img loading="lazy" decoding="async" class="size-full wp-image-5368" src="https://mac163.com/wp-content/uploads/2024/11/b747790.png" alt="如何在wordpress选项生成器中禁用google字体" width="925" height="771" srcset="https://mac163.com/wp-content/uploads/2024/11/b747790.png 925w, https://mac163.com/wp-content/uploads/2024/11/b747790-300x250.png 300w, https://mac163.com/wp-content/uploads/2024/11/b747790-768x640.png 768w" sizes="auto, (max-width: 925px) 100vw, 925px" /></a><figcaption id="caption-attachment-5368" class="wp-caption-text">如何在wordpress选项生成器中禁用google字体</figcaption></figure>
<p>1. 选择所需的字体选项。</p>
<p>2.写入需要的路径。</p>
<p>3. 在<strong>自定义 -&gt; 附加 CSS</strong>部分添加生成的 CSS。</p>
<p>4. 下载档案并将字体解压到适当的文件夹中。</p>
<p>5.将代码添加到<strong>functions.php</strong>文件中。</p>
<pre><code>/**
* Remove loading gfonts
*/
add_filter( 'style_loader_src', function( $href ) {
if( strpos( $href , "//fonts.googleapis.com/" ) === false ) {
return $href;
}
return false;
});
// Remove dns-prefetch for fonts.googleapis
add_filter( 'wp_resource_hints', function( $urls ) {
foreach ($urls as $key =&gt; $url) {
if ( 'fonts.googleapis.com' === $url ) {
unset( $urls[ $key ] );
}
}
return $urls;
} );
</code></pre>
<p><strong>在DevTools</strong><strong>中</strong>完成所有操作后，域中应该不再有<strong>fonts.googleapis.com</strong>，并且网站本身也不应该有折叠字体。</p>
<figure id="attachment_5369" aria-describedby="caption-attachment-5369" style="width: 888px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/b74772.png"><img loading="lazy" decoding="async" class="size-full wp-image-5369" src="https://mac163.com/wp-content/uploads/2024/11/b74772.png" alt="如何在wordpress选项生成器中禁用google字体" width="888" height="693" srcset="https://mac163.com/wp-content/uploads/2024/11/b74772.png 888w, https://mac163.com/wp-content/uploads/2024/11/b74772-300x234.png 300w, https://mac163.com/wp-content/uploads/2024/11/b74772-768x599.png 768w" sizes="auto, (max-width: 888px) 100vw, 888px" /></a><figcaption id="caption-attachment-5369" class="wp-caption-text">如何在wordpress选项生成器中禁用google字体</figcaption></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>如何从WordPress中删除Google字体针对(GDPR/DSGVO)</title>
		<link>https://mac163.com/5346/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Sat, 16 Nov 2024 16:56:16 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<category><![CDATA[WP主题教程]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5346</guid>

					<description><![CDATA[Google 字体可以成为您网站的绝佳补充，显著改善您的排版。但是，它们确实为您的网站增加了外部依赖性，并会增&#8230;]]></description>
										<content:encoded><![CDATA[<p>Google 字体可以成为您网站的绝佳补充，显著改善您的排版。但是，它们确实为您的网站增加了外部依赖性，并会增加页面加载时间。</p>
<p>在许多情况下，WordPress 主题和插件可能具有内置代码，可以自动加载 Google 字体，即使您不想要或不需要它们。</p>
<p>在本文中，我们将研究如何从您的网站中彻底删除 Google 字体。</p>
<h3>检查您的网站</h3>
<p>首先，您需要确认您的网站正在从 Google 加载字体，您可以通过将您的网站输入<a title="Google 字体检查器" href="https://fontsplugin.com/google-fonts-checker/" target="_blank" rel="nofollow noopener sponsored">Google 字体检查器</a>来完成此操作：</p>
<figure id="attachment_5350" aria-describedby="caption-attachment-5350" style="width: 1928px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/4816635.png"><img loading="lazy" decoding="async" class="size-full wp-image-5350" src="https://mac163.com/wp-content/uploads/2024/11/4816635.png" alt="如何从wordpress中删除google字体" width="1928" height="1402" srcset="https://mac163.com/wp-content/uploads/2024/11/4816635.png 1928w, https://mac163.com/wp-content/uploads/2024/11/4816635-300x218.png 300w, https://mac163.com/wp-content/uploads/2024/11/4816635-1024x745.png 1024w, https://mac163.com/wp-content/uploads/2024/11/4816635-768x558.png 768w, https://mac163.com/wp-content/uploads/2024/11/4816635-1536x1117.png 1536w" sizes="auto, (max-width: 1928px) 100vw, 1928px" /></a><figcaption id="caption-attachment-5350" class="wp-caption-text">如何从wordpress中删除google字体</figcaption></figure>
<p>如您所见，对 Google 拥有的域名有多个请求。</p>
<p><code>fonts.googleapis.com</code>指的是 CSS 样式表。<br />
<code>fonts.gstatic.com</code>指的是字体文件。</p>
<p>一旦您实施了本文中的步骤，您可以再次运行测试以检查没有请求。</p>
<h3>字体插件专业版</h3>
<p>我们的高级插件<a title="Fonts Plugin Pro" href="https://fontsplugin.com/" target="_blank" rel="nofollow noopener sponsored">Fonts Plugin Pro</a>允许您只需单击按钮即可删除所有 Google 字体引用。</p>
<figure id="attachment_5351" aria-describedby="caption-attachment-5351" style="width: 814px" class="wp-caption alignright"><a href="https://mac163.com/wp-content/uploads/2024/11/Fonts-Plugin-Pro.png"><img loading="lazy" decoding="async" class="size-full wp-image-5351" src="https://mac163.com/wp-content/uploads/2024/11/Fonts-Plugin-Pro.png" alt="Fonts Plugin Pro" width="814" height="1388" srcset="https://mac163.com/wp-content/uploads/2024/11/Fonts-Plugin-Pro.png 814w, https://mac163.com/wp-content/uploads/2024/11/Fonts-Plugin-Pro-176x300.png 176w, https://mac163.com/wp-content/uploads/2024/11/Fonts-Plugin-Pro-601x1024.png 601w, https://mac163.com/wp-content/uploads/2024/11/Fonts-Plugin-Pro-768x1310.png 768w" sizes="auto, (max-width: 814px) 100vw, 814px" /></a><figcaption id="caption-attachment-5351" class="wp-caption-text">Fonts Plugin Pro</figcaption></figure>
<p>要使用 Fonts Plugin Pro 删除 Google 字体，请导航至<em>wp-admin → 自定义 → 字体插件 → 优化</em>。</p>
<p>启用“删除外部字体”复选框并按“发布”以保存您的更改。</p>
<p><strong>本地托管 Google 字体</strong></p>
<p>在许多情况下，字体是您网站设计不可或缺的一部分，您不会想完全删除它们。Fonts Plugin Pro 允许您保留字体，但删除对 Google API 的引用。</p>
<p><a title="这是通过在您自己的服务器上托管字体文件来实现的，并且只需使用Fonts Plugin Pro" href="https://fontsplugin.com/" target="_blank" rel="nofollow noopener sponsored">这是通过在您自己的服务器上托管字体文件来实现的，并且只需使用Fonts Plugin Pro</a>只需单击几下即可实现。</p>
<p>首先，启用“本地托管 Google 字体”和“删除外部字体”设置。</p>
<p>接下来，导航到<em>wp-admin → 自定义 → 字体插件 → 高级设置 → 仅加载字体</em>并添加您想要在本地托管的字体。</p>
<figure id="attachment_5352" aria-describedby="caption-attachment-5352" style="width: 1204px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/1f5c171.png"><img loading="lazy" decoding="async" class="size-full wp-image-5352" src="https://mac163.com/wp-content/uploads/2024/11/1f5c171.png" alt="删除外部字体" width="1204" height="1204" srcset="https://mac163.com/wp-content/uploads/2024/11/1f5c171.png 1204w, https://mac163.com/wp-content/uploads/2024/11/1f5c171-300x300.png 300w, https://mac163.com/wp-content/uploads/2024/11/1f5c171-1024x1024.png 1024w, https://mac163.com/wp-content/uploads/2024/11/1f5c171-150x150.png 150w, https://mac163.com/wp-content/uploads/2024/11/1f5c171-768x768.png 768w, https://mac163.com/wp-content/uploads/2024/11/1f5c171-50x50.png 50w" sizes="auto, (max-width: 1204px) 100vw, 1204px" /></a><figcaption id="caption-attachment-5352" class="wp-caption-text">删除外部字体</figcaption></figure>
<p>按“发布”保存您的更改。</p>
<h3>⭐️ 使用免费插件</h3>
<p>如果您只是想从您的网站中删除所有 Google 字体的痕迹，那么有一个插件可以做到这一点：</p>
<p>只需激活插件，它就会删除对 Google 字体的<strong>所有</strong>请求。无需配置或设置页面。</p>
<p>即使没有 Google 字体，您网站上的文本仍会显示。浏览器非常智能，可以回退到<a title="系统字体" href="https://fontsplugin.com/web-safe-system-fonts/" target="_blank" rel="nofollow noopener sponsored">系统字体</a>。</p>
<h3>从 YouTube 视频嵌入中删除 Google 字体</h3>
<p>YouTube 视频是第三方资源，这意味着当它们被添加到您的网站时，无法控制它们生成的输出。YouTube 使用 Roboto 字体设计，因此您的网站会向 Google 字体 API (fonts.gstatic.com) 发出请求。</p>
<p>如果不删除 YouTube 视频，则无法删除字体请求。如果视频是您的网站不可或缺的一部分，并且您不想删除它，那么您可以考虑使用其他视频平台（例如<a title="Vimeo" href="https://vimeo.com/" target="_blank" rel="nofollow noopener sponsored">Vimeo）</a>甚至<a title="自行托管视频" href="https://themeisle.com/blog/wordpress-video-hosting/" target="_blank" rel="nofollow noopener sponsored">自行托管视频</a>。</p>
<p>另一个很棒的选择是<a title="WP YouTube Lyte" href="https://wordpress.org/plugins/wp-youtube-lyte/" target="_blank" rel="nofollow noopener sponsored">WP YouTube Lyte</a>插件。正确配置后，它会自动用托管在您域上的静态缩略图替换嵌入的 YouTube 视频。只有当用户点击视频播放后，才会初始化与 YouTube 的连接。</p>
<figure id="attachment_5353" aria-describedby="caption-attachment-5353" style="width: 2878px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/WP-YouTube-Lyte.png"><img loading="lazy" decoding="async" class="size-full wp-image-5353" src="https://mac163.com/wp-content/uploads/2024/11/WP-YouTube-Lyte.png" alt="Wp Youtube Lyte" width="2878" height="846" srcset="https://mac163.com/wp-content/uploads/2024/11/WP-YouTube-Lyte.png 2878w, https://mac163.com/wp-content/uploads/2024/11/WP-YouTube-Lyte-300x88.png 300w, https://mac163.com/wp-content/uploads/2024/11/WP-YouTube-Lyte-1024x301.png 1024w, https://mac163.com/wp-content/uploads/2024/11/WP-YouTube-Lyte-768x226.png 768w, https://mac163.com/wp-content/uploads/2024/11/WP-YouTube-Lyte-1536x452.png 1536w, https://mac163.com/wp-content/uploads/2024/11/WP-YouTube-Lyte-2048x602.png 2048w" sizes="auto, (max-width: 2878px) 100vw, 2878px" /></a><figcaption id="caption-attachment-5353" class="wp-caption-text">Wp Youtube Lyte</figcaption></figure>
<h3>从 Google 地图中删除 Google 字体</h3>
<p>Google 地图是第三方资源，这意味着当它们被添加到您的网站时，无法控制它们生成的输出。Google 地图使用 Roboto 字体设计，因此您的网站会向 Google 字体 API (fonts.gstatic.com) 发出请求。</p>
<p>如果不移除地图，则无法移除字体请求。如果地图是网站不可或缺的一部分，而您又不想移除它，那么您可以考虑用静态图像代替它。或者，您可以使用 Open Street Maps 等替代服务。</p>
<h3>从 ReCaptcha 中删除 Google 字体</h3>
<p>ReCaptcha 是一种反垃圾邮件技术，通常与 WordPress 联系表单插件结合使用。ReCaptcha 是一种第三方资源，这意味着当它添加到您的网站时，无法控制其输出。ReCaptcha 使用 Roboto 字体设计，因此您的网站会向 Google 字体 API (fonts.gstatic.com) 发出请求。</p>
<p>如果不删除 ReCaptcha 服务，则无法删除字体请求。但是，还有其他不需要连接到第三方的反垃圾邮件工具。例如，WP Armour：</p>
<h3>从 Elementor 中删除 Google 字体</h3>
<p>Elementor 没有内置控件来删除其加载的 Google 字体。但是，我们进行了测试，并可以确认<a title="“禁用和删除 Google 字体”" href="https://wordpress.org/plugins/disable-remove-google-fonts/" target="_blank" rel="nofollow noopener sponsored">“禁用和删除 Google 字体”</a>插件成功从 Elementor 和 Elementor Pro 插件中删除了所有字体引用。</p>
<h3>从 WPBakery (Visual Composer) 中删除 Google 字体</h3>
<p>WPBakery 没有内置控件来删除其加载的 Google 字体。但是，我们进行了测试，并可以确认<a title="“禁用和删除 Google 字体”" href="https://wordpress.org/plugins/disable-remove-google-fonts/" target="_blank" rel="nofollow noopener sponsored">“禁用和删除 Google 字体”</a>插件成功从 WPBakery 插件中删除了所有字体引用。</p>
<h3>从 Slider Revolution 中删除 Google 字体</h3>
<p>Slider Revolution 具有内置控件，可托管其在本地加载的字体，或将其完全删除。导航至<em>wp-admin → Revolution Slider → 概述</em>。</p>
<p>单击“全局”，然后在“字体”部分下，将“启用 Google 字体下载”设置更改为“本地缓存字体”或“禁用，自行加载”。</p>
<figure id="attachment_5354" aria-describedby="caption-attachment-5354" style="width: 2876px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/5f6fb98.png"><img loading="lazy" decoding="async" class="size-full wp-image-5354" src="https://mac163.com/wp-content/uploads/2024/11/5f6fb98.png" alt="从 Slider Revolution 中删除 Google 字体" width="2876" height="1002" srcset="https://mac163.com/wp-content/uploads/2024/11/5f6fb98.png 2876w, https://mac163.com/wp-content/uploads/2024/11/5f6fb98-300x105.png 300w, https://mac163.com/wp-content/uploads/2024/11/5f6fb98-1024x357.png 1024w, https://mac163.com/wp-content/uploads/2024/11/5f6fb98-768x268.png 768w, https://mac163.com/wp-content/uploads/2024/11/5f6fb98-1536x535.png 1536w, https://mac163.com/wp-content/uploads/2024/11/5f6fb98-2048x714.png 2048w" sizes="auto, (max-width: 2876px) 100vw, 2876px" /></a><figcaption id="caption-attachment-5354" class="wp-caption-text">从 Slider Revolution 中删除 Google 字体</figcaption></figure>
<h3>在 Avada 主题中禁用 Google 字体</h3>
<figure id="attachment_5355" aria-describedby="caption-attachment-5355" style="width: 2878px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/bf4b689.png"><img loading="lazy" decoding="async" class="size-full wp-image-5355" src="https://mac163.com/wp-content/uploads/2024/11/bf4b689.png" alt="在 Avada 主题中禁用 Google 字体" width="2878" height="1218" srcset="https://mac163.com/wp-content/uploads/2024/11/bf4b689.png 2878w, https://mac163.com/wp-content/uploads/2024/11/bf4b689-300x127.png 300w, https://mac163.com/wp-content/uploads/2024/11/bf4b689-1024x433.png 1024w, https://mac163.com/wp-content/uploads/2024/11/bf4b689-768x325.png 768w, https://mac163.com/wp-content/uploads/2024/11/bf4b689-1536x650.png 1536w, https://mac163.com/wp-content/uploads/2024/11/bf4b689-2048x867.png 2048w" sizes="auto, (max-width: 2878px) 100vw, 2878px" /></a><figcaption id="caption-attachment-5355" class="wp-caption-text">在 Avada 主题中禁用 Google 字体</figcaption></figure>
<p>Avada 隐私设置</p>
<p>Avada 内置了用于本地托管字体的控件，但没有用于完全删除 Google 字体的控件。不过，我们进行了测试，可以确认<a href="https://wordpress.org/plugins/disable-remove-google-fonts/" rel="nofollow">“禁用和删除 Google 字体”</a>插件成功从 Avada 中删除了所有字体引用。</p>
<p>注意：如果启用了“本地”设置，则禁用和删除 Google 字体插件将不会删除 Avada 中的字体。</p>
<h3>在 JupiterX 主题中禁用 Google 字体</h3>
<p><strong><a title="artbees 的 JupiterX 主题" href="https://themeforest.net/item/jupiter-multipurpose-responsive-theme/5177775" target="_blank" rel="nofollow noopener sponsored">artbees 的 JupiterX 主题</a></strong>使用独特的方法添加 Google 字体，因此上述方法无法禁用字体。您需要执行以下操作：</p>
<ul>
<li>导航到你的 wp-admin 区域</li>
<li>将鼠标悬停在“Jupiter X”标签上</li>
<li>点击“设置”链接</li>
<li>将“Google 和 Adob​​e 字体”下拉菜单更改为“禁用”</li>
<li>点击“保存设置”</li>
</ul>
<figure id="attachment_5356" aria-describedby="caption-attachment-5356" style="width: 1710px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/a111010.png"><img loading="lazy" decoding="async" class="size-full wp-image-5356" src="https://mac163.com/wp-content/uploads/2024/11/a111010.png" alt="在 Jupiterx 主题中禁用 Google 字体" width="1710" height="1384" srcset="https://mac163.com/wp-content/uploads/2024/11/a111010.png 1710w, https://mac163.com/wp-content/uploads/2024/11/a111010-300x243.png 300w, https://mac163.com/wp-content/uploads/2024/11/a111010-1024x829.png 1024w, https://mac163.com/wp-content/uploads/2024/11/a111010-768x622.png 768w, https://mac163.com/wp-content/uploads/2024/11/a111010-1536x1243.png 1536w" sizes="auto, (max-width: 1710px) 100vw, 1710px" /></a><figcaption id="caption-attachment-5356" class="wp-caption-text">在 Jupiterx 主题中禁用 Google 字体</figcaption></figure>
<h3>在 Divi 主题中禁用 Google 字体</h3>
<p>Divi 主题有几种不同的方式加载 Google 字体，但幸运的是，它们都可以轻松禁用。</p>
<ul>
<li>导航到你的 wp-admin 区域</li>
<li>将鼠标悬停在“Divi”标签上</li>
<li>点击“主题选项”链接</li>
<li>将“使用 Google 字体”开关更改为“关闭”</li>
<li>点击“保存设置”</li>
</ul>
<figure id="attachment_5357" aria-describedby="caption-attachment-5357" style="width: 1822px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2024/11/8c0ad41.png"><img loading="lazy" decoding="async" class="size-full wp-image-5357" src="https://mac163.com/wp-content/uploads/2024/11/8c0ad41.png" alt="在 Divi 主题中禁用 Google 字体" width="1822" height="1394" srcset="https://mac163.com/wp-content/uploads/2024/11/8c0ad41.png 1822w, https://mac163.com/wp-content/uploads/2024/11/8c0ad41-300x230.png 300w, https://mac163.com/wp-content/uploads/2024/11/8c0ad41-1024x783.png 1024w, https://mac163.com/wp-content/uploads/2024/11/8c0ad41-768x588.png 768w, https://mac163.com/wp-content/uploads/2024/11/8c0ad41-1536x1175.png 1536w" sizes="auto, (max-width: 1822px) 100vw, 1822px" /></a><figcaption id="caption-attachment-5357" class="wp-caption-text">在 Divi 主题中禁用 Google 字体</figcaption></figure>
<h3>手动禁用 Google 字体</h3>
<p>如果您愿意在您的网站中添加自定义代码，还有另一种方法可以禁用 Google 字体。</p>
<p>第二种方法的好处是，您可以单独禁用字体请求，而不是一次性禁用所有字体请求。如果您确实想保留某些字体，这种方法非常有用。</p>
<p>首先，查看你的网站源代码并搜索代码 ` <code>fonts.google.com</code>。你应该找到一行或多行类似这样的代码：</p>
<pre><code>&lt;link rel='stylesheet' id='google-fonts-roboto-css'  href='https://fonts.googleapis.com/css?family=Roboto' type='text/css' media='all' /&gt;</code></pre>
<p><code>google-fonts-roboto-css</code>在这种情况下，重要的部分是 ID 。</p>
<p>获得 ID 后，您可以将此代码添加到主题（或子主题）的 functions.php 文件中：</p>
<pre><code>function remove_google_fonts_stylesheet() {  
wp_dequeue_style( 'google-fonts-roboto' );
}
add_action( 'wp_enqueue_scripts', 'remove_google_fonts_stylesheet', 999 );</code></pre>
<p>请注意，您需要<code>-css</code>从 ID 中删除，否则这将不起作用。</p>
<h3>结论</h3>
<p>在本文中，我们研究了如何完全或单独禁用 Google 字体。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>如何续订您的支持许可证</title>
		<link>https://mac163.com/5324/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Fri, 21 Oct 2022 04:11:23 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[外贸网站建设]]></category>
		<category><![CDATA[高端网站建设]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5324</guid>

					<description><![CDATA[默认情况下，ThemeForest 产品包括 6 个月的免费支持。如果在这 6 个月内您购买了主题的任何其他许&#8230;]]></description>
										<content:encoded><![CDATA[<p>默认情况下，ThemeForest 产品包括 6 个月的免费支持。如果在这 6 个月内您购买了主题的任何其他许可证以在其他客户端站点上使用，您的支持许可证将自动免费续订。但是，如果您仅将主题用于单个网站，那么在 6 个月后（如果您没有将支持延长至 12 个月），您将需要更新您的支持许可证。</p>
<p>要更新您的支持许可证，只需访问<a href="https://themeforest.net/item/total-responsive-multipurpose-wordpress-theme/6339019?ref=WPExplorer" target="_blank" rel="noopener nofollow">此处的产品页面</a>。在屏幕右侧，您将看到一个大按钮，用于更新您的支持许可证，如下所示：</p>
<figure id="attachment_5325" aria-describedby="caption-attachment-5325" style="width: 1299px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/support-license.png"><img loading="lazy" decoding="async" class="size-full wp-image-5325" src="https://mac163.com/wp-content/uploads/2022/10/support-license.png" alt="Support License" width="1299" height="749" srcset="https://mac163.com/wp-content/uploads/2022/10/support-license.png 1299w, https://mac163.com/wp-content/uploads/2022/10/support-license-300x173.png 300w, https://mac163.com/wp-content/uploads/2022/10/support-license-1024x590.png 1024w, https://mac163.com/wp-content/uploads/2022/10/support-license-768x443.png 768w" sizes="auto, (max-width: 1299px) 100vw, 1299px" /></a><figcaption id="caption-attachment-5325" class="wp-caption-text">Support License</figcaption></figure>
<p>只需单击按钮并完成结帐流程即可续订您的支持许可证。如果您有任何问题，请通过项目评论部分告诉我们。</p>
<p><strong>重要（省钱）</strong>：如果您打算将主题用于另一个网站，最好购买主题的新许可证，因为您将免费获得支持，因为每次购买主题的新许可证时，您的支持都是自动续订 6 个月（无论您拥有多少主题许可证，您一次只需要 1 个有效的支持许可证，因此您可以购买 100 个 Total 许可证，只需拥有 1 个有效的支持许可证即可获得全部 100 个支持使用主题的网站）。此外，当您购买新许可证时，您还可以选择以较少的费用将支持延长至 12 个月，当然，这仅在您计划至少一年内不购买另一个许可证时才需要。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>从1.6.0之前的版本更新Total</title>
		<link>https://mac163.com/5322/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Fri, 21 Oct 2022 03:41:32 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<category><![CDATA[外贸网站建设]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5322</guid>

					<description><![CDATA[更新 WordPress：最重要的是确保 WordPress 是最新的 备份：首先备份您的网站。您应该始终对您&#8230;]]></description>
										<content:encoded><![CDATA[<ul>
<li><strong>更新 WordPress</strong>：最重要的是确保 WordPress 是最新的</li>
<li><strong>备份</strong>：首先备份您的网站。您应该始终对您的站点进行备份，但如果您没有保留备份，请务必立即进行备份。</li>
<li><strong>停用插件</strong>：接下来，在更新主题之前停用所有插件以防止任何冲突。</li>
<li><strong>更新主题</strong>：接下来，更新主题——http: <a href="http://wpexplorer-themes.com/total/docs/update-theme/" rel="nofollow">//wpexplorer-themes.com/total/docs-category/updates/</a></li>
<li>主题不再使用旧的主题面板方法，如果您希望迁移设置，则所有内容都已移至<a href="http://wpexplorer-themes.com/total/docs/customizing-theme-design/" rel="nofollow">定制</a>器，如果您更愿意进入并重新添加设置（有时更容易），则需要执行下一步然后跳过下一步。</li>
<li><strong>迁移您的选项：</strong>仅当您在主题面板中进行了大量调整或者您不想进入 WordPress 定制器以在迁移后重新设置站点时才推荐使用（尽管那将是最好的）。所以继续下载并激活 Total Redux-Customizer 迁移插件 &#8211; <a href="http://wpexplorer-themes.com/total/extensions/" rel="nofollow">http://wpexplorer-themes.com/total/extensions/</a>  &#8211; 然后刷新站点以确保迁移设置。如果第一次没有工作，请再次刷新（您必须登录刷新现场站点）。迁移后删除插件。<strong>重要提示</strong>：这只能导入一些选项，而不是全部。</li>
<li><strong>更新插件</strong>：现在转到外观 &gt; 安装插件并更新任何需要更新的插件 &#8211;  <a href="http://wpexplorer-themes.com/total/docs/update-plugins/" rel="nofollow">http://wpexplorer-themes.com/total/docs/update-plugins/</a></li>
<li><strong>激活插件</strong>：现在重新激活您的插件。</li>
<li><strong>完成</strong>：一切都应该更新和迁移。如果您有任何问题，请告诉我们！</li>
</ul>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>如何找到我当前的Total主题版本</title>
		<link>https://mac163.com/5317/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Fri, 21 Oct 2022 03:11:22 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<category><![CDATA[外贸网站建设]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5317</guid>

					<description><![CDATA[让您的主题保持最新的错误和安全修复以及接收新功能非常重要。您可以随时访问更新日志以查看可供购买/下载的最新版本&#8230;]]></description>
										<content:encoded><![CDATA[<p>让您的主题保持最新的错误和安全修复以及接收新功能非常重要。您可以随时访问<a href="http://wpexplorer-themes.com/total/changelog/" rel="nofollow">更新日志</a>以查看可供购买/下载的最新版本主题。但您也可以只设置<a href="http://wpexplorer-themes.com/total/docs/update-theme/" rel="nofollow">自动更新</a>，以便收到有关主题新版本的通知。</p>
<p>要了解您当前的版本是什么，您必须选择：</p>
<h3>选项 1：检查主题面板</h3>
<p>您可以在主主题面板中轻松查看您的主题版本。</p>
<figure id="attachment_5318" aria-describedby="caption-attachment-5318" style="width: 1265px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/total-theme-version.png"><img loading="lazy" decoding="async" class="size-full wp-image-5318" src="https://mac163.com/wp-content/uploads/2022/10/total-theme-version.png" alt="Total Theme Version" width="1265" height="1019" srcset="https://mac163.com/wp-content/uploads/2022/10/total-theme-version.png 1265w, https://mac163.com/wp-content/uploads/2022/10/total-theme-version-300x242.png 300w, https://mac163.com/wp-content/uploads/2022/10/total-theme-version-1024x825.png 1024w, https://mac163.com/wp-content/uploads/2022/10/total-theme-version-768x619.png 768w" sizes="auto, (max-width: 1265px) 100vw, 1265px" /></a><figcaption id="caption-attachment-5318" class="wp-caption-text">Total Theme Version</figcaption></figure>
<h3>选项 2：在外观 &gt; 主题下检查</h3>
<p>转到外观 &gt; 主题找到总主题，然后单击它以查看版本号。</p>
<figure id="attachment_5319" aria-describedby="caption-attachment-5319" style="width: 1066px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/themes.png"><img loading="lazy" decoding="async" class="size-full wp-image-5319" src="https://mac163.com/wp-content/uploads/2022/10/themes.png" alt="Themes" width="1066" height="800" srcset="https://mac163.com/wp-content/uploads/2022/10/themes.png 1066w, https://mac163.com/wp-content/uploads/2022/10/themes-300x225.png 300w, https://mac163.com/wp-content/uploads/2022/10/themes-1024x768.png 1024w, https://mac163.com/wp-content/uploads/2022/10/themes-768x576.png 768w" sizes="auto, (max-width: 1066px) 100vw, 1066px" /></a><figcaption id="caption-attachment-5319" class="wp-caption-text">Themes</figcaption></figure>
<figure id="attachment_5320" aria-describedby="caption-attachment-5320" style="width: 1353px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/current-version.png"><img loading="lazy" decoding="async" class="size-full wp-image-5320" src="https://mac163.com/wp-content/uploads/2022/10/current-version.png" alt="Current Version" width="1353" height="1245" srcset="https://mac163.com/wp-content/uploads/2022/10/current-version.png 1353w, https://mac163.com/wp-content/uploads/2022/10/current-version-300x276.png 300w, https://mac163.com/wp-content/uploads/2022/10/current-version-1024x942.png 1024w, https://mac163.com/wp-content/uploads/2022/10/current-version-768x707.png 768w" sizes="auto, (max-width: 1353px) 100vw, 1353px" /></a><figcaption id="caption-attachment-5320" class="wp-caption-text">Current Version</figcaption></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>如何更新革命滑块插件</title>
		<link>https://mac163.com/5314/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Fri, 21 Oct 2022 02:37:13 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<category><![CDATA[WP主题教程]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5314</guid>

					<description><![CDATA[重要警告：从您的站点中删除滑块革命插件也将删除您的所有幻灯片。因此，如果您想像 Visual Composer&#8230;]]></description>
										<content:encoded><![CDATA[<p><strong>重要警告</strong>：从您的站点中删除滑块革命插件也将删除您的所有幻灯片。因此，如果您想像 Visual Composer 插件一样更新 Slider Revolution 插件，那么您必须先导出幻灯片，以便稍后重新导入它们。以下是更新 Slider Revolution 插件的更好方法。</p>
<h2>通过主题更新</h2>
<p>每当您更新 Total 主题时，如果 Visual Composer 有更新，它将在您的 WordPress 仪表板中显示为可用更新以及“推荐插件”列表中。</p>
<h2>手动更新</h2>
<p>您始终可以手动更新插件。插件 zip 文件可以位于 Total/framework/plugins/revslider.zip 的主题内，您可以在 wp-content/plugins/ 处通过 FTP 手动提取并替换所有文件</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>更新WPBakery页面构建器（Visual Composer）</title>
		<link>https://mac163.com/5312/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Fri, 21 Oct 2022 02:03:56 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<category><![CDATA[WP主题教程]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5312</guid>

					<description><![CDATA[本文将向您展示如何使用 Total 主题正确更新您网站上捆绑的 WPBakery Page Builder（以&#8230;]]></description>
										<content:encoded><![CDATA[<p>本文将向您展示如何使用 Total 主题正确更新您网站上捆绑的 WPBakery Page Builder（以前称为 Visual Composer）插件。</p>
<h2>第 1 步：更新您的主题</h2>
<p>由于许可如何与捆绑插件一起使用，如此处文档中<a href="http://wpexplorer-themes.com/total/docs/update-plugins/" target="_blank" rel="noopener nofollow">所述</a><strong>，更新主题时会提供</strong>WPBakery 页面构建器更新。因此，更新插件之前的第一步当然是确保您的主题已更新。在此处查看<a href="http://wpexplorer-themes.com/total/changelog/" target="_blank" rel="noopener nofollow">主题更改日志</a>。如果您想获得 WPBakery 插件的自动更新通知（在主题更新范围之外），您必须购买该插件，然后<a href="http://wpexplorer-themes.com/total/docs/activate-purchased-visual-composer/" target="_blank" rel="noopener nofollow">按照以下步骤</a>操作。</p>
<h2>第 2 步：更新插件</h2>
<p>更新插件非常简单，只需转到<em><strong>主题 &gt; 安装插件</strong></em>并检查要更新的项目。请参阅下面的视频指南进行视觉演示：</p>
<h2>通过此方法更新不起作用（更新包不可用）！</h2>
<p>首先尝试进入<em><strong>Appearance &gt; Install Plugins</strong></em>，刷新页面并重试。</p>
<p>如果这不起作用，请尝试禁用（或删除）插件，使其不活动。这将确保插件的自动更新功能没有任何问题（不应该是这种情况，但如果您遇到错误，则值得测试）。禁用后，请尝试在仪表板中重新运行自动更新。</p>
<p>如果您仍然收到更新包不可用的错误消息，可能只是因为您的服务器权限设置为严格，您需要更改服务器设置或通过 FTP 更新插件。从 ThemeForest 下载完整的产品 zip 文件时，您总是可以在插件文件夹中找到最新版本的插件，它被称为 js_composer.zip</p>
<p><strong>WPEngine 用户： </strong>如果您收到“更新包不可用”警告，请转到 WPEngine 仪表板并单击按钮以重置您的文件权限。这应该可以解决问题。</p>
<h2>“自动”更新呢？</h2>
<p>如果您不明白为什么不包含自动更新，请阅读<a href="http://wpexplorer-themes.com/total/docs/update-plugins/" rel="nofollow">此文档页面</a>上的许可部分。</p>
<p>要在 WPBakery 插件中启用自动更新，您必须购买该插件，然后禁用<a href="http://wpexplorer-themes.com/total/docs/activate-purchased-visual-composer/" rel="nofollow">本指南</a>中提到的主题选项。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>如何更新WordPress Total主题</title>
		<link>https://mac163.com/5302/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Fri, 21 Oct 2022 01:31:50 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<category><![CDATA[WP主题教程]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5302</guid>

					<description><![CDATA[Total 具有通过 3 种不同方法进行更新的能力。您可以验证您的主题许可证代码并在仪表板中获取更新通知，使用&#8230;]]></description>
										<content:encoded><![CDATA[<p>Total 具有通过 3 种不同方法进行更新的能力。您可以验证您的主题许可证代码并在仪表板中获取更新通知，使用 Envato Market 插件，该插件还将通过您的仪表板提供更新，或者您可以通过 FTP/SFTP 手动更新。请在下面查看每种更新方法的说明。</p>
<ul>
<li><a href="https://wpexplorer-themes.com/total/docs/update-theme/#before-update" rel="nofollow">更新前</a></li>
<li><a href="https://wpexplorer-themes.com/total/docs/update-theme/#how-update" rel="nofollow">如何更新</a></li>
<li><a href="https://wpexplorer-themes.com/total/docs/update-theme/#after-update" rel="nofollow">更新后</a></li>
</ul>
<h2>更新前</h2>
<p>在更新您的主题之前，请确保 WordPress 是最新的，<em><strong>并确保您有最近的网站备份</strong></em>。Total 主题利用 WordPress 中提供的新功能来保持优化和更新，因此更新 WP 也很重要。您也可以在更新主题后执行此操作，重要的是它是最新的。而且您应该始终备份您的站点，以防万一出现问题，您可以在寻求支持时快速恢复。</p>
<h3>额外的预防措施（对于谨慎的用户或从极旧版本更新时）</h3>
<p>如果您想采取额外的预防措施以确保一切尽可能顺利，您可以采取一些额外的预防措施。如果您从一个非常旧的主题版本进行更新，通常建议使用这些 &#8211; 有时客户不会更新超过 5 年，然后在更新时遇到一些问题，因此这些步骤可以提供帮助（我们建议保持主题更新至虽然日期，这将防止几乎所有的头痛）。</p>
<ul>
<li>停用所有插件</li>
<li>切换到默认的 WP 主题</li>
<li>更新 WordPress</li>
<li>将您的 PHP 版本更新到服务器上可用的最新版本</li>
<li>暂时启用<a href="https://wpexplorer-themes.com/total/docs/enabling-wp-debug/" target="_blank" rel="noopener nofollow">WP_Debug 通知</a></li>
<li>更新主题</li>
<li>重新启用主题</li>
<li>更新所有插件</li>
<li>一个一个重新启用插件，以防出现任何问题</li>
<li>如果您没有任何问题，请禁用 WP_Debug 通知</li>
</ul>
<h2>如何更新您的主题</h2>
<p>更新主题非常容易，您可以选择 3 个选项，请看下面：</p>
<h3>选项 1：经过验证的许可证更新（总计 4.5+）</h3>
<p>更新主题的最简单和最好的方法是通过 WordPress 仪表板中的主题许可证面板验证您的主题。验证后，只要有更新可供下载，您就会在仪表板中收到通知。此功能是在 Total 4.5 版中引入的，因此如果您当前使用的是旧版本，请使用下面提到的其他方法之一。</p>
<h4>找到您的许可证：</h4>
<p>您只需单击 Total ThemeForest 项目页面上的“支持”选项卡即可找到您的许可证，您可以<a href="https://themeforest.net/item/total-responsive-multipurpose-wordpress-theme/6339019/support" target="_blank" rel="noopener nofollow">在此处</a>访问。在底部，您应该会看到所有购买代码的列表。您还可以登录我们的<a href="http://wpexplorer-themes.com/support/" target="_blank" rel="noopener nofollow">支持站点</a> ，在其中查看和管理您的所有许可证。</p>
<h4>输入您的许可证：</h4>
<p>现在您已经找到您的许可证，只需将其复制并粘贴到位于<em><strong>主题面板 &gt; 主题许可证下的 WordPress 仪表板中的字段中</strong></em></p>
<figure id="attachment_5303" aria-describedby="caption-attachment-5303" style="width: 948px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/total-theme-license.png"><img loading="lazy" decoding="async" class="size-full wp-image-5303" src="https://mac163.com/wp-content/uploads/2022/10/total-theme-license.png" alt="Total Theme License" width="948" height="733" srcset="https://mac163.com/wp-content/uploads/2022/10/total-theme-license.png 948w, https://mac163.com/wp-content/uploads/2022/10/total-theme-license-300x232.png 300w, https://mac163.com/wp-content/uploads/2022/10/total-theme-license-768x594.png 768w" sizes="auto, (max-width: 948px) 100vw, 948px" /></a><figcaption id="caption-attachment-5303" class="wp-caption-text">Total Theme License</figcaption></figure>
<h3>选项 2：通过重新安装手动覆盖 (WP 5.5+)</h3>
<p>从 WordPress 5.5 开始，您现在可以重新安装主题，它会提示您覆盖活动主题。因此，您总是通过“下载”页面从 ThemeForest 重新下载主题，然后转到<em><strong>外观 &gt; 主题 &gt; 添加新</strong></em>并上传 Total.zip 文件夹。上传后，单击以覆盖父级，您就可以开始了。您基本上将遵循与<a href="https://wpexplorer-themes.com/total/docs/install-total-theme/" rel="nofollow">安装主题</a>时相同的步骤。</p>
<figure id="attachment_5304" aria-describedby="caption-attachment-5304" style="width: 834px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/total-theme-update-override.png"><img loading="lazy" decoding="async" class="size-full wp-image-5304" src="https://mac163.com/wp-content/uploads/2022/10/total-theme-update-override.png" alt="Total Theme Update Override" width="834" height="529" srcset="https://mac163.com/wp-content/uploads/2022/10/total-theme-update-override.png 834w, https://mac163.com/wp-content/uploads/2022/10/total-theme-update-override-300x190.png 300w, https://mac163.com/wp-content/uploads/2022/10/total-theme-update-override-768x487.png 768w" sizes="auto, (max-width: 834px) 100vw, 834px" /></a><figcaption id="caption-attachment-5304" class="wp-caption-text">Total Theme Update Override</figcaption></figure>
<h3>选项 3：通过 Envato Market 插件更新仪表板</h3>
<figure id="attachment_5305" aria-describedby="caption-attachment-5305" style="width: 900px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/envato-market-auto-updates-plugin-guide.jpeg"><img loading="lazy" decoding="async" class="size-full wp-image-5305" src="https://mac163.com/wp-content/uploads/2022/10/envato-market-auto-updates-plugin-guide.jpeg" alt="Envato Market Auto Updates Plugin Guide" width="900" height="500" srcset="https://mac163.com/wp-content/uploads/2022/10/envato-market-auto-updates-plugin-guide.jpeg 900w, https://mac163.com/wp-content/uploads/2022/10/envato-market-auto-updates-plugin-guide-300x167.jpeg 300w, https://mac163.com/wp-content/uploads/2022/10/envato-market-auto-updates-plugin-guide-768x427.jpeg 768w" sizes="auto, (max-width: 900px) 100vw, 900px" /></a><figcaption id="caption-attachment-5305" class="wp-caption-text">Envato Market Auto Updates Plugin Guide</figcaption></figure>
<p>Envato 发布了一个名为 <a href="http://envato.github.io/wp-envato-market/" target="_blank" rel="noopener nofollow">Envato Market</a>的插件 ，可用于管理您通过 WordPress 仪表板从 ThemeForest 和 Codecanyon 购买的所有主题和插件。这个项目处于测试阶段，设置起来有点复杂，但如果你想试一试，你可以！</p>
<p><a href="http://www.wpexplorer.com/envato-market-plugin-guide/" target="_blank" rel="noopener nofollow">查看完整指南</a></p>
<h2>更新后</h2>
<p>完成主题更新后，还请执行以下步骤：</p>
<h3>1.清除您的站点和浏览器缓存</h3>
<p>更新主题后，您必须清除所有站点和浏览器缓存以防止错误（更新任何主题或插件时都应该这样做）。因此，在了解如何更新主题之前，了解如何清除缓存非常重要。请阅读或收藏下面的链接，以便您知道如何在更新后执行此操作。</p>
<ol>
<li><a title="清除站点缓存" href="http://wpexplorer-themes.com/total/docs/clear-site-cache/" target="_blank" rel="noopener nofollow">清除站点缓存</a></li>
<li><a title="清除浏览器缓存" href="http://wpexplorer-themes.com/total/docs/clear-browser-cache/" target="_blank" rel="noopener nofollow">清除浏览器缓存</a></li>
</ol>
<h3>2. 更新捆绑插件</h3>
<p>更新主题后，请确保更新捆绑的插件，包括 WPBakery 页面构建器插件、Slider Revolution 和 Total Theme Core。请参阅<a title="更新全部主题插件" href="http://wpexplorer-themes.com/total/docs/update-plugins/" target="_blank" rel="noopener nofollow">更新主题推荐插件</a>的指南。如果您更新主题而不是捆绑的插件，您可能会遇到问题。但请注意，并不总是需要更新，您会在仪表板中收到通知，并且如果需要，可以在外观 &gt; 安装插件下访问需要更新的插件。</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
