102 Commits

Author SHA1 Message Date
Tetrakern
5fd686c054 Add action hooks to shortcode card bodies 2024-01-28 00:48:32 +01:00
Tetrakern
4b8117bf52 Fix typo 2024-01-28 00:18:25 +01:00
Tetrakern
8f16b4a905 Pass type from shortcode to small cards 2024-01-28 00:16:06 +01:00
Tetrakern
365496c807 Remove problematic commit message
Revert revert!
2024-01-26 17:47:24 +01:00
Tetrakern
e00787589d Revert "Unify since version number format"
This reverts commit 8c4b44e41db8454af65ce4a909e0cb12db8828f8.
2024-01-26 17:45:53 +01:00
Tetrakern
8c4b44e41d Unify @since version number format
Yes, it bothered me.
2024-01-26 15:51:11 +01:00
Tetrakern
626e89a3b0 Refactor cards with container queries 2024-01-19 22:24:08 +01:00
Tetrakern
73537691bd Rename CSS class two-columns to grid-columns
Depending on the site width, this are, in fact, not just two columns.
2024-01-19 14:55:50 +01:00
Tetrakern
c31a863dfc Fix card content truncation containers 2024-01-19 14:13:17 +01:00
Tetrakern
562b6c5816 Add protected icon to (some) cards 2024-01-18 21:44:29 +01:00
Tetrakern
f207720f52 Reduce unnecessary get_the_ID calls 2023-12-02 00:00:13 +01:00
Tetrakern
294d13ce38 Cleanup 2023-11-30 17:52:19 +01:00
Tetrakern
b65e8ccea1 Replace fictioneer_get_field with get_post_meta
This wrapper made sense at some point in the past, now it was just unnecessary overhead.
2023-11-30 16:03:53 +01:00
Tetrakern
071323f5c2 Hide empty chapter count for oneshots on cards 2023-11-14 19:20:54 +01:00
Tetrakern
2b9f92b202 Documentation 2023-09-17 18:21:46 +02:00
Tetrakern
0577cc40f4 Sticky stories query - final form (maybe) 2023-09-17 17:36:11 +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
977609a6f8 Update story queries and shortcodes 2023-09-16 13:10:52 +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
894bea4dba Reshuffled some args
Because.
2023-09-10 18:48:36 +02:00
Tetrakern
fd995bdf26 Condition shuffle
This makes the publish date the default in case orderby is anything else but a date.
2023-09-10 18:27:47 +02:00
Tetrakern
02158a9768 Update latest stories card footer filter 2023-09-10 16:32:56 +02:00
Tetrakern
96c74a84cb Add filter to latest stories card footer 2023-09-10 14:52:47 +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
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
32858e5fbb Constant to turn off sticky stories 2023-08-07 12:07:48 +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
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
aeaadadd9c Reduce card nodes further 2023-06-04 22:17:42 +02:00
Tetrakern
9f115e54e7 Reduced spans in author nodes and cards 2023-06-04 14:02:12 +02:00
Tetrakern
84c87b8008 Convert   to  
Apparently the other one doesn't work.
2023-06-04 02:05:11 +02:00
Tetrakern
6d93b1d77b Reduce DOM elements 2023-06-04 01:49:00 +02:00
Tetrakern
87b4cf36a8 Improve subitem date format default 2023-05-07 18:03:29 +02:00
Tetrakern
e9f8695ff6 Add option to hide a story in lists 2023-05-07 01:45:42 +02:00
Tetrakern
0d64267e78 Add exclude parameters to latest_stories 2023-03-10 16:36:01 +01:00
Tetrakern
3c9146aa3a Rename shortcode filters 2023-03-10 15:20:48 +01:00
Tetrakern
686469bd77 Add taxonomies to shortcode partials 2023-03-08 23:24:41 +01:00
Tetrakern
b3b868c7fd Add taxonomies to latest_stories shortcode 2023-03-08 13:22:04 +01:00
Tetrakern
64f1bb1ea5 Use short modifiers for truncate CSS class 2023-02-09 10:44:04 +01:00
Tetrakern
0ecd6b3990 Remove obsolete CSS class 2023-02-07 11:34:27 +01:00