二〇一九


Twenty Nineteen 是WordPress 5.0的新默认主题。Twenty Nineteen 的核心是简洁而精致的排版。该主题的美学设计简约且不设限制,因此适用于各种应用场景。例如:它非常适合作为以排版为核心的简约博客主题,也可以调整后用于静态企业网站。

Twenty Nineteen 网页版和移动版视图

快速规格

  • 在 1440px 的笔记本电脑屏幕上,单栏布局的主栏宽度最大为 1032px。
  • 页脚中有一个小工具区域,栏宽为 1032px。
  • 推荐的特色图片尺寸为宽 2000px、高 1200px。

全面支持区块编辑器

WordPress 5.0 引入的区块编辑器赋予用户前所未有的自由,可以自定义网站的布局和设计。为了充分实现自己的构想,用户需要新一代的灵活主题,以充分利用区块编辑器带来的创作自由。Twenty Nineteen 正是为此而构建,并为 WordPress 5.0 中提供的所有核心区块同时包含前端和编辑器样式。这意味着您在编辑器中看到的内容几乎会与前端看到的内容完全一致。

A screenshot of a post in Twenty Nineteen that uses the Cover block.
The block settings are opened and shows the color options.

网站标志

Twenty Nineteen 支持网站标志,可作为个人博客的头像,也可作为企业标志或图标,效果都很好。要在您的网站上修改它,请前往“自定义器 > 网站身份”。

The Customizer is open and shows the preview of the site and the settings panel for the Site Identity. The options include the logo, site title and tagline.

自定义颜色

Twenty Nineteen 默认使用蓝色强调色。您可以使用色调滑块自定义该颜色。要查看颜色选项,请前往“自定义器 > 颜色”。

The Customizer is open and shows the preview of the site and the settings panel for the colors. The custom color option is enabled, and a teal color has been selected.

默认情况下,Twenty Nineteen 会使用此处选择的颜色为特色图片应用颜色滤镜。取消选中“使用网站’s 主要颜色为特色图片应用滤镜”复选框即可禁用此功能。请注意,禁用此选项后,主题仍会在单页中的特色图片上应用黑色叠加层,以保持图片上方文字的可读性。

语言支持

Twenty Nineteen 得益于 WordPress 社区的反馈,为多种语言提供了优化的字体样式。该主题默认使用本地系统字体,并会针对以下字母表调整排版:

  • 阿拉伯文
  • 中文
  • 西里尔文
  • 梵文
  • 希腊文
  • 古吉拉特文
  • 希伯来文
  • 日文
  • 韩文
  • 泰文

小工具

Twenty Nineteen 在网站内容下方、页脚上方设有一个小工具区域。

An example of two widgets above the footer. The widgets are text widgets and shows address information and opening hours for a fictive company.
小工具

在宽度大于 1168px 的屏幕上,此区域中的小工具会自动排列为两列。

An example of two horizontal widgets.
大屏幕上的小工具

添加社交图标

Twenty Nineteen 包含一个社交图标菜单,您可以在其中添加社交媒体个人资料链接,这些链接将以标志形式显示在页眉中。如果您不熟悉此功能,请查看Twenty Fifteen 的文档

Twenty Nineteen 的社交图标菜单支持以下服务:

  • Behance
  • Codepen
  • DeviantArt
  • DockerHub
  • Digg
  • Dribbble
  • Dropbox
  • Facebook
  • Flickr
  • Foursquare
  • GitHub
  • Google+
  • Instagram
  • LinkedIn
  • Meanpath
  • Medium
  • Pinterest
  • Periscope
  • Pocket
  • Reddit
  • Skype
  • SlideShare
  • Snapchat
  • SoundCloud
  • Spotify
  • StumbleUpon
  • Tumblr
  • Twitch
  • Twitter
  • Vimeo
  • Vine
  • VK
  • WordPress
  • Yelp
  • YouTube

支持与资源

您可以在 Twenty Nineteen 的论坛中获取社区帮助。

您还可以阅读该主题的变更日志