Ubik Series
A lightweight post series taxonomy for WordPress.
- A lightweight implementation of a post series taxonomy. Designed to easily link posts together in a series.
-
ubik_series()
retrieves all posts in a series along with titles and permalinks. -
ubik_series_list()
formats the results of the above function into an ordered list for use in themes. - Series archives themselves are in chronological order (i.e. oldest first).
- Additional customization is necessary; this component only provides the building blocks.
Part of the Ubik family of WordPress components.
Installation
Install via Composer:
composer require synapticism/ubik-series
Install via Bower (warning: no dependency management):
bower install https://github.com/synapticism/ubik-series.git -D
See Pendrell for an example of integration and usage.
Configuration
Two ways to configure this component:
- Set constants and variables in
functions.php
(or some equivalent in your theme) prior to loading this component. - Copy
ubik-[plugin]-config-defaults.php
toubik-[plugin]-config.php
and modify to suit your needs.
Defaults (browse the source for the latest; this list may be outdated):
// Post series order; chronological order ('ASC') by default; false to disable
define( 'UBIK_SERIES_ORDER', 'ASC' );
License
GPLv3.