72 Commits

Author SHA1 Message Date
Tetrakern
9360506c2e Add post status CSS to shortcode outputs 2025-01-12 18:00:18 +01:00
Tetrakern
d614b973c4 Add post_status param to shortcodes 2025-01-12 17:44:38 +01:00
Tetrakern
d59e4417ff Refactor Splide placeholders and loading styles
This is better and doesn't need as much crazy CSS. Also, the naming makes more sense.
2024-10-07 19:47:35 +02:00
Tetrakern
0cbecd5e71 Add function and filter for Splide arrows 2024-10-07 14:15:08 +02:00
Tetrakern
8bd7342efd Improve Splide slider placeholder styles 2024-10-07 02:08:40 +02:00
Tetrakern
081c2c77cb Add UID argument to several shortcodes 2024-10-06 23:21:05 +02:00
Tetrakern
d5d5383eaa Remove collapse-on-mobile from card grids
This did more harm than good.
2024-10-02 17:54:05 +02:00
Tetrakern
2cb8c114c5 Add only_protected shortcode param 2024-09-20 23:41:37 +02:00
Tetrakern
329a067da0 Replace fictioneer_exclude_protected_posts() 2024-09-20 23:32:29 +02:00
Tetrakern
a39a4ceb9b Add Splide
commit e76d41be04166ad5a9a1a17d327a9b47d46149f7
Merge: 9490b992 48b6cf37
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Fri Sep 6 01:26:29 2024 +0200

    Merge branch 'main' into splide

commit 9490b9925ff2ff78f3057a2762aa41aa61028a68
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Fri Sep 6 00:02:52 2024 +0200

    Add height and aspect_ratio params to showcase

commit 8043e35abb95d04192ba5a9399480a37db647b27
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 23:02:12 2024 +0200

    Add Splide to showcase shortcode

commit bc7344d3a89eea93a0727b88c7d7998a2f73b54b
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 22:52:26 2024 +0200

    Start documentation

commit 3e3183e5ec3da66c585f022af1214b3690ad84f6
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 22:13:41 2024 +0200

    Add option to enable Splide globally

commit 60935c24e647889beab8b158bb50aa1f4948e4da
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 20:48:44 2024 +0200

    Elementor compatibility

commit 1f7c0ca40289597af0b6a250c62ed22621a9668a
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 20:39:08 2024 +0200

    Optimize Splide for paginated article cards

commit 911c0f6f20d0c3a5bddda280618064eb1309ac5f
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 20:24:52 2024 +0200

    Turn off arrows by default

commit 567205b42031b9e075060c208d1fb93507c7acfa
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 14:05:46 2024 +0200

    Move SCSS to own file

commit 5a91f1dcf0982a78e22362262d4b982784cfdd21
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 13:57:22 2024 +0200

    Update style

commit e3c920ab33c5d6065fd7b8a7f2211d8809630df3
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 11:58:52 2024 +0200

    Add Splide to other shortcodes

commit 7c2275a0c336e7ca7072165d633dd3fbc8a19524
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 11:55:39 2024 +0200

    Update style

commit 68bff5aef85af82f1a844de293f443172a5e5d1e
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Wed Sep 4 19:16:55 2024 +0200

    Improve error handling of invalid JSON

commit ce9159425a6d6674cdef7d8f356724c79db3130b
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Wed Sep 4 19:05:01 2024 +0200

    Improve Splide loading and initialization

commit 263848a53ddfb77980f88b5b5f973311d792e712
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Wed Sep 4 16:39:18 2024 +0200

    Improve JSON preparation

commit 8c39131008a50119bd8666b558f01354140c0b00
Merge: d4373db4 57638cdc
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Wed Sep 4 14:19:28 2024 +0200

    Merge branch 'main' into splide

commit d4373db473e80b05c52565f25ba13034eb81d648
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Wed Sep 4 13:48:00 2024 +0200

    Prototype
2024-09-06 01:27:15 +02:00
Tetrakern
a6ac055ee0 Add _no-tax modifier classes to shortcodes 2024-08-24 00:50:30 +02:00
Tetrakern
3532f9bd23 Refactor shortcode and card tags 2024-08-23 23:12:24 +02:00
Tetrakern
27823c7f8c Add filter for shortcode term nodes 2024-08-23 16:44:04 +02:00
Tetrakern
bc3a3f657b Add fictioneer_get_bullet_separator() helper 2024-08-23 13:56:17 +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
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
20c5a0dba6 Add conditional _no-footer class to small cards
This is in preparation of future updates, to make horizontal seamless small cards possible.
2024-05-12 12:10:26 +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
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
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
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
cdd2f00cef Remaining ") ?>" to "); ?>" 2023-09-16 14:25:26 +02:00
Tetrakern
c6d2fe5081 Update latest recommendations shortcode 2023-09-16 03:40:15 +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