Snowbirdie
A Snowbird child theme., (*1)
Table of Contents
Installation
Snowbirdie provides a composer.json
file so you can install it via Composer:, (*2)
$ composer require tfrommen/snowbirdie
You can also just use the generated ZIP file., (*3)
Notice: Since Snowbirdie is a child theme, you need to have Snowbird installed as well., (*4)
Changes
The following sections list all changes (i.e., customizations as well as additions) that will be put in effect when installing Snowbirdie., (*5)
Actions
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., (*6)
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., (*7)
Additions
Snowbirdie provides an additional widget area, _Author Bio_ ('author-bio'
), that is located right after the author bio., (*8)
Snowbirdie provides a full-width search input in the footer, just before the widgets., (*9)
, (*10)
Style
Author Bio
Snowbirdie wraps the author bio in <p />
tags by using wpautop()
., (*11)
Furthermore, the whole author bio section is pushed below the content when in mobile view., (*12)
Avatar
Snowbirdie uses rounded borders on avatars., (*13)
, (*14)
Color Scheme
Snowbirdie provides an additional color scheme: snowbirdie., (*15)
, (*16)
Content Width
Snowbirdie uses a content width of 1280 pixels (instead of the original 1110 pixels)., (*17)
Excerpt
Snowbirdie displays a Read More button below every excerpt, no matter if generated or not., (*18)
, (*19)
Snowbirdie renders a footer text that consists of a copyright notice for the current year, the title of the site, and the description., (*20)
, (*21)
Image Sizes
Snowbirdie uses the following customized image sizes (all cropped center|center):, (*22)
- 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., (*23)
Template Parts
Featured Image
Snowbirdie displays a <figcaption />
element containing the featured image's caption, if exists., (*24)
, (*25)
Snowbirdie always lists the author (i.e., avatar and name) of each post, no matter if there only is one author on the site., (*26)
Post Meta
For single post view, Snowbirdie also includes the number of comments in the post meta section., (*27)
, (*28)
Demo
If you would like to see Snowbirdie in action, please refer to my personal website., (*29)
License
This code is licensed under the GNU General Public License., (*30)