51 Commits

Author SHA1 Message Date
Tetrakern
1257fa1804 Add thumbnail param to card-based shortcodes 2024-04-18 12:03:00 +02:00
Tetrakern
676e58fb3d Add post-ID class to cards 2024-04-17 22:36:26 +02:00
Tetrakern
5d4abfdc63 Use thumbnail helper in latest_recommendations 2024-04-17 14:17:20 +02:00
Tetrakern
62ffbff31f Update Latest Recommendations for new parameters 2024-04-14 19:46:35 +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
5fd686c054 Add action hooks to shortcode card bodies 2024-01-28 00:48:32 +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
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
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
cdd2f00cef Remaining ") ?>" to "); ?>" 2023-09-16 14:25:26 +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
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
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
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
0db0ffd852 Add exclude parameters to latest_recommendations 2023-03-10 17:16:54 +01:00
Tetrakern
3c9146aa3a Rename shortcode filters 2023-03-10 15:20:48 +01:00
Tetrakern
abe9b117ab Add filter for latest recommendations query args 2023-03-09 11:21:05 +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