27 Commits

Author SHA1 Message Date
Tetrakern
22ca34e5ec Generalize no-results case for shortcodes 2023-09-15 22:55:59 +02:00
Tetrakern
5df11d88ad Improve shortcode params 2023-09-15 22:43:17 +02:00
Tetrakern
633255ba10 Add ignore_protected to other shortcodes 2023-09-15 22:00:00 +02:00
Tetrakern
dc19a409b3 Fix shortcode doc comments 2023-09-15 14:42:02 +02:00
Tetrakern
9fb5390fca Add additional query names 2023-09-15 14:00:44 +02:00
Tetrakern
110b024e63 Check for ABSPATH in template parts
Probably overkill but oh well...
2023-08-20 20:21:48 +02:00
Tetrakern
baa3aa9963 Update latest chapter shortcode
No accounts for unpublished parent stories. Somewhat.
2023-08-17 21:46:17 +02:00
Tetrakern
299db867e8 Fix overzealous post__in filtering
I hate this.
2023-08-17 01:32:02 +02:00
Tetrakern
bed9852de1 New query safety function for empty post__in
This was causing untold issues...
2023-08-17 01:10:00 +02:00
Tetrakern
ac507476cf Optionize comment count refresh for story data
This is an expensive query and hardly needed, but better leave it on by default for legacy reasons.
2023-08-05 18:31:39 +02:00
Tetrakern
9ed7e08868 Improve shortcode performance
Queries are cached as Transients for 5 Minutes, which is not much but help for high traffic that cannot be cached normally (e.g. logged-in users).
2023-08-03 13:17:57 +02:00
Tetrakern
9e727533dd Add aria labels to info box toggles 2023-06-11 19:24:16 +02:00
Tetrakern
4feef249f3 Remove sibling selectors from card infoboxes 2023-06-09 21:52:17 +02:00
Tetrakern
527fda7871 Remove unnecessary sibling selector 2023-06-09 02:06:45 +02:00
Tetrakern
ad6d54482d Use constants for Latest * shortcodes
Easy to override in child templates and allow a more precise customization than via the settings page.
2023-06-06 20:04:45 +02:00
Tetrakern
9f115e54e7 Reduced spans in author nodes and cards 2023-06-04 14:02:12 +02:00
Tetrakern
87b4cf36a8 Improve subitem date format default 2023-05-07 18:03:29 +02:00
Tetrakern
c80d9a418c Fix line clamp for latest_chapters compact
When the source is omitted.
2023-04-04 00:12:08 +02:00
Tetrakern
ef97a81859 Add exclude parameters to latest_chapters 2023-03-10 17:01:42 +01:00
Tetrakern
3c9146aa3a Rename shortcode filters 2023-03-10 15:20:48 +01:00
Tetrakern
b4ad620206 Add query args filter for latest chapters 2023-03-09 02:04:21 +01:00
Tetrakern
774aa942c8 Clean up query args 2023-03-09 02:03:09 +01:00
Tetrakern
686469bd77 Add taxonomies to shortcode partials 2023-03-08 23:24:41 +01:00
Tetrakern
64f1bb1ea5 Use short modifiers for truncate CSS class 2023-02-09 10:44:04 +01:00
Tetrakern
9c3ef7bec3 Add class option to shortcodes 2023-01-27 01:23:02 +01:00
Tetrakern
6c7e8be00d Vastly improve accessibility
Labels can be tab-navigated and used with the keyboard, added focus styles to most interactive elements, also fixed some style and translation issues.
2023-01-24 02:18:31 +01:00
Tetrakern
9136947e4c Clean history for public release 2023-01-21 01:31:34 +01:00