1. Home
  2. Developers
  3. Tutorials
  4. Changing the series archive “orderby” parameter

Changing the series archive “orderby” parameter

By default, the series taxonomy archive is ordered by the meta key “novelist_series” number parameter (the book’s numerical position in the series). The one downside of this is that if the series number is not filled out, the book will not appear in the archive at all. This can be fixed by changing the orderby parameter to something else.

The below example demonstrates how to change the parameter to use the book’s publication date instead:

How can we help?