49 Commits

Author SHA1 Message Date
Tetrakern
676e58fb3d Add post-ID class to cards 2024-04-17 22:36:26 +02:00
Tetrakern
6110ac45a6 Add alt attribute to card thumbnails 2024-03-16 14:49:51 +01:00
Tetrakern
abecf5249f Add output and filter for card attributes 2024-03-04 01:54:53 +01:00
Tetrakern
fc7fc2ac2e Update safe title helper parameters
Added the $context parameter and $args, which now also covers $no_filters which hopefully nobody has used yet lol
2024-03-01 12:39:42 +01:00
Tetrakern
9ce8516090 Change card unavailable style 2024-02-28 01:18:14 +01:00
Tetrakern
2c4ab454a3 Add "combined" card style 2024-02-12 01:40:38 +01:00
Tetrakern
cb544c49c1 Add card style Customizer option 2024-02-12 00:27:58 +01:00
Tetrakern
b054408f90 Add more CSS classes to cards
Makes it easier to target specific ones.
2024-02-11 23:55:32 +01:00
Tetrakern
5ae01e8f15 Add CSS modifier class to list items if password protected 2024-02-06 14:18:37 +01:00
Tetrakern
4b8117bf52 Fix typo 2024-01-28 00:18:25 +01:00
Tetrakern
2ca1f068bd Add action hooks to large card bodies 2024-01-27 22:32:10 +01:00
Tetrakern
8c91aad588 Remove superfluous variable on large cards 2024-01-27 22:07:09 +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
812a7f2406 Improved story and chapter card scaling 2024-01-20 19:26:02 +01:00
Tetrakern
fcbc0c9402 Update show/hide-below classes for cards 2024-01-19 23:43:31 +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
36aff1f54a Add fictioneer_get_word_count helper 2023-11-30 17:10: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
e0176eac59 Use fictioneer_get_field everwhere
I might actually remove it later on because it does not safe space anyway, but at least it is consistent for now.
2023-11-30 10:58:45 +01:00
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
894bea4dba Reshuffled some args
Because.
2023-09-10 18:48:36 +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
8137ff6d00 Fix typo in new filter hooks
haha
2023-08-30 02:49:52 +02:00
Tetrakern
b55613c2f9 Add filter to card footers 2023-08-30 02:32:39 +02:00
Tetrakern
110b024e63 Check for ABSPATH in template parts
Probably overkill but oh well...
2023-08-20 20:21:48 +02:00
Tetrakern
a966dd8e54 Style for unavailable cards 2023-08-17 22:38:38 +02:00
Tetrakern
baf96f4b68 Improve chapter, story, and collection cards
Now with up to 1/4 of the previous queries!
2023-08-08 01:51:03 +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
7df10bfa4d Replace user icon 2023-07-09 18:16:55 +02:00
Tetrakern
de95fb4c22 Fix publish date not showing sometimes
Apparenty, the_date() does that under dubious circumstances. Whatever.
2023-06-11 05:17:09 +02:00
Tetrakern
08406b6fb6 Refactor follows/reminder/checkmark on cards
And removed the sibling selectors too.
2023-06-09 23:19:18 +02:00
Tetrakern
cd07fd0bbf Show modified/publish date based on orderby 2023-06-07 23:34:46 +02:00
Tetrakern
568ee21a4f Update template doc comments 2023-06-07 23:23:19 +02:00
Tetrakern
23d019dec3 Update date strings
And add more constants.
2023-06-06 22:01:29 +02:00
Tetrakern
699d6efbb8 Further reduced elements of large cards 2023-06-06 13:44:16 +02:00
Tetrakern
59f3a6f62d Reduce elements of large cards
How did I forget these?
2023-06-05 10:41:19 +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
64f1bb1ea5 Use short modifiers for truncate CSS class 2023-02-09 10:44:04 +01:00
Tetrakern
75c27cdb50 Improve output for story/chapter card excerpts 2023-02-04 15:22:13 +01:00
Tetrakern
9136947e4c Clean history for public release 2023-01-21 01:31:34 +01:00