86 Commits

Author SHA1 Message Date
Tetrakern
223aac49d1 Add footer_* params to Latest Updates shortcode 2024-08-18 22:09:18 +02:00
Tetrakern
4384ecc3c0 Add footer_* params to Latest Chapters shortcode 2024-08-18 21:34:32 +02:00
Tetrakern
6b006f8d2f Rename fictioneer_output_small_card_thumbnail()
... to fictioneer_render_thumbnail() for a more general use. This can be called in more places than on cards thanks to the arguments.
2024-08-18 14:21:37 +02:00
Tetrakern
810573943a Add source param to Latest Chapters/Updates shortcode 2024-08-14 15:17:42 +02:00
Tetrakern
9f8aac0282 Add wrappers and classes to card footer items 2024-07-28 12:50:45 +02:00
Tetrakern
5e31172da7 Skip 0 words and empty excerpts on small cards 2024-06-03 12:02:30 +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
61f27e26b6 Update doc comments 2024-05-15 09:57:43 +02:00
Tetrakern
d41ae8f799 Add card image style Customizer option 2024-05-14 19:18:37 +02:00
Tetrakern
370462518a Restructuring 1 2024-05-12 11:57:28 +02:00
Tetrakern
076e5bb8b9 Add another missing shortcode param documentation 2024-04-25 13:00:17 +02:00
Tetrakern
91b07345ab Add missing shortcode param documentation 2024-04-25 12:50:42 +02:00
Tetrakern
692bd83bca Remove obsolete code 2024-04-18 19:59:05 +02:00
Tetrakern
5df8f19485 Add lightbox shortcode param 2024-04-18 16:09:27 +02:00
Tetrakern
1257fa1804 Add thumbnail param to card-based shortcodes 2024-04-18 12:03:00 +02:00
Tetrakern
37ef32e340 Fix em-dash in latest_chapters shortcode 2024-04-18 02:20:22 +02:00
Tetrakern
676e58fb3d Add post-ID class to cards 2024-04-17 22:36:26 +02:00
Tetrakern
2b27a0003e Use thumbnail helper in latest_chapters 2024-04-17 14:36:00 +02:00
Tetrakern
03f5889c7e Use story redirect on cards 2024-04-14 23:09:11 +02:00
Tetrakern
e2fb4ba240 Update Latest Chapters for new parameters 2024-04-14 18:18:03 +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
c55c737dbd Add more CSS modifier classes to small cards 2024-02-06 03:10:02 +01:00
Tetrakern
ac1771f1f8 Simplify query args 2024-01-28 20:45:32 +01:00
Tetrakern
e159b952f3 Add options for the extended meta queries
I think this should be easier to reach.
2024-01-28 19:55:54 +01:00
Tetrakern
a35ebe7900 Add constant to toggle extended meta queries 2024-01-28 19:27:56 +01:00
Tetrakern
5fd686c054 Add action hooks to shortcode card bodies 2024-01-28 00:48:32 +01:00
Tetrakern
fe878126ec Fix argument passed to filter 2024-01-28 00:20:31 +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
e1122b99e4 Add container query to latest chapters line clamp 2024-01-20 16:44:24 +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
475af0f8fb Add utility function to safely truncate strings
This had a small chance to fail or return invalid HTML.
2024-01-19 14:42:19 +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
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
6b4b1eadb4 Fix meta queries for non-existing fields
Well, that was to be expected, really. Hope that were all...
2023-10-03 21:24:44 +02:00
Tetrakern
c104b8d53d Improve shortcode author parameter 2023-09-17 01:28:14 +02:00