Series Index
Developed by azurecurve
Plugin Description
Allows posts to be grouped into series.
Displays an index of series posts using the [series-index] shortcode, an index of every series on the site using the [index-of-series] shortcode, and a link back to a series’ index post using the [series-index-link] shortcode. This plugin is multi-site compatible and can optionally integrate with the Toggle Show/Hide plugin from azurecurve. The format of the index and other options are user configurable through an admin page.
Two custom fields (Series and Series Pos) need to be added to each post in the series; these fields are used for selecting the posts and ordering them when the index is displayed. The post that should act as the series’ index post should have a Series Pos of 0 (this is used for determining the link for the header).
See the Instructions tab on the plugin’s settings page for full details of all three shortcodes and their attributes.
This plugin is multisite compatible; each site will need settings to be configured in the admin dashboard.
- Download the latest release of the plugin from GitHub.
- Upload the entire zip file using the Plugins upload function in your ClassicPress admin panel.
- Activate the plugin.
- Configure relevant settings via the configuration page in the admin control panel (azurecurve menu).
Yes, the .pot file is in the plugin’s assets/languages folder; if you do translate this plugin, please send the .po and .mo files to [email protected] for inclusion in the next version (full credit will be given).
This plugin is developed for ClassicPress, but will likely work on WordPress.
Versions prior to 2.0.0 had a long-standing bug where the plugin’s database queries never actually matched the Series/Series Pos custom fields correctly (see the 2.0.0 changelog entry below) – so if your index was already empty or incomplete before upgrading, 2.0.0 should fix it rather than break it. If an index that previously worked stops working after upgrading, check that your custom field names are exactly Series and Series Pos (the plugin also still matches the older Series Position/SERIES POS/SERIES POSITION spellings for the position field as a fallback).
- Rebuilt to match the current azurecurve plugin architecture (namespaced code, settings/menu split across includes files, tabbed admin UI matching Shortcodes in Comments).
- Fixed every database query in the plugin matching against the wrong custom field name casing (
SERIES/SERIES POSITION/SERIES POSinstead of the actualSeries/Series Posfields), which meant[series-index]was rendering with no rows,[index-of-series]was always empty, and[series-index-link]was linking to nowhere. - Fixed literal “%1$s”/”%2$s” placeholders appearing on the settings page instead of the intended shortcode/field names.
- Fixed a PHP warning on save when settings had never been configured.
- Replaced the
the_postsshortcode-detection scan with a direct stylesheet enqueue. - Fixed an inefficient
plugin_action_linkshook so it no longer runs for every plugin on the Plugins list page. - Added support for multiple title separators (e.g. both “:” and “…”) via a single comma-separated Title Separators setting, replacing the old single-separator/space-checkbox fields (existing sites are migrated automatically to an equivalent combined value).
- Added a
filterparameter to[index-of-series]to show only series whose title contains a given string. - Added an explicit “Enable Toggle Integration” setting; Toggle Show/Hide integration (and the “Toggle Default” setting) is now off by default on new installs and only used at all once explicitly enabled.
- Added Previous/Next-in-series navigation links below the series index (outside the toggle), controlled by a new “Enable Previous/Next Navigation” setting and a matching
prevnextshortcode attribute. - Added an Instructions tab documenting all three shortcodes (
[series-index],[index-of-series],[series-index-link]) – previously only[series-index]was documented, mixed into the settings form. - Added
functions-activation.phpactivation/deactivation hooks for architectural parity with the rest of the azurecurve plugin family. - Converted all JavaScript to vanilla JS (the plugin did not previously ship any JavaScript of its own).
- BREAKING: minimum PHP requirement raised to 8.2.
- BREAKING: text domain renamed from
series-indextoazrcrv-si, and the translation Domain Path moved from/languagesto/assets/languages; existing translation (.po/.mo) files must be re-supplied under the new domain. - Update readme.md and remove readme.txt (not required for ClassicPress).
- Update azurecurve menu.
- Update plugin header for compatibility with ClasssicPress v2.
- Update plugin header and readme for compatibility with ClassicPress Directory v2.
- Update Update Manager to version 2.5.0.
- Update readme file for compatibility with ClassicPress Directory.
- Update readme files.
- Update language template.
- Fix bug with azurecurve menu.
- Update azurecurve menu.
- Update readme files.
- Update azurecurve menu and logo.
- Fix plugin action link to use admin_url() function.
- Rewrite option handling so defaults not stored in database on plugin initialisation.
- Add plugin icon and banner.
- Update azurecurve plugin menu.
- Amend to only load css when shortcode on page.
- Fix bug with select of series index posts when title includes an apostrophe.
- Fix bug with setting of default options.
- Fix bug with plugin menu.
- Update plugin menu css.
- Rewrite default option creation function to resolve several bugs.
- Upgrade azurecurve plugin to store available plugins in options.
- Update Update Manager class to v2.0.0.
- Update action link.
- Update azurecurve menu icon with compressed image.
- Fix bug with series-index shortcode when series title contains apostrophes.
- Fix bug with series-index-link shortcode when series title contains apostrophes.
- Fix bug with selecting series containing apostrophes in series title.
- Fix bug with incorrect language load text domain.
- Add integration with Update Manager for automatic updates.
- Fix issue with display of azurecurve menu.
- Change settings page heading.
- Add load_plugin_textdomain to handle translations.
- Update azurecurve menu for easier maintenance.
- Move require of azurecurve menu below security check.
- Initial release for ClassicPress forked from azurecurve Series Index WordPress Plugin.
- Remove toggle and integrate with Toggle Show/Hide plugin.
azurecurve was one of the first plugin developers to start developing for ClassicPress; all plugins are available from azurecurve Development and are integrated with the Update Manager plugin for fully integrated, no hassle, updates.
The plugins available from azurecurve are:
- Add Open Graph Tags – details / download
- Add Twitter Cards – details / download
- Avatars – details / download
- BBCode – details / download
- Breadcrumbs – details / download
- Broken Links – details / download
- Call-out Boxes – details / download
- Chroma – details / download
- Code – details / download
- Comment Validator – details / download
- Conditional Links – details / download
- Contact Forms – details / download
- Disable FLoC – details / download
- Display After Post Content – details / download
- Estimated Read Time – details / download
- Events – details / download
- Feed to Post – details / download
- Filtered Categories – details / download
- Flags – details / download
- Floating Featured Image – details / download
- Get GitHub File – details / download
- Icons – details / download
- Image Optimiser – details / download
- Images – details / download
- Insult Generator – details / download
- Load Admin CSS – details / download
- Loop Injection – details / download
- Lorem Ipsum Generator – details / download
- Maintenance Mode – details / download
- Markdown – details / download
- Nearby – details / download
- Page Index – details / download
- Post Archive – details / download
- Quiz Engine – details / download
- Read GitHub File – details / download
- Redirect – details / download
- Remove Revisions – details / download
- RSS Feed – details / download
- RSS Suffix – details / download
- Series Index – details / download
- Shortcodes in Comments – details / download
- Shortcodes in Widgets – details / download
- SMTP – details / download
- Snippets – details / download
- String Inspector – details / download
- Strong Password Generator – details / download
- Tag Cloud – details / download
- Taxonomy Index – details / download
- Taxonomy Order – details / download
- Theme Switcher – details / download
- Timelines – details / download
- Toggle Show/Hide – details / download
- Update Admin Menu – details / download
- URL Shortener – details / download
- Username Protection – details / download
- View Counter – details / download
- Widget Announcements – details / download