WordPress精美的国外博客主题:Zentile

本站同款博客主题,适合个人站长

GitHub release (latest by date)
GitHub All Releases
GitHub

Zentile is a lightweight magazine theme inspired by Yandex.Zen.

Demo • Download v1.3.1

Features

  • Browsers: Edge, Chrome, Firefox, Safari, Opera
  • Languages: English, Russian
  • Responsive design
  • Gutenberg-ready
  • Translation-ready
  • Built-in image light box
  • Theme settings
    • Customizable logo
    • Customizable background
    • Show/hide featured image at the top of the post
    • Show/hide author bio at the end of the post
    • Always show sidebar
  • Custom widgets
    • Categories
    • Recent comments
    • Recent posts

Requirements

  • PHP >= 5.6
  • WordPress >= 5.3.x

Installation

  • Download the theme from the releases page on GitHub (zentile-x.y.zip).
  • Go to Appearance > Themes > Add New > Upload Theme and upload the downloaded archive with the theme (In order to update the theme in the future you need to install Easy Theme and Plugin Upgrades plugin).
  • OR Unzip the archive to the /wp-content/themes/ directory.
  • Go to Appearance > Themes and activate it.

Post installation

  • Go to Settings > Reading and set Blog pages show at most to 5n (e.g. 5, 10, …).
  • Go to Appearance > Widgets and add widgets Zentile: CategoriesZentile: Recent Comments and Zentile: Recent Posts.
  • Go to Appearance > Customize and customize theme as you need.

Development

Requirements: Node.js >= 12.x, Git

cd <wordpress>/wp-content/themes/
git clone https://github.com/denitcoder/wp-theme-zentile.git zentile
cd zentile

# install dependencies
npm install

# compile and minify all theme assets
npm run build

# or watch for changes
npm run watch

# or compile all assets and create the archive with the theme (e.g. <zentile>/releases/zentile-x.y.zip)
npm run release

Structure

Zentile
├── assets - Uncompiled assets (js, css)
├── dist - Compiled and minified assets
├── releases - Zipped builds ready to publish
├── components - HTML components (buttons, alerts etc)
├── inc - Classes and utils
├── widgets - Custom widget classes
└── languages - Translations

Github项目地址

https://github.com/denitcoder/wp-theme-zentile

0

没有评论

No comments yet

发表评论

电子邮件地址不会被公开。 必填项已用*标注