<?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/tag/wordpress-ztxg/feed/" rel="self" type="application/rss+xml" />
	<link>https://mac163.com/tag/wordpress-ztxg/</link>
	<description></description>
	<lastBuildDate>Sat, 16 Nov 2024 17:25:50 +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/tag/wordpress-ztxg/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<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>从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>
		<item>
		<title>W3 Total Cache CSS Minify问题</title>
		<link>https://mac163.com/5298/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Fri, 21 Oct 2022 01:00:36 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<category><![CDATA[WP主题教程]]></category>
		<category><![CDATA[高端网站建设]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5298</guid>

					<description><![CDATA[注意：在 Total 5.0.6 中，我们向主题添加了代码，以从 W3 Total Cache 缩小功能中自动&#8230;]]></description>
										<content:encoded><![CDATA[<p><strong>注意</strong>：在 Total 5.0.6 中，我们向主题添加了代码，以从 W3 Total Cache 缩小功能中自动排除某些主题文件，以防止出现以下问题。</p>
<p>不幸的是，W3 Total Cache 插件的 CSS 缩小/组合功能存在相当大的问题。即使文件具有媒体属性，该插件也会合并文件，这意味着如果您的主题或插件正在加载特定屏幕尺寸的 CSS 文件，它们将始终被合并和加载，从而导致问题。</p>
<p>Total 主题使用 2 个单独的 CSS 文件来处理<a href="https://wpexplorer-themes.com/total/docs/alter-mobile-menu-breakpoint/" target="_blank" rel="noopener nofollow">自定义断点</a>选项，因此桌面视图有一个文件，移动视图有一个单独的文件。这是处理自定义断点的高度优化方式，并允许主题在不同的断点处进行自定义，而无需复制或覆盖 CSS。</p>
<p>现在，如果您使用启用了 CSS 缩小功能的 W3 Total Cache 插件，他们的插件未正确编码以排除这些文件，因此它们将与所有其他 CSS 组合并破坏您的站点布局。您最终可能会在桌面上看到一个隐藏菜单和可见的移动菜单，而不是所需的布局。</p>
<h2>怎么修？</h2>
<p>最好的解决方法可能是简单地禁用 CSS 缩小功能：</p>
<figure id="attachment_5299" aria-describedby="caption-attachment-5299" style="width: 2646px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-disable-minify-css.png"><img loading="lazy" decoding="async" class="size-full wp-image-5299" src="https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-disable-minify-css.png" alt="W3 Total Cache Disable Minify Css" width="2646" height="1140" srcset="https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-disable-minify-css.png 2646w, https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-disable-minify-css-300x129.png 300w, https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-disable-minify-css-1024x441.png 1024w, https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-disable-minify-css-768x331.png 768w, https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-disable-minify-css-1536x662.png 1536w, https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-disable-minify-css-2048x882.png 2048w" sizes="auto, (max-width: 2646px) 100vw, 2646px" /></a><figcaption id="caption-attachment-5299" class="wp-caption-text">W3 Total Cache Disable Minify Css</figcaption></figure>
<p>或者，您可以通过“从不缩小以下 CSS 文件”字段排除文件：</p>
<figure id="attachment_5300" aria-describedby="caption-attachment-5300" style="width: 2064px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-exclude-css-files.png"><img loading="lazy" decoding="async" class="size-full wp-image-5300" src="https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-exclude-css-files.png" alt="W3 Total Cache Exclude Css Files" width="2064" height="372" srcset="https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-exclude-css-files.png 2064w, https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-exclude-css-files-300x54.png 300w, https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-exclude-css-files-1024x185.png 1024w, https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-exclude-css-files-768x138.png 768w, https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-exclude-css-files-1536x277.png 1536w, https://mac163.com/wp-content/uploads/2022/10/w3-total-cache-exclude-css-files-2048x369.png 2048w" sizes="auto, (max-width: 2064px) 100vw, 2064px" /></a><figcaption id="caption-attachment-5300" class="wp-caption-text">W3 Total Cache Exclude Css Files</figcaption></figure>
<p>在该字段中输入 2 个相关文件：</p>
<ul>
<li>wp-content/themes/Total/assets/css/wpex-mobile-menu-breakpoint-max.css</li>
<li>wp-content/themes/Total/assets/css/wpex-mobile-menu-breakpoint-min.css</li>
</ul>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>如何更新捆绑的插件</title>
		<link>https://mac163.com/5307/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Thu, 20 Oct 2022 15:25:38 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<category><![CDATA[WP主题教程]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5307</guid>

					<description><![CDATA[Total 免费包含几个很棒的插件，它们极大地增强了主题的功能。虽然这些插件可以放在主题中，但最好将它们作为单&#8230;]]></description>
										<content:encoded><![CDATA[<p>Total 免费包含几个很棒的插件，它们极大地增强了主题的功能。虽然这些插件可以放在主题中，但最好将它们作为单独的插件保存。但是，这意味着插件必须与主题更新分开更新。</p>
<h2>了解插件许可证</h2>
<p>它在<a title="主题森林" href="http://themeforest.net/?ref=wpexplorer" target="_blank" rel="noopener nofollow">ThemeForest</a>上的工作方式是当插件与 WordPress 主题免费捆绑时，您可以免费使用该插件而不会出现任何问题，但是，如果您想要插件开发人员的自动更新和支持，您需要单独购买（这是 100% 可选的）。一些插件包含一个字段，用于输入插件的“购买”代码。由于您购买了捆绑产品，因此您没有该插件的购买代码，因此您无法在此字段中输入任何内容。 <strong>更新主题本身时会提供对插件的更新</strong>。请继续阅读下文，了解如何更新您的捆绑插件。</p>
<h2>主题支持的插件版本</h2>
<p>插件会根据主题本身进行相应更新。每当更新插件时，我们将使用 Total 主题亲自测试该插件，以确保没有任何问题或错误，如果一切正常，我们将更新主题并包含该插件更新。</p>
<p>您可以查看主题更改日志并查看主题当前支持的插件版本。</p>
<figure id="attachment_5308" aria-describedby="caption-attachment-5308" style="width: 2518px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/total-changelog-plugin-versions.png"><img loading="lazy" decoding="async" class="size-full wp-image-5308" src="https://mac163.com/wp-content/uploads/2022/10/total-changelog-plugin-versions.png" alt="Total Changelog Plugin Versions" width="2518" height="1074" srcset="https://mac163.com/wp-content/uploads/2022/10/total-changelog-plugin-versions.png 2518w, https://mac163.com/wp-content/uploads/2022/10/total-changelog-plugin-versions-300x128.png 300w, https://mac163.com/wp-content/uploads/2022/10/total-changelog-plugin-versions-1024x437.png 1024w, https://mac163.com/wp-content/uploads/2022/10/total-changelog-plugin-versions-768x328.png 768w, https://mac163.com/wp-content/uploads/2022/10/total-changelog-plugin-versions-1536x655.png 1536w, https://mac163.com/wp-content/uploads/2022/10/total-changelog-plugin-versions-2048x874.png 2048w" sizes="auto, (max-width: 2518px) 100vw, 2518px" /></a><figcaption id="caption-attachment-5308" class="wp-caption-text">Total Changelog Plugin Versions</figcaption></figure>
<p><a title="总变更日志" href="http://wpexplorer-themes.com/total/changelog/" target="_blank" rel="noopener nofollow">查看变更日志</a></p>
<h2>更新你的插件</h2>
<p>由于每当您更新主题时，主题都会包含插件更新，如果插件需要更新，您将在站点顶部看到更新插件的通知，如下所示：</p>
<figure id="attachment_5309" aria-describedby="caption-attachment-5309" style="width: 1582px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/update-plugin-notice.png"><img loading="lazy" decoding="async" class="size-full wp-image-5309" src="https://mac163.com/wp-content/uploads/2022/10/update-plugin-notice.png" alt="Update Plugin Notice" width="1582" height="304" srcset="https://mac163.com/wp-content/uploads/2022/10/update-plugin-notice.png 1582w, https://mac163.com/wp-content/uploads/2022/10/update-plugin-notice-300x58.png 300w, https://mac163.com/wp-content/uploads/2022/10/update-plugin-notice-1024x197.png 1024w, https://mac163.com/wp-content/uploads/2022/10/update-plugin-notice-768x148.png 768w, https://mac163.com/wp-content/uploads/2022/10/update-plugin-notice-1536x295.png 1536w" sizes="auto, (max-width: 1582px) 100vw, 1582px" /></a><figcaption id="caption-attachment-5309" class="wp-caption-text">Update Plugin Notice</figcaption></figure>
<p>您还可以转到外观<em><strong>&gt; 安装插件</strong></em>并从那里更新捆绑的插件，如下所示：</p>
<figure id="attachment_5310" aria-describedby="caption-attachment-5310" style="width: 1487px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/total-appearance-install-plugins.png"><img loading="lazy" decoding="async" class="size-full wp-image-5310" src="https://mac163.com/wp-content/uploads/2022/10/total-appearance-install-plugins.png" alt="Total Appearance Install Plugins" width="1487" height="677" srcset="https://mac163.com/wp-content/uploads/2022/10/total-appearance-install-plugins.png 1487w, https://mac163.com/wp-content/uploads/2022/10/total-appearance-install-plugins-300x137.png 300w, https://mac163.com/wp-content/uploads/2022/10/total-appearance-install-plugins-1024x466.png 1024w, https://mac163.com/wp-content/uploads/2022/10/total-appearance-install-plugins-768x350.png 768w" sizes="auto, (max-width: 1487px) 100vw, 1487px" /></a><figcaption id="caption-attachment-5310" class="wp-caption-text">Total Appearance Install Plugins</figcaption></figure>
<h2>视频指南：</h2>
<h2>重要的 WP 多站点通知</h2>
<p>如果您使用激活了 Total 主题网络的 WordPress 多站点，请务必按照通过主站点而不是网络管理仪表板更新插件的步骤进行操作。网络管理仪表板在技术上没有安装 Total 主题，因此它无法正确处理插件更新。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>如何共享页面内容以进行故障排除</title>
		<link>https://mac163.com/5294/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Thu, 20 Oct 2022 15:19:22 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<category><![CDATA[WP主题教程]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5294</guid>

					<description><![CDATA[如果我们可以查看特定页面上使用的确切代码，而无需请求登录并登录到您的站点，有时可能会更容易为您提供帮助。幸运的&#8230;]]></description>
										<content:encoded><![CDATA[<p>如果我们可以查看特定页面上使用的确切代码，而无需请求登录并登录到您的站点，有时可能会更容易为您提供帮助。幸运的是，共享任何页面上使用的代码非常容易，请参阅下面的说明。</p>
<h2>1.打开有问题的页面/帖子，然后点击“经典模式”</h2>
<p>浏览到您遇到问题的页面或帖子，然后单击“经典模式”按钮。</p>
<figure id="attachment_5295" aria-describedby="caption-attachment-5295" style="width: 1257px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/total-clasic-mode.png"><img loading="lazy" decoding="async" class="size-full wp-image-5295" src="https://mac163.com/wp-content/uploads/2022/10/total-clasic-mode.png" alt="Total Clasic Mode" width="1257" height="727" srcset="https://mac163.com/wp-content/uploads/2022/10/total-clasic-mode.png 1257w, https://mac163.com/wp-content/uploads/2022/10/total-clasic-mode-300x174.png 300w, https://mac163.com/wp-content/uploads/2022/10/total-clasic-mode-1024x592.png 1024w, https://mac163.com/wp-content/uploads/2022/10/total-clasic-mode-768x444.png 768w" sizes="auto, (max-width: 1257px) 100vw, 1257px" /></a><figcaption id="caption-attachment-5295" class="wp-caption-text">Total Clasic Mode</figcaption></figure>
<h2>2.点击文本模式并复制所有代码</h2>
<p>接下来单击“文本”模式（这可以确保您复制所有代码，而不仅仅是页面代码的视觉显示）。</p>
<figure id="attachment_5296" aria-describedby="caption-attachment-5296" style="width: 1249px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/text.png"><img loading="lazy" decoding="async" class="size-full wp-image-5296" src="https://mac163.com/wp-content/uploads/2022/10/text.png" alt="Text" width="1249" height="823" srcset="https://mac163.com/wp-content/uploads/2022/10/text.png 1249w, https://mac163.com/wp-content/uploads/2022/10/text-300x198.png 300w, https://mac163.com/wp-content/uploads/2022/10/text-1024x675.png 1024w, https://mac163.com/wp-content/uploads/2022/10/text-768x506.png 768w" sizes="auto, (max-width: 1249px) 100vw, 1249px" /></a><figcaption id="caption-attachment-5296" class="wp-caption-text">Text</figcaption></figure>
<h2>3. 访问任何在线代码共享站点粘贴代码</h2>
<p>我们推荐使用<a href="https://gist.github.com/" target="_blank" rel="noopener nofollow">https://gist.github.com/</a>来共享代码，但是这个站点确实需要一个帐户（它是免费的）。如果您没有 gist 帐户并且不想创建一个，您可以使用<a href="https://www.codepile.net/" target="_blank" rel="noopener nofollow">CodePile</a>，它也是免费的，但不需要帐户。</p>
<h2>4. 发送片段的 URL</h2>
<p>现在您的代码已在线存储在某处，只需与我们分享链接，以便我们获取并在本地试用。谢谢！</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
