108 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
f5e0188c1f
Add Stimulus (#65) 2024-12-06 17:38:32 +01:00
Tetrakern
44b3489b50 Add footer comments to Latest Stories/Updates shortcodes 2024-11-26 12:11:30 +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
f57db0676c Account for deleted chapter posts in shortcodes 2024-09-26 18:12:01 +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
e6519fd733 Replace strlen with mb_strlen 2024-09-01 17:01:19 +02:00
Tetrakern
bc3a3f657b Add fictioneer_get_bullet_separator() helper 2024-08-23 13:56:17 +02:00
Tetrakern
61bfbd49bc Add list type to shortcode and then some 2024-08-21 22:54:08 +02:00
Tetrakern
9df2c35bfc Add footer_* params to Latest Stories shortcode 2024-08-18 22:27:46 +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
b45891be25 Add missing ignore_protected condition check 2024-08-15 13:44:40 +02:00
Tetrakern
bfd28d3618 Fix ignore_protected param not working for Lates Updates chapters 2024-08-15 13:40:12 +02:00
Tetrakern
810573943a Add source param to Latest Chapters/Updates shortcode 2024-08-14 15:17:42 +02:00
Tetrakern
3b230c5f65 Add infobox param to compact card shortcodes
And fix Latest Stories info box if taxonomies are disabled.
2024-08-14 01:48:21 +02:00
Tetrakern
8ec6752b0f Use mb_strlen and tolerance for card descriptions 2024-07-30 09:26:23 +02:00
Tetrakern
541b78d2d0 Add single param to Latest Updates
In addition to the type, this works for all.
2024-07-25 00:31:41 +02:00
Tetrakern
5e31172da7 Skip 0 words and empty excerpts on small cards 2024-06-03 12:02:30 +02:00
Tetrakern
8034df2614 Add words and date params to Latest Updates shortcode 2024-05-29 00:01:31 +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
a1d72a6d3a Restructuring 2 2024-05-13 21:03:17 +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
6977116630 Use thumbnail helper in latest_updates shortcode 2024-04-17 14:11:39 +02:00
Tetrakern
03f5889c7e Use story redirect on cards 2024-04-14 23:09:11 +02:00
Tetrakern
12d2bd2225 Code formatting 2024-04-14 18:20:08 +02:00
Tetrakern
97e38c6433 Use new thumbnail helper in card templates 2024-04-14 18:10:15 +02:00
Tetrakern
4a24d23b4e Improve vertical card style 2024-04-14 16:14:45 +02:00
Tetrakern
25ac9b4027 Add new variants to Latest Updates shortcodes 2024-04-14 14:43:40 +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