Skip to content

Fictioneer 5.24.0

Compare
Choose a tag to compare
@Tetrakern Tetrakern released this 07 Sep 17:32
· 281 commits to main since this release

I once swore I would never add a slider. Anyway, here you have sliders and some more things. Special thanks goes to @c-cesar, who provided a translation into Brazilian Portuguese.

Version 5.22.1 introduced the anti-flicker script, which was enabled by default but could be turned off. I have since reconsidered and decided to make it opt-in instead, because it can cause undesirable behavior. If you want to turn it back on, you can find it under Fictioneer > Compatibility as before.

Please consider supporting me on Ko-fi, Patreon, or GitHub Sponsors if you like the theme.

Highlight: Sliders

Any shortcode with the new "splide" parameter can be turned into a slider. Splide is a flexible and lightweight slider that comes with many options for customization, although applying them may be challenging if you are not familiar with JSONs. You can see live examples on the demo shortcode overview page.

shortcode_example_latest_stories_slider

Highlight: Extended Showcase Shortcode

The original showcase shortcode was built for collections and thus always lagged behind the rest. This has been amended and you can now change the item size easily with the new "height", "min_width", and "aspect_ratio" parameters. Finally you can have that story grid to judge a book by its cover! Remember, not the story with the best plot and writing is deserving of attention, only the one with the most dazzling cover art! I’m being sarcastic, in case that was not clear.

Release Notes

  • Fixed: Header images with shadow that are not inset do no longer have side margins
  • Fixed: Missing https in your site address will no longer break scripts (but go fix this!)
  • Fixed: The moderation meta box is displayed again on the comment edit screen
  • Fixed: The token track for excluded authors in the advanced search form works again
  • Fixed: Overly long tokens in the search form will no longer break the layout
  • Fixed: Non-published chapters are no longer appended to stories or affect update dates
  • Fixed: Unlisted chapters will no longer appear in the chapter index popup menu
  • Fixed: Unlisted chapters will no longer display the chapter navigation buttons
  • Fixed: The [fictioneer_showcase] shortcode will now also use the default cover
  • Changed: Scroll direction detection thresholds are now 50px up and 10px down
  • Changed: The anti-flicker script is no longer enabled by default (reset)
  • Improved: Updated and extended helper modals on the general settings page
  • Improved: The reading progress calculation now takes the full window height into account
  • Improved: Use scrim gradient for showcase caption backgrounds
  • New: Added Brazilian Portuguese translation (provided by @c-cesar)
  • New: Added shortcode parameter "expanded" (false/true) parameter to [fictioneer_search]
  • New: Added Author Index and Author Index Advanced page templates
  • New: Fictioneer > Logs now also displays the WP debug log (if any)
  • New: Added "splide" parameter to many shortcodes to turn them into sliders
  • New: Added "height", "min_width", and "aspect_ratio" parameters to [fictioneer_showcase] shortcode
  • New: Added "cache" parameter to most shortcodes, allowing to turn off the Transient caching
  • Dev: Replaced FICTIONEER_CACHE_URL with fictioneer_get_theme_cache_uri()
  • Dev: Replaced FICTIONEER_CACHE_DIR with fictioneer_get_theme_cache_dir()
  • Dev: Added fictioneer_filter_word_count filter
  • Dev: Added fictioneer_filter_story_word_count filter
  • Dev: The content node of Storypath API responses now has content filters applied
  • Dev: Replaced strtoupper() with mb_strtoupper() where necessary
  • Dev: Replaced strlen() with mb_strlen() where necessary
  • Dev: Added Transient caching strategy to index page templates
  • Dev: The Fictioneer log now always uses UTC dates
  • Dev: Added fictioneer_main_end action hook