beginner-wordpress-user/subtitles/Using page templates.bilingual.en-zh.ass
studio 4cfcf09a97 sync: full archive from pipeline (250 files)
Sources: video-subtitle-pipeline artifacts/beginner-wordpress-user/
- subtitles/: en, zh, bilingual SRT/ASS (100 files)
- platform/: youtube SRT + bilibili BCC per video (75 files)
- manifests/: per-video manifest.json (25 files)
- quality/: quality reports (50 files)
2026-04-13 23:35:08 +08:00

316 lines
31 KiB
Text

[Script Info]
Title: Bilingual Subtitles
ScriptType: v4.00+
PlayResX: 1920
PlayResY: 1080
ScaledBorderAndShadow: yes
[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Original,Noto Sans,44,&H00FFFFFF,&H000000FF,&H00000000,&H80000000,0,0,0,0,100,100,0,0,1,2,1,2,,,36,1
Style: Translated,Noto Sans CJK SC,60,&H0000FFFF,&H000000FF,&H00000000,&H80000000,-1,0,0,0,100,100,0,0,1,2,1,2,,,86,1
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.00,0:00:04.00,Original,,0,0,0,,In this lesson, we will delve deeper into templates.
Dialogue: 0,0:00:00.00,0:00:04.00,Translated,,0,0,0,,在本节课中,我们将更深入地探讨模板。
Dialogue: 0,0:00:06.00,0:00:08.53,Original,,0,0,0,,At the end of this tutorial, we want to be able
Dialogue: 0,0:00:08.53,0:00:10.99,Original,,0,0,0,,to differentiate between pages and templates,
Dialogue: 0,0:00:06.00,0:00:10.99,Translated,,0,0,0,,在本教程结束时,我们希望您能区分页面和模板,
Dialogue: 0,0:00:10.99,0:00:13.62,Original,,0,0,0,,know how to modify one of our base
Dialogue: 0,0:00:13.62,0:00:16.43,Original,,0,0,0,,templates, how to add a new template,
Dialogue: 0,0:00:10.99,0:00:16.43,Translated,,0,0,0,,知道如何修改我们的基础模板之一,如何添加新模板,
Dialogue: 0,0:00:16.43,0:00:18.72,Original,,0,0,0,,and lastly, how to assign a
Dialogue: 0,0:00:18.72,0:00:21.42,Original,,0,0,0,,custom template to a page or post.
Dialogue: 0,0:00:16.43,0:00:21.42,Translated,,0,0,0,,以及最后,如何将自定义模板分配给页面或文章。
Dialogue: 0,0:00:21.42,0:00:23.84,Original,,0,0,0,,A template provides the structure
Dialogue: 0,0:00:23.84,0:00:26.00,Original,,0,0,0,,for how a page is displayed.
Dialogue: 0,0:00:21.42,0:00:26.00,Translated,,0,0,0,,模板为页面的显示方式提供了结构。
Dialogue: 0,0:00:26.00,0:00:31.10,Original,,0,0,0,,That usually includes a header template part,
Dialogue: 0,0:00:31.10,0:00:36.00,Original,,0,0,0,,a content area, and a footer template part.
Dialogue: 0,0:00:26.00,0:00:36.00,Translated,,0,0,0,,这通常包括页眉模板部分、内容区域和页脚模板部分。
Dialogue: 0,0:00:38.00,0:00:39.88,Original,,0,0,0,,I think it is important to clarify
Dialogue: 0,0:00:39.88,0:00:42.00,Original,,0,0,0,,the following information from the start.
Dialogue: 0,0:00:38.00,0:00:42.00,Translated,,0,0,0,,我认为从一开始就澄清以下信息很重要。
Dialogue: 0,0:00:42.00,0:00:44.38,Original,,0,0,0,,Templates are not for posting content,
Dialogue: 0,0:00:42.00,0:00:44.38,Translated,,0,0,0,,模板并非用于发布内容,
Dialogue: 0,0:00:44.38,0:00:47.16,Original,,0,0,0,,and templates for a post or page display
Dialogue: 0,0:00:47.16,0:00:50.00,Original,,0,0,0,,your content with the post content block.
Dialogue: 0,0:00:44.38,0:00:50.00,Translated,,0,0,0,,而文章或页面的模板会通过文章内容区块来显示您的内容。
Dialogue: 0,0:00:50.00,0:00:53.27,Original,,0,0,0,,Templates are, as the name implies, design templates
Dialogue: 0,0:00:50.00,0:00:53.27,Translated,,0,0,0,,模板,顾名思义,是设计模板,
Dialogue: 0,0:00:53.27,0:00:57.00,Original,,0,0,0,,that can be applied to single or multiple pages and posts.
Dialogue: 0,0:00:53.27,0:00:57.00,Translated,,0,0,0,,可以应用于单个或多个页面和文章。
Dialogue: 0,0:00:58.00,0:01:00.00,Original,,0,0,0,,To access templates, make your way
Dialogue: 0,0:01:00.00,0:01:02.00,Original,,0,0,0,,to Appearance and click on Editor.
Dialogue: 0,0:00:58.00,0:01:02.00,Translated,,0,0,0,,要访问模板,请转到外观并点击编辑。
Dialogue: 0,0:01:02.00,0:01:05.00,Original,,0,0,0,,This will take you to your site editor.
Dialogue: 0,0:01:02.00,0:01:05.00,Translated,,0,0,0,,这将带您进入站点编辑器。
Dialogue: 0,0:01:06.00,0:01:12.35,Original,,0,0,0,,The editor can be used to customize the styles
Dialogue: 0,0:01:12.35,0:01:19.19,Original,,0,0,0,,of your entire site, edit pages, modify templates,
Dialogue: 0,0:01:06.00,0:01:19.19,Translated,,0,0,0,,编辑器可用于自定义整个网站的样式、编辑页面、修改模板,
Dialogue: 0,0:01:19.19,0:01:27.00,Original,,0,0,0,,as well as manage all the different patterns on your site.
Dialogue: 0,0:01:19.19,0:01:27.00,Translated,,0,0,0,,以及管理您网站上的所有不同区块样板。
Dialogue: 0,0:01:30.00,0:01:32.61,Original,,0,0,0,,When you start building a new website,
Dialogue: 0,0:01:32.61,0:01:35.72,Original,,0,0,0,,you can edit existing templates or add new ones,
Dialogue: 0,0:01:30.00,0:01:35.72,Translated,,0,0,0,,当您开始构建新网站时,可以编辑现有模板或添加新模板,
Dialogue: 0,0:01:35.72,0:01:38.28,Original,,0,0,0,,and the theme you are using will determine which
Dialogue: 0,0:01:38.28,0:01:41.00,Original,,0,0,0,,existing or built-in templates are available to use.
Dialogue: 0,0:01:35.72,0:01:41.00,Translated,,0,0,0,,而您使用的主题将决定哪些现有或内建模板可供使用。
Dialogue: 0,0:01:41.00,0:01:44.94,Original,,0,0,0,,So first up is the page template, which creates the
Dialogue: 0,0:01:44.94,0:01:49.00,Original,,0,0,0,,structure for how individual pages will be displayed.
Dialogue: 0,0:01:41.00,0:01:49.00,Translated,,0,0,0,,所以首先是页面模板,它为单个页面的显示方式创建结构。
Dialogue: 0,0:01:51.00,0:01:54.95,Original,,0,0,0,,Next is the single post template,
Dialogue: 0,0:01:54.95,0:01:59.00,Original,,0,0,0,,which displays a single blog post.
Dialogue: 0,0:01:51.00,0:01:59.00,Translated,,0,0,0,,接下来是单篇文章模板,它用于显示单篇博客文章。
Dialogue: 0,0:02:03.00,0:02:08.14,Original,,0,0,0,,The index template displays posts, and the 404
Dialogue: 0,0:02:08.14,0:02:13.00,Original,,0,0,0,,template displays when no content is found.
Dialogue: 0,0:02:03.00,0:02:13.00,Translated,,0,0,0,,索引模板用于显示文章,而\h404\h模板在未找到内容时显示。
Dialogue: 0,0:02:14.00,0:02:16.06,Original,,0,0,0,,And these templates can of course
Dialogue: 0,0:02:16.06,0:02:18.00,Original,,0,0,0,,all be modified as you please.
Dialogue: 0,0:02:14.00,0:02:18.00,Translated,,0,0,0,,当然,所有这些模板都可以按您的意愿进行修改。
Dialogue: 0,0:02:19.00,0:02:21.17,Original,,0,0,0,,Then there are also other built-in
Dialogue: 0,0:02:21.17,0:02:23.00,Original,,0,0,0,,templates worth exploring.
Dialogue: 0,0:02:19.00,0:02:23.00,Translated,,0,0,0,,此外,还有其他值得探索的内建模板。
Dialogue: 0,0:02:23.00,0:02:25.00,Original,,0,0,0,,For example, a blank template.
Dialogue: 0,0:02:23.00,0:02:25.00,Translated,,0,0,0,,例如,一个空白模板。
Dialogue: 0,0:02:28.00,0:02:30.38,Original,,0,0,0,,To add a new template, click on the
Dialogue: 0,0:02:30.38,0:02:33.00,Original,,0,0,0,,Insertor or Plus icon next to templates.
Dialogue: 0,0:02:28.00,0:02:33.00,Translated,,0,0,0,,要添加新模板,请点击模板旁边的插入器或加号图标。
Dialogue: 0,0:02:33.00,0:02:35.02,Original,,0,0,0,,A modal appears where you can choose
Dialogue: 0,0:02:35.02,0:02:37.00,Original,,0,0,0,,between different template options.
Dialogue: 0,0:02:33.00,0:02:37.00,Translated,,0,0,0,,会出现一个模态框,你可以在不同的模板选项之间进行选择。
Dialogue: 0,0:02:37.00,0:02:40.86,Original,,0,0,0,,You can, for example, create a template for a specific page,
Dialogue: 0,0:02:37.00,0:02:40.86,Translated,,0,0,0,,例如,你可以为特定页面创建一个模板,
Dialogue: 0,0:02:40.86,0:02:43.24,Original,,0,0,0,,or a template for all your post
Dialogue: 0,0:02:43.24,0:02:46.00,Original,,0,0,0,,categories, or an individual category.
Dialogue: 0,0:02:40.86,0:02:46.00,Translated,,0,0,0,,或为所有文章分类创建一个模板,或为单个分类创建。
Dialogue: 0,0:02:46.00,0:02:48.59,Original,,0,0,0,,You can even create your own custom template
Dialogue: 0,0:02:48.59,0:02:51.00,Original,,0,0,0,,that can be applied to any post or page.
Dialogue: 0,0:02:46.00,0:02:51.00,Translated,,0,0,0,,你甚至可以创建自己的自定义模板,应用于任何文章或页面。
Dialogue: 0,0:02:53.00,0:02:56.65,Original,,0,0,0,,When you create a new template, in this case
Dialogue: 0,0:02:56.65,0:03:00.49,Original,,0,0,0,,a custom template, and after you have named it,
Dialogue: 0,0:02:53.00,0:03:00.49,Translated,,0,0,0,,当你创建一个新模板(这里指自定义模板)并为其命名后,
Dialogue: 0,0:03:00.49,0:03:05.44,Original,,0,0,0,,you will be asked if you would like to select a pattern,
Dialogue: 0,0:03:05.44,0:03:10.00,Original,,0,0,0,,and if you want to start blank, merely select Skip.
Dialogue: 0,0:03:00.49,0:03:10.00,Translated,,0,0,0,,系统会询问你是否要选择一个样板,如果你想从空白开始,只需选择跳过。
Dialogue: 0,0:03:11.00,0:03:14.00,Original,,0,0,0,,Next, how do we edit templates?
Dialogue: 0,0:03:11.00,0:03:14.00,Translated,,0,0,0,,接下来,我们如何编辑模板?
Dialogue: 0,0:03:14.00,0:03:17.57,Original,,0,0,0,,After selecting the relevant template, you can click
Dialogue: 0,0:03:17.57,0:03:20.81,Original,,0,0,0,,on the Edit icon in the sidebar next to Pages,
Dialogue: 0,0:03:14.00,0:03:20.81,Translated,,0,0,0,,选择相关模板后,你可以点击页面旁边边栏中的编辑图标,
Dialogue: 0,0:03:20.81,0:03:25.00,Original,,0,0,0,,or on the Template screen on the right.
Dialogue: 0,0:03:20.81,0:03:25.00,Translated,,0,0,0,,或点击右侧模板屏幕上的编辑图标。
Dialogue: 0,0:03:26.00,0:03:28.42,Original,,0,0,0,,Once your template opens up, you can start
Dialogue: 0,0:03:28.42,0:03:31.00,Original,,0,0,0,,editing your header and footer template parts.
Dialogue: 0,0:03:26.00,0:03:31.00,Translated,,0,0,0,,一旦你的模板打开,你就可以开始编辑页眉和页脚模板部分。
Dialogue: 0,0:03:31.00,0:03:34.00,Original,,0,0,0,,Let's pause to reflect for a moment.
Dialogue: 0,0:03:31.00,0:03:34.00,Translated,,0,0,0,,让我们暂停片刻,思考一下。
Dialogue: 0,0:03:34.00,0:03:36.88,Original,,0,0,0,,When you edit a template, you need to remember
Dialogue: 0,0:03:36.88,0:03:40.00,Original,,0,0,0,,to separate the dynamic parts and the static parts.
Dialogue: 0,0:03:34.00,0:03:40.00,Translated,,0,0,0,,当你编辑模板时,需要记住区分动态部分和静态部分。
Dialogue: 0,0:03:40.00,0:03:43.16,Original,,0,0,0,,The dynamic part is the content part that will change
Dialogue: 0,0:03:43.16,0:03:46.00,Original,,0,0,0,,for every page or post that uses the template.
Dialogue: 0,0:03:40.00,0:03:46.00,Translated,,0,0,0,,动态部分是内容部分,它会为使用该模板的每个页面或文章而变化。
Dialogue: 0,0:03:46.00,0:03:48.97,Original,,0,0,0,,And as you can see in this example, the content
Dialogue: 0,0:03:48.97,0:03:51.60,Original,,0,0,0,,from your page or post will be displayed
Dialogue: 0,0:03:46.00,0:03:51.60,Translated,,0,0,0,,正如你在这个例子中看到的,你的页面或文章的内容将会显示在
Dialogue: 0,0:03:51.60,0:03:53.23,Original,,0,0,0,,where the post content block
Dialogue: 0,0:03:53.23,0:03:55.00,Original,,0,0,0,,has been added in your template.
Dialogue: 0,0:03:51.60,0:03:55.00,Translated,,0,0,0,,你模板中添加了文章内容区块的位置。
Dialogue: 0,0:03:55.00,0:03:57.23,Original,,0,0,0,,The static parts are the reusable parts
Dialogue: 0,0:03:57.23,0:03:59.50,Original,,0,0,0,,of the template that will stay the same,
Dialogue: 0,0:03:55.00,0:03:59.50,Translated,,0,0,0,,静态部分是模板中可重复使用的部分,它们保持不变,
Dialogue: 0,0:03:59.50,0:04:01.00,Original,,0,0,0,,like the header and the footer.
Dialogue: 0,0:03:59.50,0:04:01.00,Translated,,0,0,0,,比如页眉和页脚。
Dialogue: 0,0:04:01.00,0:04:05.00,Original,,0,0,0,,We therefore don't add any content to the template.
Dialogue: 0,0:04:01.00,0:04:05.00,Translated,,0,0,0,,因此,我们不会向模板添加任何内容。
Dialogue: 0,0:04:06.00,0:04:08.81,Original,,0,0,0,,The site editor therefore makes a clear distinction
Dialogue: 0,0:04:08.81,0:04:11.57,Original,,0,0,0,,between editing a page's content and its template,
Dialogue: 0,0:04:06.00,0:04:11.57,Translated,,0,0,0,,因此,站点编辑器明确区分了编辑页面内容与编辑其模板,
Dialogue: 0,0:04:11.57,0:04:14.86,Original,,0,0,0,,making it easier for you to switch between the two
Dialogue: 0,0:04:14.86,0:04:18.00,Original,,0,0,0,,modes and view them in the appropriate context.
Dialogue: 0,0:04:11.57,0:04:18.00,Translated,,0,0,0,,让你能更轻松地在两种模式间切换,并在合适的上下文中查看它们。
Dialogue: 0,0:04:18.00,0:04:21.00,Original,,0,0,0,,Let's see this in action.
Dialogue: 0,0:04:18.00,0:04:21.00,Translated,,0,0,0,,让我们看看实际操作。
Dialogue: 0,0:04:21.00,0:04:25.00,Original,,0,0,0,,So let's go ahead and open up one of our pages.
Dialogue: 0,0:04:21.00,0:04:25.00,Translated,,0,0,0,,那么,我们继续并打开我们的一个页面。
Dialogue: 0,0:04:25.00,0:04:29.00,Original,,0,0,0,,And in this case, my sample page.
Dialogue: 0,0:04:25.00,0:04:29.00,Translated,,0,0,0,,在这个例子中,是我的示例页面。
Dialogue: 0,0:04:29.00,0:04:31.55,Original,,0,0,0,,Once we open up our page, we can also
Dialogue: 0,0:04:31.55,0:04:34.00,Original,,0,0,0,,go ahead and open up the list view.
Dialogue: 0,0:04:29.00,0:04:34.00,Translated,,0,0,0,,一旦我们打开了页面,我们也可以继续并打开列表视图。
Dialogue: 0,0:04:35.00,0:04:37.76,Original,,0,0,0,,And when we select the post content block,
Dialogue: 0,0:04:37.76,0:04:41.00,Original,,0,0,0,,we will notice that all our content that we've added
Dialogue: 0,0:04:35.00,0:04:41.00,Translated,,0,0,0,,当我们选中文章内容区块时,我们会注意到我们添加的所有内容
Dialogue: 0,0:04:41.00,0:04:44.00,Original,,0,0,0,,has been added to the post content block.
Dialogue: 0,0:04:41.00,0:04:44.00,Translated,,0,0,0,,都已被添加到文章内容区块中。
Dialogue: 0,0:04:44.00,0:04:49.00,Original,,0,0,0,,You will also see this in the settings sidebar on the right.
Dialogue: 0,0:04:44.00,0:04:49.00,Translated,,0,0,0,,您也会在右侧的设置边栏中看到这一点。
Dialogue: 0,0:04:49.00,0:04:51.53,Original,,0,0,0,,But what will happen now if I try
Dialogue: 0,0:04:51.53,0:04:54.00,Original,,0,0,0,,to edit my header and my footer?
Dialogue: 0,0:04:49.00,0:04:54.00,Translated,,0,0,0,,但如果我现在尝试编辑我的页眉和页脚,会发生什么?
Dialogue: 0,0:04:54.00,0:04:56.29,Original,,0,0,0,,Let's go ahead and click on
Dialogue: 0,0:04:56.29,0:04:59.00,Original,,0,0,0,,the header to try and modify this.
Dialogue: 0,0:04:54.00,0:04:59.00,Translated,,0,0,0,,我们继续并点击页眉来尝试修改它。
Dialogue: 0,0:04:59.00,0:05:01.48,Original,,0,0,0,,You will see a message that pops up and it
Dialogue: 0,0:05:01.48,0:05:04.00,Original,,0,0,0,,says edit your template to edit this block.
Dialogue: 0,0:04:59.00,0:05:04.00,Translated,,0,0,0,,您会看到一条弹出的消息,上面写着“编辑您的模板以编辑此区块”。
Dialogue: 0,0:05:04.00,0:05:08.00,Original,,0,0,0,,And the same goes for our footer.
Dialogue: 0,0:05:04.00,0:05:08.00,Translated,,0,0,0,,我们的页脚也是如此。
Dialogue: 0,0:05:08.00,0:05:12.00,Original,,0,0,0,,If we try and edit our footer, we will be
Dialogue: 0,0:05:12.00,0:05:16.00,Original,,0,0,0,,prompted to make our way to the template.
Dialogue: 0,0:05:08.00,0:05:16.00,Translated,,0,0,0,,如果我们尝试编辑页脚,系统会提示我们前往模板。
Dialogue: 0,0:05:16.00,0:05:20.46,Original,,0,0,0,,So to do this, we can click on edit template in
Dialogue: 0,0:05:20.46,0:05:25.00,Original,,0,0,0,,the settings sidebar on the right at the bottom.
Dialogue: 0,0:05:16.00,0:05:25.00,Translated,,0,0,0,,为此,我们可以点击右侧底部设置边栏中的“编辑模板”。
Dialogue: 0,0:05:25.00,0:05:27.00,Original,,0,0,0,,This will take you to the template that
Dialogue: 0,0:05:27.00,0:05:29.00,Original,,0,0,0,,has been assigned to the relevant page.
Dialogue: 0,0:05:25.00,0:05:29.00,Translated,,0,0,0,,这将带您进入已分配给相关页面的模板。
Dialogue: 0,0:05:29.00,0:05:31.32,Original,,0,0,0,,And now we can go ahead and
Dialogue: 0,0:05:31.32,0:05:34.00,Original,,0,0,0,,update our header and our footer.
Dialogue: 0,0:05:29.00,0:05:34.00,Translated,,0,0,0,,现在我们可以继续更新我们的页眉和页脚。
Dialogue: 0,0:05:34.00,0:05:36.39,Original,,0,0,0,,And we will notice that the post
Dialogue: 0,0:05:36.39,0:05:39.00,Original,,0,0,0,,content block is only a placeholder.
Dialogue: 0,0:05:34.00,0:05:39.00,Translated,,0,0,0,,我们会注意到文章内容区块只是一个占位符。
Dialogue: 0,0:05:39.00,0:05:43.00,Original,,0,0,0,,We cannot add any content here.
Dialogue: 0,0:05:39.00,0:05:43.00,Translated,,0,0,0,,我们无法在此处添加任何内容。
Dialogue: 0,0:05:43.00,0:05:46.70,Original,,0,0,0,,Next, I'm going to select my footer,
Dialogue: 0,0:05:46.70,0:05:50.16,Original,,0,0,0,,click on the three vertical dots,
Dialogue: 0,0:05:43.00,0:05:50.16,Translated,,0,0,0,,接下来,我将选择我的页脚,点击那三个垂直的点,
Dialogue: 0,0:05:50.16,0:05:53.58,Original,,0,0,0,,and then replace this footer with one
Dialogue: 0,0:05:53.58,0:05:57.00,Original,,0,0,0,,of my existing footer template parts.
Dialogue: 0,0:05:50.16,0:05:57.00,Translated,,0,0,0,,然后用我现有的一个页脚模板部分替换这个页脚。
Dialogue: 0,0:05:57.00,0:06:00.38,Original,,0,0,0,,And when I'm done, I'm going to click save.
Dialogue: 0,0:05:57.00,0:06:00.38,Translated,,0,0,0,,完成后,我将点击保存。
Dialogue: 0,0:06:00.38,0:06:05.00,Original,,0,0,0,,And now I have updated my page template.
Dialogue: 0,0:06:00.38,0:06:05.00,Translated,,0,0,0,,现在我已经更新了我的页面模板。
Dialogue: 0,0:06:05.00,0:06:08.33,Original,,0,0,0,,If you would like to return to the page,
Dialogue: 0,0:06:08.33,0:06:11.00,Original,,0,0,0,,click on back on your toolbar.
Dialogue: 0,0:06:05.00,0:06:11.00,Translated,,0,0,0,,如果你想返回页面,请点击工具栏上的返回按钮。
Dialogue: 0,0:06:11.00,0:06:13.05,Original,,0,0,0,,And this will take you back to the page
Dialogue: 0,0:06:13.05,0:06:15.00,Original,,0,0,0,,so that you can modify your content.
Dialogue: 0,0:06:11.00,0:06:15.00,Translated,,0,0,0,,这将带你回到页面,以便你可以修改你的内容。
Dialogue: 0,0:06:15.00,0:06:19.00,Original,,0,0,0,,And of course, you can edit your template separately.
Dialogue: 0,0:06:15.00,0:06:19.00,Translated,,0,0,0,,当然,你也可以单独编辑你的模板。
Dialogue: 0,0:06:19.00,0:06:21.17,Original,,0,0,0,,When we make our way back to
Dialogue: 0,0:06:21.17,0:06:23.71,Original,,0,0,0,,templates in the side view sidebar,
Dialogue: 0,0:06:19.00,0:06:23.71,Translated,,0,0,0,,当我们回到侧边栏视图中的模板部分时,
Dialogue: 0,0:06:23.71,0:06:26.63,Original,,0,0,0,,we will notice right at the bottom,
Dialogue: 0,0:06:26.63,0:06:30.00,Original,,0,0,0,,there's an option to manage all templates.
Dialogue: 0,0:06:23.71,0:06:30.00,Translated,,0,0,0,,我们会注意到在最底部,有一个管理所有模板的选项。
Dialogue: 0,0:06:30.00,0:06:34.17,Original,,0,0,0,,And when you select this, you'll be able to rename
Dialogue: 0,0:06:34.17,0:06:38.00,Original,,0,0,0,,and delete custom templates you have created.
Dialogue: 0,0:06:30.00,0:06:38.00,Translated,,0,0,0,,当你选择这个选项时,你将能够重命名和删除你创建的自定义模板。
Dialogue: 0,0:06:38.00,0:06:41.78,Original,,0,0,0,,Or you can clear the customizations
Dialogue: 0,0:06:41.78,0:06:46.00,Original,,0,0,0,,of building templates you have modified.
Dialogue: 0,0:06:38.00,0:06:46.00,Translated,,0,0,0,,或者你可以清除你修改过的构建模板的自定义设置。
Dialogue: 0,0:06:46.00,0:06:48.43,Original,,0,0,0,,In the next section, we are going to discuss
Dialogue: 0,0:06:48.43,0:06:51.06,Original,,0,0,0,,assigning a different template to a page or post.
Dialogue: 0,0:06:46.00,0:06:51.06,Translated,,0,0,0,,在下一节中,我们将讨论为页面或文章分配不同的模板。
Dialogue: 0,0:06:51.06,0:06:52.88,Original,,0,0,0,,Now, at the moment, we are on
Dialogue: 0,0:06:52.88,0:06:54.81,Original,,0,0,0,,the front end of my sample page,
Dialogue: 0,0:06:51.06,0:06:54.81,Translated,,0,0,0,,现在,我们正在我的示例页面的前端,
Dialogue: 0,0:06:54.81,0:06:59.00,Original,,0,0,0,,and we have assigned this page to the page template.
Dialogue: 0,0:06:54.81,0:06:59.00,Translated,,0,0,0,,并且我们已经将此页面分配给了页面模板。
Dialogue: 0,0:06:59.00,0:07:02.29,Original,,0,0,0,,I've gone ahead and created a custom template
Dialogue: 0,0:07:02.29,0:07:05.00,Original,,0,0,0,,with a new header and a new footer.
Dialogue: 0,0:06:59.00,0:07:05.00,Translated,,0,0,0,,我已经提前创建了一个带有新页眉和新页脚的自定义模板。
Dialogue: 0,0:07:05.00,0:07:07.73,Original,,0,0,0,,To assign the new custom template,
Dialogue: 0,0:07:07.73,0:07:10.64,Original,,0,0,0,,we can click on edit page at the top,
Dialogue: 0,0:07:05.00,0:07:10.64,Translated,,0,0,0,,要分配新的自定义模板,我们可以点击顶部的编辑页面,
Dialogue: 0,0:07:10.64,0:07:14.79,Original,,0,0,0,,or we can make our way to the dashboard, open up pages,
Dialogue: 0,0:07:14.79,0:07:19.00,Original,,0,0,0,,select the relevant page, in this case, the sample page.
Dialogue: 0,0:07:10.64,0:07:14.54,Translated,,0,0,0,,或者我们可以前往仪表盘,打开页面,
Dialogue: 0,0:07:14.54,0:07:19.00,Translated,,0,0,0,,选择相关页面,在这个例子中就是示例页面。
Dialogue: 0,0:07:19.00,0:07:23.48,Original,,0,0,0,,And then once we open up the page, we will see our content,
Dialogue: 0,0:07:19.00,0:07:23.48,Translated,,0,0,0,,然后,一旦我们打开页面,就会看到我们的内容,
Dialogue: 0,0:07:23.48,0:07:25.74,Original,,0,0,0,,but when we open up our sidebar settings,
Dialogue: 0,0:07:25.74,0:07:28.31,Original,,0,0,0,,on the right, we will see that this page has been
Dialogue: 0,0:07:28.31,0:07:31.00,Original,,0,0,0,,assigned to the page template, the default template.
Dialogue: 0,0:07:23.48,0:07:26.66,Translated,,0,0,0,,但当我们打开右侧的边栏设置时,
Dialogue: 0,0:07:26.66,0:07:31.00,Translated,,0,0,0,,会看到此页面已被指派给页面模板,即默认模板。
Dialogue: 0,0:07:31.00,0:07:34.21,Original,,0,0,0,,If you click on the name,
Dialogue: 0,0:07:31.00,0:07:34.21,Translated,,0,0,0,,如果你点击这个名称,
Dialogue: 0,0:07:34.21,0:07:36.96,Original,,0,0,0,,you will notice you are able
Dialogue: 0,0:07:36.96,0:07:40.00,Original,,0,0,0,,to add a new template from here.
Dialogue: 0,0:07:34.21,0:07:40.00,Translated,,0,0,0,,你会注意到可以从这里添加一个新模板。
Dialogue: 0,0:07:40.00,0:07:43.00,Original,,0,0,0,,You can edit the template assigned to the page.
Dialogue: 0,0:07:40.00,0:07:43.00,Translated,,0,0,0,,你可以编辑已分配给此页面的模板。
Dialogue: 0,0:07:43.00,0:07:46.34,Original,,0,0,0,,Or if you click on the dropdown, you can
Dialogue: 0,0:07:46.34,0:07:50.00,Original,,0,0,0,,select or assign a new template to this page.
Dialogue: 0,0:07:43.00,0:07:50.00,Translated,,0,0,0,,或者,如果你点击下拉菜单,可以选择或为此页面分配一个新模板。
Dialogue: 0,0:07:50.00,0:07:52.97,Original,,0,0,0,,I'm going to go ahead and select the
Dialogue: 0,0:07:52.97,0:07:56.00,Original,,0,0,0,,custom template which I have created.
Dialogue: 0,0:07:50.00,0:07:56.00,Translated,,0,0,0,,我将继续操作,选择我创建的自定义模板。
Dialogue: 0,0:07:56.00,0:08:01.00,Original,,0,0,0,,And once I've done that, I will update.
Dialogue: 0,0:07:56.00,0:08:01.00,Translated,,0,0,0,,一旦完成,我就会更新。
Dialogue: 0,0:08:01.00,0:08:05.80,Original,,0,0,0,,We can preview the page in a new tab,
Dialogue: 0,0:08:01.00,0:08:05.80,Translated,,0,0,0,,我们可以在新标签页中预览页面,
Dialogue: 0,0:08:05.80,0:08:09.60,Original,,0,0,0,,and now we will see that this page has a new
Dialogue: 0,0:08:09.60,0:08:13.20,Original,,0,0,0,,header and a new footer due to the custom
Dialogue: 0,0:08:13.20,0:08:17.00,Original,,0,0,0,,template which I have assigned to this page.
Dialogue: 0,0:08:05.80,0:08:11.54,Translated,,0,0,0,,现在我们会看到,由于我为此页面分配了
Dialogue: 0,0:08:11.54,0:08:17.00,Translated,,0,0,0,,自定义模板,它有了新的页眉和页脚。
Dialogue: 0,0:08:17.00,0:08:20.45,Original,,0,0,0,,Lastly, let's briefly talk about header and footer
Dialogue: 0,0:08:20.45,0:08:24.00,Original,,0,0,0,,template parts which we use to set up our templates.
Dialogue: 0,0:08:17.00,0:08:24.00,Translated,,0,0,0,,最后,我们简要谈谈用于设置模板的页眉和页脚模板部分。
Dialogue: 0,0:08:24.00,0:08:26.32,Original,,0,0,0,,You can edit a header or footer
Dialogue: 0,0:08:26.32,0:08:29.00,Original,,0,0,0,,template part right within a template.
Dialogue: 0,0:08:24.00,0:08:29.00,Translated,,0,0,0,,你可以直接在模板内编辑页眉或页脚模板部分。
Dialogue: 0,0:08:29.00,0:08:33.57,Original,,0,0,0,,In this example, I am editing my header template part,
Dialogue: 0,0:08:29.00,0:08:33.57,Translated,,0,0,0,,在这个例子中,我正在编辑我的页眉模板部分,
Dialogue: 0,0:08:33.57,0:08:36.15,Original,,0,0,0,,and I'm stacking my site title and my site
Dialogue: 0,0:08:36.15,0:08:39.00,Original,,0,0,0,,tagline block together in a stacked group block.
Dialogue: 0,0:08:33.57,0:08:39.00,Translated,,0,0,0,,并将站点标题和站点标语区块堆叠在一个堆叠组区块中。
Dialogue: 0,0:08:39.00,0:08:45.18,Original,,0,0,0,,Then I'll also make sure that I open up my settings sidebar,
Dialogue: 0,0:08:39.00,0:08:45.18,Translated,,0,0,0,,然后,我还会确保打开我的设置边栏,
Dialogue: 0,0:08:45.18,0:08:51.00,Original,,0,0,0,,and I will remove some spacing between the two blocks.
Dialogue: 0,0:08:45.18,0:08:51.00,Translated,,0,0,0,,并移除这两个区块之间的一些间距。
Dialogue: 0,0:08:51.00,0:08:53.73,Original,,0,0,0,,When you select a header or footer template part,
Dialogue: 0,0:08:53.73,0:08:56.00,Original,,0,0,0,,you will see an option that says edit.
Dialogue: 0,0:08:51.00,0:08:56.00,Translated,,0,0,0,,当你选择一个页眉或页脚模板部分时,会看到一个写着“编辑”的选项。
Dialogue: 0,0:08:56.00,0:09:01.15,Original,,0,0,0,,When you select edit, you will be able to edit the template
Dialogue: 0,0:09:01.15,0:09:06.00,Original,,0,0,0,,part in template editing mode without any distractions.
Dialogue: 0,0:08:56.00,0:09:06.00,Translated,,0,0,0,,当你选择编辑时,就能在模板编辑模式下编辑模板部分,不受任何干扰。
Dialogue: 0,0:09:06.00,0:09:09.82,Original,,0,0,0,,Another option is to make your way
Dialogue: 0,0:09:09.82,0:09:14.00,Original,,0,0,0,,to patterns in your site view sidebar.
Dialogue: 0,0:09:06.00,0:09:14.00,Translated,,0,0,0,,另一个选项是前往站点视图边栏中的样板。
Dialogue: 0,0:09:14.00,0:09:17.81,Original,,0,0,0,,When you select patterns, you can scroll to the bottom,
Dialogue: 0,0:09:14.00,0:09:17.81,Translated,,0,0,0,,当你选择样板时,可以滚动到底部,
Dialogue: 0,0:09:17.81,0:09:20.99,Original,,0,0,0,,and here you are able to view and modify your
Dialogue: 0,0:09:20.99,0:09:24.00,Original,,0,0,0,,header, footer and general template parts.
Dialogue: 0,0:09:17.81,0:09:24.00,Translated,,0,0,0,,在这里你可以查看和修改你的页眉、页脚和通用模板部分。
Dialogue: 0,0:09:24.00,0:09:26.37,Original,,0,0,0,,To add a new template part, click
Dialogue: 0,0:09:26.37,0:09:28.74,Original,,0,0,0,,on the plus icon next to patterns
Dialogue: 0,0:09:24.00,0:09:28.74,Translated,,0,0,0,,要添加新的模板部分,请点击样板旁边的加号图标,
Dialogue: 0,0:09:28.74,0:09:31.00,Original,,0,0,0,,and select create template part.
Dialogue: 0,0:09:28.74,0:09:31.00,Translated,,0,0,0,,然后选择创建模板部分。
Dialogue: 0,0:09:31.00,0:09:33.04,Original,,0,0,0,,You have an option between general,
Dialogue: 0,0:09:33.04,0:09:35.00,Original,,0,0,0,,header and footer template parts.
Dialogue: 0,0:09:31.00,0:09:35.00,Translated,,0,0,0,,你可以在通用、页眉和页脚模板部分之间进行选择。
Dialogue: 0,0:09:35.00,0:09:38.58,Original,,0,0,0,,General template parts are not tied to any particular area,
Dialogue: 0,0:09:35.00,0:09:38.58,Translated,,0,0,0,,通用模板部分不绑定到任何特定区域,
Dialogue: 0,0:09:38.58,0:09:43.00,Original,,0,0,0,,and remember to give your template part a descriptive name.
Dialogue: 0,0:09:38.58,0:09:43.00,Translated,,0,0,0,,并且记得为你的模板部分起一个描述性的名称。
Dialogue: 0,0:09:43.00,0:09:44.74,Original,,0,0,0,,When you click on the three
Dialogue: 0,0:09:44.74,0:09:46.91,Original,,0,0,0,,horizontal dots below a template part,
Dialogue: 0,0:09:43.00,0:09:46.91,Translated,,0,0,0,,当你点击模板部分下方的三个水平圆点时,
Dialogue: 0,0:09:46.91,0:09:50.00,Original,,0,0,0,,you will be able to rename, duplicate or delete it.
Dialogue: 0,0:09:46.91,0:09:50.00,Translated,,0,0,0,,你将能够重命名、复制或删除它。
Dialogue: 0,0:09:50.00,0:09:53.14,Original,,0,0,0,,And when you select the template part,
Dialogue: 0,0:09:50.00,0:09:53.14,Translated,,0,0,0,,当你选中该模板部分时,
Dialogue: 0,0:09:53.14,0:09:56.70,Original,,0,0,0,,you will be able to modify it in editing mode
Dialogue: 0,0:09:56.70,0:10:00.00,Original,,0,0,0,,without any distractions as shown before.
Dialogue: 0,0:09:53.14,0:10:00.00,Translated,,0,0,0,,你将能够在编辑模式下修改它,不受干扰,如前所示。
Dialogue: 0,0:10:00.00,0:10:01.41,Original,,0,0,0,,We hope you now have a better
Dialogue: 0,0:10:01.41,0:10:03.00,Original,,0,0,0,,understanding of how templates work.
Dialogue: 0,0:10:00.00,0:10:03.00,Translated,,0,0,0,,我们希望您现在对模板的工作原理有了更好的理解。
Dialogue: 0,0:10:03.00,0:10:05.64,Original,,0,0,0,,To review, a template provides the structure
Dialogue: 0,0:10:05.64,0:10:07.85,Original,,0,0,0,,for how your content is displayed,
Dialogue: 0,0:10:03.00,0:10:07.85,Translated,,0,0,0,,回顾一下,模板为内容的显示方式提供了结构,
Dialogue: 0,0:10:07.85,0:10:09.84,Original,,0,0,0,,and this is usually accomplished
Dialogue: 0,0:10:09.84,0:10:12.00,Original,,0,0,0,,by header and footer template parts.
Dialogue: 0,0:10:07.85,0:10:12.00,Translated,,0,0,0,,这通常通过页眉和页脚模板部分来实现。
Dialogue: 0,0:10:12.00,0:10:16.00,Original,,0,0,0,,And templates can be assigned to single or multiple pages.
Dialogue: 0,0:10:12.00,0:10:16.00,Translated,,0,0,0,,并且模板可以分配给单个或多个页面。