tfrommen/snowbirdie 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tfrommen/snowbirdie

Composer 安装命令:

composer require tfrommen/snowbirdie

包简介

A Snowbird child theme.

README 文档

README

A Snowbird child theme.

Table of Contents

Installation

Snowbirdie provides a composer.json file so you can install it via Composer:

$ composer require tfrommen/snowbirdie

You can also just use the generated ZIP file.

Notice: Since Snowbirdie is a child theme, you need to have Snowbird installed as well.

Changes

The following sections list all changes (i.e., customizations as well as additions) that will be put in effect when installing Snowbirdie.

Actions

snowbirdie.after_footer_widgets

Snowbirdie provides the snowbirdie.after_footer_widgets action hook that is fired right after the footer widgets. Hooking there allows you to inject markup after the footer widgets.

snowbirdie.before_footer_widgets

Snowbirdie provides the snowbirdie.before_footer_widgets action hook that is fired right before the footer widgets. Hooking there allows you to inject markup before the footer widgets.

Additions

Author Bio Sidebar

Snowbirdie provides an additional widget area, Author Bio ('author-bio'), that is located right after the author bio.

Footer Widgets

Snowbirdie provides a full-width search input in the footer, just before the widgets.

Search in Footer

Style

Author Bio

Snowbirdie wraps the author bio in <p /> tags by using wpautop().

Furthermore, the whole author bio section is pushed below the content when in mobile view.

Avatar

Snowbirdie uses rounded borders on avatars.

Avatar

Color Scheme

Snowbirdie provides an additional color scheme: snowbirdie.

Snowbirdie Color Scheme

Content Width

Snowbirdie uses a content width of 1280 pixels (instead of the original 1110 pixels).

Excerpt

Snowbirdie displays a Read More button below every excerpt, no matter if generated or not.

Read More Button

Footer Text

Snowbirdie renders a footer text that consists of a copyright notice for the current year, the title of the site, and the description.

Footer Text

Image Sizes

Snowbirdie uses the following customized image sizes (all cropped center|center):

  • Featured Image: 1920 x 720
  • Snowbird Large: 1280 x 480
  • Snowbird Thumb: 400 x 400
  • Snowbird Small: 120 x 120

Links

Snowbirdie decorates all links inside posts with an underline.

Template Parts

Featured Image

Snowbirdie displays a <figcaption /> element containing the featured image's caption, if exists.

Featured Image Caption

Loop Sidebar

Snowbirdie always lists the author (i.e., avatar and name) of each post, no matter if there only is one author on the site.

Post Meta

For single post view, Snowbirdie also includes the number of comments in the post meta section.

Comments in Post Meta

Demo

If you would like to see Snowbirdie in action, please refer to my personal website.

License

This code is licensed under the GNU General Public License.

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2016-11-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固