WordPress categories are great for grouping posts of a similar nature together, but creating a new (sub-)category every time you have a series of posts can be tedious. Sometimes you might not have enough posts in the series to justify a whole new category. Or perhaps each post in the series belongs in seperate categories. Various plugins exist to link posts together by various criteria; but no elegant solution existed to definitively link sequential posts in a series, regardless of when they were posted, or to which categories they belong. Until now!
In-Series provides an easy, future-proof way to connect a series of posts. If you have a series of articles on your site, and you want to ensure your readers can follow the sequence within the series, In-Series will help you provide the links between the posts and articles, improving your site's navigation.
The plugin creates three new template tags available for use in your theme's single.php:
previous_in_series()next_in_series()all_in_series()series_table_of_contents()Then simply apply two new custom fields to the posts in your series:
Examples are provided in the in-series.txt included in the zip file.
UPDATE: Thanks to Lorelle for spotting an error with sorting long tables of contents; and to ColdForged and necrotic for their help pointing me toward the solution. Version 1.2 is now available.
UPDATE: Thanks to Lorelle for the suggestion to make a table of contents! Version 1.1 includes the new function series_table_of_contents().
UPDATE: Thanks to Monika for alerting me to an error in series_table_of_contents. This is fixed, and version 1.3 is now available for download.
UPDATE: Version 1.4 is now available for download. It fixes a flaw in the sorting of posts in a series.
UPDATE: Version 1.5 is now available. Thanks to io_error for pointing out that previous versions incorrectly included draft posts in the series. Also added $before and $after to series_table_of_contents().
UPDATE: Version 1.6 is now available. Thanks again to io_error for pointing out that static pages were excluded from series. You can now construct a series composed of posts and pages.
Download In-Series 1.6!
About | Policies | skippy.net
I then installed the in_series.php file into my plugins directory and modified the single.php file as suggested. Here's what my file code looks like fr. the beginning up to the end of the In Series code. Maybe you can tell me if anything's wrong here:Trackback URL for this post: ">" rel="bookmark" title=" "> · Read the rest of this entry »')); ?> " rel="bookmark" title=" " class="permalink"> | " title="trackback" class="permalink">TrackBackHere are 2 posts which should be In Series (I filled out the key & value data as instructed & then published the posts. When I look at them I don't see any link indicating that they are in a series. I'd sure like to find out what I'm doing wrong: http://www.richardsilverstein.com/tikun_olam/2005/06/ken-schram-public-breastfeeding-is-like-urinating-in-public/ http://www.richardsilverstein.com/tikun_olam/2005/06/barbara-walters-stop-insulting-breastfeeding-moms/into the single.php file. I created two posts and inserted the key fields and values. When I view one of the posts, no table of contents is displayed and I get the following error message at the bottom of the post:Fatal error: Call to undefined function: series_table_of_content() in /home/danielsp/public_html/blog/wp-content/themes/default/single.php on line 18Any idea what might be causing this? Thanks for your help!series_table_of_contents(). Note the "s" at the end.Next in the %series series: ', '%title'); ?>Resulting in: "Next in the Wordpress 2.0 plugins series: In-Series 4.1" or can you already do something like this, and I'm just not seeing it?