<?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>演示数据 归档 - 外贸网站建设-Mac163</title>
	<atom:link href="https://mac163.com/post-series/yssj/feed/" rel="self" type="application/rss+xml" />
	<link>https://mac163.com/post-series/yssj/</link>
	<description></description>
	<lastBuildDate>Mon, 03 Oct 2022 14:45:22 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://mac163.com/wp-content/uploads/2020/08/Mac163.png</url>
	<title>演示数据 归档 - 外贸网站建设-Mac163</title>
	<link>https://mac163.com/post-series/yssj/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Total主题如何导入演示数据</title>
		<link>https://mac163.com/5032/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Sat, 01 Oct 2022 06:21:20 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5032</guid>

					<description><![CDATA[重要提示：您必须在网站上启用Total Theme Core 插件才能使用演示导入器。 对于某些人来说，导入示&#8230;]]></description>
										<content:encoded><![CDATA[<p><strong>重要提示</strong>：您必须在网站上启用<a href="https://wpexplorer-themes.com/total/docs/total-theme-core-plugin/" target="_blank" rel="noopener nofollow">Total Theme Core 插件</a>才能使用演示导入器。</p>
<p>对于某些人来说，导入示例数据文件有助于了解主题的工作原理，并通过简单地用自己的内容和图像替换内容和图像来加快他们自己或客户网站的开发。</p>
<h2>内置演示导入器</h2>
<p>Total 主题有一个内置的演示导入器（基于 WordPress 核心导入/导出插件），您可以通过 WordPress 仪表板访问它，并允许您轻松导入任何演示。只需转到<em><strong>主题面板 &gt; 演示导入器</strong></em>来选择并导入您选择的演示：</p>
<figure id="attachment_5033" aria-describedby="caption-attachment-5033" style="width: 1698px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/total-demo-importer.png"><img fetchpriority="high" decoding="async" class="size-full wp-image-5033" src="https://mac163.com/wp-content/uploads/2022/10/total-demo-importer.png" alt="Total Demo Importer" width="1698" height="1112" srcset="https://mac163.com/wp-content/uploads/2022/10/total-demo-importer.png 1698w, https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-300x196.png 300w, https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-1024x671.png 1024w, https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-768x503.png 768w, https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-1536x1006.png 1536w" sizes="(max-width: 1698px) 100vw, 1698px" /></a><figcaption id="caption-attachment-5033" class="wp-caption-text">Total Demo Importer</figcaption></figure>
<p><strong>没有找到演示错误？</strong> 如果您遇到错误并且没有看到任何演示，请联系您的虚拟主机并确保在服务器上启用了 curl 并且您的服务器允许传出连接。</p>
<p><strong>502 错误？</strong>如果演示导入器没有完成并显示 502 错误，这意味着您的服务器由于某种原因而崩溃。您可能需要增加服务器内存限制、max_execution 时间或其他限制（您可以检查服务器错误日志以查看生成的错误）。这对于包含大量图像的演示来说很常见，许多预算托管公司（如 Bluehost/Hostgator）的限制较低，因此服务器在尝试下载所有示例图像时可能会超时。</p>
<h2>只导入你需要的东西</h2>
<p>演示导入器允许您选择要导入的内容。因此，例如，如果您只想导入演示中使用的滑块，您可以选择仅导入幻灯片，或者如果您希望可以导入示例数据而不是图像，这将真正加快速度而不会使服务器膨胀。</p>
<figure id="attachment_5034" aria-describedby="caption-attachment-5034" style="width: 1738px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/total-import-select-content.png"><img decoding="async" class="size-full wp-image-5034" src="https://mac163.com/wp-content/uploads/2022/10/total-import-select-content.png" alt="Total Import Select Content" width="1738" height="1124" srcset="https://mac163.com/wp-content/uploads/2022/10/total-import-select-content.png 1738w, https://mac163.com/wp-content/uploads/2022/10/total-import-select-content-300x194.png 300w, https://mac163.com/wp-content/uploads/2022/10/total-import-select-content-1024x662.png 1024w, https://mac163.com/wp-content/uploads/2022/10/total-import-select-content-768x497.png 768w, https://mac163.com/wp-content/uploads/2022/10/total-import-select-content-1536x993.png 1536w" sizes="(max-width: 1738px) 100vw, 1738px" /></a><figcaption id="caption-attachment-5034" class="wp-caption-text">Total Import Select Content</figcaption></figure>
<h2>一键演示导入插件</h2>
<p>Total 主题还包括对<a href="https://wordpress.org/plugins/one-click-demo-import/" target="_blank" rel="noopener nofollow">One Click Demo Import 插件</a>的内置支持，因此如果您在使用内置主题导入器时遇到问题，可以尝试使用此插件。该插件不使用核心的 WordPress 导入/导出功能，因此它的工作方式有所不同，并且可能与您的服务器设置更好地配合，因此您可以根据需要尝试一下。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Total主题导入特定的演示滑块</title>
		<link>https://mac163.com/5141/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Sun, 02 Oct 2022 05:53:00 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5141</guid>

					<description><![CDATA[如果您喜欢其中一个实时 Total 演示中的任何特定滑块，您可以仅将滑块导入您的站点以用于该特定演示，以便您可&#8230;]]></description>
										<content:encoded><![CDATA[<p>如果您喜欢其中一个实时 Total 演示中的任何特定滑块，您可以仅将滑块导入您的站点以用于该特定演示，以便您可以将其用作模板。为此，只需登录 WordPress 并转到<em><strong>主题面板 &gt; 演示导入器</strong></em>并找到要从中导入滑块的演示并单击它。它将要求您为此演示启用任何必需的插件，即使您不想要它们也必须启用它们才能继续下一步（之后您可以随时禁用它们）。之后，单击“下一步”按钮，在下一页中，您可以取消选中除<strong>“导入滑块”</strong> 选项之外的所有内容，因此它只会导入滑块而不是其他任何内容，然后单击“确认导入”按钮。</p>
<figure id="attachment_5142" aria-describedby="caption-attachment-5142" style="width: 1649px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/total-import-sliders.png"><img decoding="async" class="size-full wp-image-5142" src="https://mac163.com/wp-content/uploads/2022/10/total-import-sliders.png" alt="Total Import Sliders" width="1649" height="1244" srcset="https://mac163.com/wp-content/uploads/2022/10/total-import-sliders.png 1649w, https://mac163.com/wp-content/uploads/2022/10/total-import-sliders-300x226.png 300w, https://mac163.com/wp-content/uploads/2022/10/total-import-sliders-1024x773.png 1024w, https://mac163.com/wp-content/uploads/2022/10/total-import-sliders-768x579.png 768w, https://mac163.com/wp-content/uploads/2022/10/total-import-sliders-1536x1159.png 1536w" sizes="(max-width: 1649px) 100vw, 1649px" /></a><figcaption id="caption-attachment-5142" class="wp-caption-text">Total Import Sliders</figcaption></figure>
<p>对于一些精选的演示滑块，我们在导入中包含了与我们的现场演示不同的图像。这是因为我们在演示中使用了无法重新分发的优质库存图片。如果您想购买这些图片中的任何一张，大部分都可以在 <a title="存在Shutterstock" href="http://www.shutterstock.com/" target="_blank" rel="noopener nofollow">Shutterstock</a>上找到。</p>
<h2>幻灯片不导入？</h2>
<p>在极少数情况下，尝试导入 Slider 示例数据时，您可能会遇到 ajax 错误，或者只是没有导入任何幻灯片。这通常是由于服务器上的安全设置或权限错误造成的。对于这种特殊情况，最好联系您的托管服务提供商并要求他们验证您的文件权限是否在服务器上正确设置，并确保在尝试导入滑块时没有触发任何 ModSecurity 冲突（可以是通过写信给您的托管支持团队并要求他们将您域上的 ModSecurity 规则列入白名单来修复）。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Total主题仅导入演示定制器设置(主题选项)</title>
		<link>https://mac163.com/5144/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Sun, 02 Oct 2022 06:27:33 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5144</guid>

					<description><![CDATA[定制器设置赋予各种演示独特的“感觉”。定制器用于 Total 主题的主要颜色、布局和设置——而不是内容。因此，&#8230;]]></description>
										<content:encoded><![CDATA[<p>定制器设置赋予各种演示独特的“感觉”。定制器用于 Total 主题的主要颜色、布局和设置——而不是内容。因此，如果有一个具有您喜欢的独特外观/设计的特定演示，您实际上可以从演示中导入定制器设置以快速获得该外观，而不是自己完成所有设置。例如，“代理”演示有一个带有绿色调的黑色标题，这些是通过<a href="http://wpexplorer-themes.com/total/docs/customizing-theme-design/" rel="nofollow">定制器样式选项</a>完成的。</p>
<p><strong>重要提示</strong>：从任何演示导入定制器设置将重置所有定制器设置并将其替换为导入的设置。</p>
<h2>如何导入设置？</h2>
<p>只需转到<em><strong>主题面板 &gt; 演示导入器</strong></em>并找到要从中导入设置的演示并单击它。它将要求您为此演示启用任何必需的插件，即使您不想要它们也必须启用它们才能继续下一步（之后您可以随时禁用它们）。然后单击“下一步”按钮，在下一页中，您可以取消选中除“定制器设置”以外的所有内容以进行导入，这样它只会导入该选项，然后最后单击“确认导入”按钮。</p>
<figure id="attachment_5145" aria-describedby="caption-attachment-5145" style="width: 1648px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/demo-importer-customizer-settings.png"><img loading="lazy" decoding="async" class="size-full wp-image-5145" src="https://mac163.com/wp-content/uploads/2022/10/demo-importer-customizer-settings.png" alt="Demo Importer Customizer Settings" width="1648" height="1243" srcset="https://mac163.com/wp-content/uploads/2022/10/demo-importer-customizer-settings.png 1648w, https://mac163.com/wp-content/uploads/2022/10/demo-importer-customizer-settings-300x226.png 300w, https://mac163.com/wp-content/uploads/2022/10/demo-importer-customizer-settings-1024x772.png 1024w, https://mac163.com/wp-content/uploads/2022/10/demo-importer-customizer-settings-768x579.png 768w, https://mac163.com/wp-content/uploads/2022/10/demo-importer-customizer-settings-1536x1159.png 1536w" sizes="auto, (max-width: 1648px) 100vw, 1648px" /></a><figcaption id="caption-attachment-5145" class="wp-caption-text">Demo Importer Customizer Settings</figcaption></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Total Importer的自定义演示</title>
		<link>https://mac163.com/5147/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Sun, 02 Oct 2022 07:00:19 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5147</guid>

					<description><![CDATA[如您所知，Total 主题包括一个功能齐全的演示导入器，因此您只需单击几下即可轻松地将我们的任何现场演示导入您&#8230;]]></description>
										<content:encoded><![CDATA[<figure id="attachment_5148" aria-describedby="caption-attachment-5148" style="width: 1468px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-1.png"><img loading="lazy" decoding="async" class="size-full wp-image-5148" src="https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-1.png" alt="Total Demo Importer" width="1468" height="1124" srcset="https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-1.png 1468w, https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-1-300x230.png 300w, https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-1-1024x784.png 1024w, https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-1-768x588.png 768w" sizes="auto, (max-width: 1468px) 100vw, 1468px" /></a><figcaption id="caption-attachment-5148" class="wp-caption-text">Total Demo Importer</figcaption></figure>
<p>如您所知，Total 主题包括一个功能齐全的演示导入器，因此您只需单击几下即可轻松地将我们的任何现场演示导入您的站点。使 Total 更好的是，您实际上可以“过滤”可用的演示，从而允许您轻松创建自定义插件，用您自己的自定义演示替换导入器中的演示以进行导入。如果您为客户购买了许多主题副本并且您有要用于客户站点的预设设计，这可能是您想要做的事情。</p>
<p><strong>重要提示</strong>：这是一个超出主题支持范围的高级教程，仅为您提供方便。</p>
<h3>创建您的自定义演示&#8230;</h3>
<p>当然，在你开始之前，你会想要创建你的自定义演示。这些演示应实时托管，以便导入器可以正确导入图像。就像我们的现场演示一样，我们建议创建一个多站点网络并在其上托管您的演示。您只需要 1 个有效的 Total 主题许可证来托管您的演示，因为您将使用这些简单地通过预先制作的演示来加速客户工作，您可以将其用于您的客户工作（确保您购买了虽然每个客户的主题）。</p>
<h2>从 Github 下载 Starter 插件</h2>
<p>首先，您需要前往<a href="https://github.com/wpexplorer/total-custom-demos" rel="nofollow">此处</a>从 Github 存储库下载入门插件。</p>
<h3>插件结构</h3>
<p>插件的结构非常简单：</p>
<ul>
<li><strong>total-custom-demos.php</strong> &#8211; 此文件将用您的自定义演示替换演示，无需修改</li>
<li><strong>helpers/demos-array.php</strong> &#8211; 这是您将编辑以添加“演示”数组的主文件 &#8211; 按照提供的示例进行操作</li>
<li><strong>helpers/recommended-plugins.php——</strong>这个文件包含了所有可能的插件数组，在导入特定的演示之前你可能想要“推荐”。因此，如果您使用任何 3rd 方插件进行演示，则应将其添加到此数组中，以便主题知道它是可能的推荐插件。</li>
<li><strong>demos</strong> – 此文件夹将包含您所有演示的资产，只需按照示例结构添加您自己的演示。</li>
</ul>
<h2>导出您的演示</h2>
<p>您需要做的第一件事是导出您的演示。看看插件使用的结构。每个演示都应该有一个 screenshot.jpg 文件，它是演示的屏幕截图，一个 theme-options.txt 文件是从主题面板 &gt; 导入/导出中导出的主题选项，一个使用<a href="https://wordpress.org/plugins/widget-importer-exporter/" rel="nofollow">小部件导入器/创建的 widgets.txt 文件导出</a>器插件，使用核心 WordPress 导出器在工具 &gt; 导出中创建的 sample-data.xml 文件，如果演示具有使用旋转滑块创建的自定义滑块，则应将这些滑块导出并添加到旋转滑块文件夹中。</p>
<p>因此，导出您的演示，然后将它们添加到 demos 文件夹中的插件中，您可以删除示例演示文件。</p>
<h2>编辑 total_custom_demos_array</h2>
<p>现在您已经导出了您的演示，您需要在 helpers/demos-array.php 编辑文件。只需按照相同的格式为每个演示创建一个数组。一切都很好的评论，所以应该很容易理解。</p>
<figure id="attachment_5149" aria-describedby="caption-attachment-5149" style="width: 1285px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/total-demo-array.png"><img loading="lazy" decoding="async" class="size-full wp-image-5149" src="https://mac163.com/wp-content/uploads/2022/10/total-demo-array.png" alt="Total Demo Array" width="1285" height="861" srcset="https://mac163.com/wp-content/uploads/2022/10/total-demo-array.png 1285w, https://mac163.com/wp-content/uploads/2022/10/total-demo-array-300x201.png 300w, https://mac163.com/wp-content/uploads/2022/10/total-demo-array-1024x686.png 1024w, https://mac163.com/wp-content/uploads/2022/10/total-demo-array-768x515.png 768w" sizes="auto, (max-width: 1285px) 100vw, 1285px" /></a><figcaption id="caption-attachment-5149" class="wp-caption-text">Total Demo Array</figcaption></figure>
<h2>编辑 total_custom_demos_recommended_plugins_list</h2>
<p>最后一步是编辑 helpers/recommended-plugins.php 中的文件，以确保您的演示所需的任何插件都在此列表中。该数组注册由演示导入器处理的“允许”插件。因此，假设您希望在导入演示之前激活 Yoast 插件的“WordPress SEO”，您需要将此插件添加到列表中，就像我们在最后一步中为您的特定演示定义的插件数组中一样。该数组不安装或激活任何插件，它只是演示导入器使用的额外安全步骤，以便它知道任何特定演示允许安装/激活哪些插件。在大多数情况下，您可以不理会它。</p>
<figure id="attachment_5150" aria-describedby="caption-attachment-5150" style="width: 790px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-plugins.png"><img loading="lazy" decoding="async" class="size-full wp-image-5150" src="https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-plugins.png" alt="Total Demo Importer Plugins" width="790" height="841" srcset="https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-plugins.png 790w, https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-plugins-282x300.png 282w, https://mac163.com/wp-content/uploads/2022/10/total-demo-importer-plugins-768x818.png 768w" sizes="auto, (max-width: 790px) 100vw, 790px" /></a><figcaption id="caption-attachment-5150" class="wp-caption-text">Total Demo Importer Plugins</figcaption></figure>
<h2>导入额外的东西或运行额外的进程</h2>
<p>在 Total 4.0 中，我们引入了一个名为“wpex_demo_importer_ajax_post_import_complete”的新动作钩子，您可以在演示导入器运行后使用它来运行任何其他功能——因此，如果您需要从其他 3rd 方插件导入数据、插入用户、更改菜单等，您可以使用这个动作钩子来做到这一点。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>移动设备上的企业演示主页滑块</title>
		<link>https://mac163.com/5152/</link>
		
		<dc:creator><![CDATA[mac163]]></dc:creator>
		<pubDate>Sun, 02 Oct 2022 07:32:51 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress主题相关]]></category>
		<category><![CDATA[外贸网站建设]]></category>
		<guid isPermaLink="false">https://mac163.com/?p=5152</guid>

					<description><![CDATA[默认情况下，公司演示在移动设备上显示静态图像，而不是滑块，从而加快加载速度。这是通过页面设置完成的： 滑块本身&#8230;]]></description>
										<content:encoded><![CDATA[<p>默认情况下，公司演示在移动设备上显示静态图像，而不是滑块，从而加快加载速度。这是通过页面设置完成的：</p>
<figure id="attachment_5153" aria-describedby="caption-attachment-5153" style="width: 1427px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/corporate-demo-slider-mobile.png"><img loading="lazy" decoding="async" class="size-full wp-image-5153" src="https://mac163.com/wp-content/uploads/2022/10/corporate-demo-slider-mobile.png" alt="Corporate Demo Slider Mobile" width="1427" height="1035" srcset="https://mac163.com/wp-content/uploads/2022/10/corporate-demo-slider-mobile.png 1427w, https://mac163.com/wp-content/uploads/2022/10/corporate-demo-slider-mobile-300x218.png 300w, https://mac163.com/wp-content/uploads/2022/10/corporate-demo-slider-mobile-1024x743.png 1024w, https://mac163.com/wp-content/uploads/2022/10/corporate-demo-slider-mobile-768x557.png 768w" sizes="auto, (max-width: 1427px) 100vw, 1427px" /></a><figcaption id="caption-attachment-5153" class="wp-caption-text">Corporate Demo Slider Mobile</figcaption></figure>
<p>滑块本身也具有在一定宽度后隐藏滑块的设置（主滑块设置面板）：</p>
<figure id="attachment_5154" aria-describedby="caption-attachment-5154" style="width: 1431px" class="wp-caption aligncenter"><a href="https://mac163.com/wp-content/uploads/2022/10/corporate-slider-settings.png"><img loading="lazy" decoding="async" class="size-full wp-image-5154" src="https://mac163.com/wp-content/uploads/2022/10/corporate-slider-settings.png" alt="Corporate Slider Settings" width="1431" height="848" srcset="https://mac163.com/wp-content/uploads/2022/10/corporate-slider-settings.png 1431w, https://mac163.com/wp-content/uploads/2022/10/corporate-slider-settings-300x178.png 300w, https://mac163.com/wp-content/uploads/2022/10/corporate-slider-settings-1024x607.png 1024w, https://mac163.com/wp-content/uploads/2022/10/corporate-slider-settings-768x455.png 768w" sizes="auto, (max-width: 1431px) 100vw, 1431px" /></a><figcaption id="caption-attachment-5154" class="wp-caption-text">Corporate Slider Settings</figcaption></figure>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
