Good question; thanks for asking @erudyne (and @rikuansem). Two things I think I should point out before talking about storylines:
- Webcomic always uses a comic’s post date to determine the order of comics.
- WordPress requires post slugs to be unique across an entire post type. You can have multiple comic’s titled “Page 1,” but the post slugs (and url’s) will have to be different in some way (by default WordPress tacks a number on the end, so you get page-1, page-1-2, page-1-3, etc.).
Storylines are designed for organizational purposes; they’re functionally equivalent to Categories, with a few additions:
- You can assign an image to a storyline, which can be used in various ways on your site (showing a storyline cover on an archive page, for example).
- You can sort storylines. This let’s you keep the storylines – not necessarily the comics –?in a particular order.
That last part is important to remember; by default, Webcomic essentially ignores storylines for navigation purposes, so sorting your storylines won’t necessarily resort your comics. Webcomic has a lot of navigation functions, however, and you can leverage storylines in various ways to force a particular order.
If you specify a storyline for for previous_webcomic_link()
, for example, it will only look at comics within the specified storyline when trying to figure out which comic is the “previous” comic. There are also storyline-specific navigation functions (previous_webcomic_storyline_link()
, for example) that can be used to jump through entire storylines. Combining the two –?storyline-restricted first/previous/next/last navigation links with first/previous/next/last storyline links –?might be one way to more strictly enforce a particular comic order (based on storylines).
There’s a little more info about storylines (and Webcomic in general) in the docs.
-
This reply was modified 5 years, 8 months ago by Mike.