43 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
4b41dc825c Add helper to get chapter story ID
This would be useful if I ever decide to use the parent ID field instead if meta.
2024-10-26 02:03:23 +02: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
a9d9e6a18f Add quality param to showcase shortcode
Allows to change the image size from default 'medium'.
2024-10-06 03:56:35 +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
6c8be9eca1 Change showcase param name to min_width 2024-09-06 16:40:32 +02:00
Tetrakern
108e646b2d Add default cover to showcase shortcode 2024-09-06 13:58:29 +02:00
Tetrakern
839d198fc7 Account for aspect ratio in showcase shortcode 2024-09-06 13:54:09 +02:00
Tetrakern
8feee22a99 Add width param to showcase shortcode 2024-09-06 13:16:01 +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
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
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
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
8ed48b79e2 Use container-inline-size where needed
Instead of redundantly adding to property.
2024-01-26 15:56:18 +01:00
Tetrakern
8c4b44e41d Unify @since version number format
Yes, it bothered me.
2024-01-26 15:51:11 +01:00
Tetrakern
f207720f52 Reduce unnecessary get_the_ID calls 2023-12-02 00:00:13 +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
c92f66da09 Improve handling of list titles 2023-10-08 15:28:23 +02: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
ce0161eb9e Set showcase default count to 8 2023-09-16 20:40:44 +02:00
Tetrakern
0cf4a16608 Update showcase shortcode 2023-09-16 13:38:49 +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
115b756540 Fix warning in safe title helper 2023-08-31 23:52:37 +02:00
Tetrakern
cdbedef7d9 Improve showcase CSS selectors 2023-08-30 12:35:13 +02:00
Tetrakern
110b024e63 Check for ABSPATH in template parts
Probably overkill but oh well...
2023-08-20 20:21:48 +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
2722512fd2 Add exclude parameters to showcase 2023-03-10 17:29:00 +01:00
Tetrakern
3c9146aa3a Rename shortcode filters 2023-03-10 15:20:48 +01:00
Tetrakern
cc21ef6178 Add taxonomies to showcase shortcode 2023-03-09 11:40:41 +01:00
Tetrakern
9c3ef7bec3 Add class option to shortcodes 2023-01-27 01:23:02 +01:00
Tetrakern
9136947e4c Clean history for public release 2023-01-21 01:31:34 +01:00