Stephanie Leary

Writer and WordPress consultant

  • Books
    • Content Strategy for WordPress (2015)
    • WordPress for Web Developers (2013)
    • Beginning WordPress 3 (2010)
  • Blog
    • Fascism Watch (2016-17)
    • Content Modeling for WordPress series
    • WordPress Hidden Gems series
  • Work
    • Portfolio
    • Services
    • WordPress Plugins
    • WordPress Themes
    • Presentations and Interviews
    • on GitHub →
  • About
    • Press Kit
  • Contact
    • Mailing List

The Story Length Taxonomy, a proof of concept for online fiction publications

April 26, 2013 Stephanie Leary Leave a Comment

As the Hugo nomination deadline was closing in, Tempest and I were chatting on Twitter, as we do, and agreed that it’s silly that it’s so difficult for readers to know which of the finicky short fiction categories a work falls into. Unless we happen to follow the authors and catch their “this is what I wrote that’s eligible” posts at the beginning of the awards season (assuming they post such things), we have to guess, or copy and paste a story into Word and check its count.

It occurred to me that it ought to be easy for online publications to label stories using a custom taxonomy. Then they could produce a yearly archive with the length right next to the title. Furthermore, the labeling could be done automatically by simply counting the words in the story, assuming said publication publishes stories as separate posts with no intro or other extraneous text — which, from my not-very-scientific survey, seems to be the case most of the time.

So I whipped up a quick proof of concept: the Story Length Taxonomy plugin. It creates a custom WordPress taxonomy called length and automatically assigns the right category, based on the post’s word count, when you save a draft or publish. (It’ll update automatically, if the word count changes between drafts.) The word count ranges are easy to change, if you’re using something other than the Hugo scale — just edit the category descriptions, or create new categories. Here are a couple of screenshots:

screenshot of the story length taxonomy terms in the usual category-edit screen

This is meant to serve as a proof of concept, although WordPress-based publications might be able to use it as-is. Things you’d probably need to change:

  • The post type, if you use some custom post type to separate fiction from your publication’s blog.
  • Your theme’s story template, to display the length term (and only on stories, not on your editorial updates or other nonfiction posts).
  • You’d probably need to create a taxonomy archive template, preferably to create a concise list of titles and authors per year.

This would make it fairly easy for a publication to create an end-of-year awards eligibility list, either by linking straight to each term’s archive page for the most recent year or using something like Bill’s Display Posts Shortcode plugin: [display-posts taxonomy=”length” tax_term=”short-story”]

I hope some of you find this useful. Want me to tweak it for you? Just let me know.

Publishing, WordPress Hugo awards, Plugins, short stories

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Fascism Watch

The Fascism Watch is a daily(ish) news roundup. View all the previous Fascism Watch posts »

Latest WordPress Book

Content Strategy for WordPress

A short book for content strategists and managers on implementing a complete content strategy in WordPress: evaluation, analysis, content modeling, editing and workflows, and long-term planning and maintenance.

Read the sample chapter

Kindle Nook iBooks Kobo Smashwords

WordPress for Web Developers

WordPress for Web Developers (9781430258667)

This is a book for professional web designers and developers who already know HTML and CSS, and want to learn to build sites with WordPress. The book begins with a detailed tour of the administration screens and settings, then digs into server-side topics like performance and security. The second half of the book is devoted to development: learning to build WordPress themes and plugins.

This is the second, much-revised and updated edition of Beginning WordPress 3, with a more accurate title. Everything’s been updated for WordPress 3.6.

WordPress for Web Developers is out now. See what's inside...

The best WordPress features you’ve never noticed

  • WordPress Hidden Gems: Screen Options
  • WordPress Hidden Gems: Bulk Edit
  • WordPress Hidden Gems: Private Status
  • WordPress Hidden Gems: Dashboard Feed Readers
  • WordPress Hidden Gems: Options.php

Content Modeling for WordPress series

  • Content modeling for WordPress, part 1: analyze content
  • Content modeling for WordPress, part 2: functional and organizational requirements
  • Content modeling for WordPress, part 3: a sample content model

This is an excerpt from Content Strategy for WordPress.My latest books are Content Strategy for WordPress (2015) and WordPress for Web Developers (2013). Sign up to be notified when I have a new book for you.

Copyright © 2021 Stephanie Leary