Tetrakern / fictioneer

A web fiction theme for WordPress.
https://fictioneer-theme.com
GNU General Public License v3.0
104 stars 16 forks source link

Allow metrics for non-chaptered oneshot stories #11

Closed alexamacbett closed 11 months ago

alexamacbett commented 11 months ago

Posting oneshot/single chapter stories can be achieved by creating a chapter and parenting it to a story, but this creates unnecessary additional drilldown for readers. The story could exist as an orphan chapter too, but this means it won't appear in a list of all stories. The easiest thing to do for these is to just put the text in the story body.

The problem with this is that because the story has no chapters, it shows as having 0 total words. It would be nice if there were an option during story creation/editing to specify that this is what you are doing that measures the story body's wordcount instead of total chapters and hides the chapter count.

Tetrakern commented 11 months ago

The next update will change the word count calculation to include the story's own content, as it doesn't make much difference anyway. This requires either for the story to be resaved or the theme caches to be purged under Fictioneer > Tools. Additionally, stories set to "Oneshot" will no longer show the chapter list unless they have chapters assigned, the same goes for story cards and associated shortcodes.

This is about as much as I'm willing to do here. Because it's plainly wrong and goes against how the post and data structure is set up. Stories are not supposed to be chapters, period. The theme is not aware of the concept. Here is a list of things that will not be available if you do this:

If you can live with that, good. But I will not rip apart half the frontend to change something that is, let's be real here, a tiny inconvenience. I won't even mention it in the release notes.