38 Commits

Author SHA1 Message Date
Tetrakern
c92f66da09 Improve handling of list titles 2023-10-08 15:28:23 +02:00
Tetrakern
6bbf017405 Add padding to card list links
Makes them easier to click on mobile.
2023-09-18 13:20:45 +02:00
Tetrakern
c104b8d53d Improve shortcode author parameter 2023-09-17 01:28:14 +02:00
Tetrakern
3c4463a318 Add missing documentation 2023-09-16 23:41:30 +02:00
Tetrakern
bd0158a631 Improve shortcodes
Added function to get default args instead of doing it again in each shortcode.
2023-09-16 23:20:37 +02:00
Tetrakern
527e7f1e6c Clean up shortcodes 2023-09-16 21:44:12 +02:00
Tetrakern
359f5d5ca1 Update latest updates shortcode 2023-09-16 13:25:38 +02:00
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
adcb3edb0f Improve card CSS selectors
Probably a negligible render performance boost, but that's no reason not to do it.
2023-08-30 11:51:48 +02:00
Tetrakern
15eb144b48 Cleanup 2023-08-28 10:43:04 +02:00
Tetrakern
110b024e63 Check for ABSPATH in template parts
Probably overkill but oh well...
2023-08-20 20:21:48 +02:00
Tetrakern
b4d20aa0b3 Cleaned up some comments 2023-08-19 22:30:40 +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
6728e34faf Add constant for Latest Update shortcode date 2023-06-06 15:34:08 +02:00
Tetrakern
db15d8c0b2 Improved word/date markup of Latest Updates 2023-06-06 13:43:49 +02:00
Tetrakern
54d6228f9a Remove more superfluous nodes 2023-06-04 20:45:25 +02:00
Tetrakern
9f115e54e7 Reduced spans in author nodes and cards 2023-06-04 14:02:12 +02:00
Tetrakern
e9f8695ff6 Add option to hide a story in lists 2023-05-07 01:45:42 +02:00
Tetrakern
c7fe07e945 Add exclude parameters to latest_updates 2023-03-10 17:09:46 +01:00
Tetrakern
3c9146aa3a Rename shortcode filters 2023-03-10 15:20:48 +01:00
Tetrakern
5a2308d5e5 Add filter for latest updates query args 2023-03-09 11:08:23 +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