79 Commits

Author SHA1 Message Date
Tetrakern
f5e0188c1f
Add Stimulus (#65) 2024-12-06 17:38:32 +01:00
Tetrakern
78693bd4b2 Add additional CSS modifier classes to meta elements
Rating and status.
2024-10-30 20:36:01 +01:00
Tetrakern
039b3ab50d Add filter for card term nodes 2024-08-23 23:35:49 +02:00
Tetrakern
3532f9bd23 Refactor shortcode and card tags 2024-08-23 23:12:24 +02:00
Tetrakern
bc3a3f657b Add fictioneer_get_bullet_separator() helper 2024-08-23 13:56:17 +02:00
Tetrakern
bdf31c400a Update card tag helper to be more universal
Now allows for other term types and is used on post cards as well.
2024-08-23 13:29:34 +02:00
Tetrakern
f96612ba89 Clean up story card cache code and add locking mechanism 2024-08-16 22:01:48 +02:00
Tetrakern
8e709d18f8 Add FICTIONEER_STORY_CARD_CHAPTER_LIMIT constant 2024-08-15 01:51:45 +02:00
Tetrakern
8c77b23260 Add feature to cache story cards 2024-08-13 19:18:51 +02:00
Tetrakern
9f8aac0282 Add wrappers and classes to card footer items 2024-07-28 12:50:45 +02:00
Tetrakern
4715fea1ee Fall back to excerpt if card description is missing 2024-07-20 23:13:26 +02:00
Tetrakern
15b06704c8 Add FICTIONEER_SHOW_LATEST_CHAPTERS_ON_STORY_CARDS 2024-07-01 11:02:19 +02:00
Tetrakern
4466e2aa18 Update word count node conditions on cards 2024-06-04 11:57:30 +02:00
Tetrakern
ac8f5d9a58 Add more wrappers with class to card inner list items 2024-05-29 00:06:28 +02:00
Tetrakern
546b1b6668 Fix "New" label on story card chapter lists
This should make sure it respects the set timezone.
2024-05-26 01:00:01 +02:00
Tetrakern
0355631d8a Optimize post ID accesses 2024-05-17 17:46:54 +02:00
Tetrakern
a851b13cb0 Reduce PHP/HTML mode-switch overhead 2 2024-05-17 12:34:14 +02:00
Tetrakern
9c816df834 Replace array utility with Elvis operator
Same result, easier to read, less overhead.
2024-05-14 22:59:02 +02:00
Tetrakern
d41ae8f799 Add card image style Customizer option 2024-05-14 19:18:37 +02:00
Tetrakern
268fefe4d1 Move card header into grid container 2024-05-14 10:05:05 +02:00
Tetrakern
4f306efa3c Restructuring 4 2024-05-13 23:26:51 +02:00
Tetrakern
676e58fb3d Add post-ID class to cards 2024-04-17 22:36:26 +02:00
Tetrakern
03f5889c7e Use story redirect on cards 2024-04-14 23:09:11 +02:00
Tetrakern
9868e7962a Add option to hide chapter lists on large cards 2024-04-09 11:11:32 +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
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
85d3b8755d Fix undefined variable error 2024-01-26 12:02:28 +01:00
Tetrakern
58c753b3fd Increase card menu click area 2024-01-20 21:26:35 +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
071323f5c2 Hide empty chapter count for oneshots on cards 2023-11-14 19:20:54 +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