101 Commits

Author SHA1 Message Date
Tetrakern
d614b973c4 Add post_status param to shortcodes 2025-01-12 17:44:38 +01:00
Tetrakern
d1aee5e2ca Add fictioneer_filter_shortcode_terms_query_args filter 2025-01-08 00:02:01 +01:00
Tetrakern
ed609f32b5 Add fictioneer_terms shortcode 2025-01-07 19:45:50 +01:00
Tetrakern
0f65c9f3d6 Add fictioneer_filter_list_chapter_title_row
And extend fictioneer_filter_list_chapter_prefix.
2025-01-03 18:45:14 +01:00
Tetrakern
f5e0188c1f
Add Stimulus (#65) 2024-12-06 17:38:32 +01:00
Tetrakern
b9fbcd51ae Escape aria labels for checkmarks 2024-12-02 15:54:59 +01:00
Tetrakern
c5f7e23ff5 Use wp_print_inline_script_tag()
Makes it possible to apply script content policy.
2024-11-28 15:24:19 +01:00
Tetrakern
44b3489b50 Add footer comments to Latest Stories/Updates shortcodes 2024-11-26 12:11:30 +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
37d6da3d36 Some refinements
Mostly formatting to satisfy my OCD, but I also fixed that footnotes were counted even if they did not exist. The sup element was also always rendered in the dialog.
2024-10-14 20:01:25 +02:00
Tetrakern
9328f155b3 Merge branch 'main' into pr/60 2024-10-14 19:02:27 +02:00
iniznet
2979a030b4 a flag to skip the footnote generation in shortcode 2024-10-14 23:46:52 +07:00
iniznet
66e0bfdb44 1, 2, 3 progress 2024-10-14 23:28:46 +07:00
Tetrakern
69d8f77432 Extend fictioneer_post_{*} action hooks 2024-10-14 11:36:10 +02:00
iniznet
3459ed1531 chore: fictioneer_store_footnote phpdoc 2024-10-13 23:15:36 +07:00
iniznet
6e7ef8923e chore: fix func docs 2024-10-13 23:10:18 +07:00
iniznet
d252e66a15 chore: add @since 2024-10-13 23:08:49 +07:00
iniznet
7c27007ba7 refactor: format & some sprinkles 2024-10-13 23:04:38 +07:00
iniznet
5147595253 feat: initial footnote addition to tooltip 2024-10-13 22:52:44 +07:00
Tetrakern
3a55c66f7b Add option to disable shortcode Transients 2024-10-13 14:15:20 +02:00
Tetrakern
342a8a6bd3 Optimize shortcode Splide init 2024-10-09 19:30:37 +02:00
Tetrakern
b0210d3bd5 Fix Splide placeholder styles for caching 2024-10-09 16:46:03 +02:00
Tetrakern
12771d6598 Harden Splide against overzealous optimization plugins
ffs
2024-10-09 16:08:40 +02:00
Tetrakern
7d2fddaed9 More doc comments 2024-10-07 20:13:09 +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
2a41d688f2 Fix removal of Splide placeholder styles after init 2024-10-07 16:18:58 +02:00
Tetrakern
6390822b91 Remove shortcode aliases 2024-10-07 02:17:33 +02:00
Tetrakern
8ed224ba02 Update Splide placeholder base
Requires further updates.
2024-10-06 23:53:02 +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
492b7a915b Remove simple markdown from tooltip shortcode
You can just use HTML and this opened too many issues to be worth it.
2024-10-04 18:06:28 +02:00
Tetrakern
18c0b7d93f Fix Splide error if shortcode returns no results 2024-10-04 12:50:34 +02:00
Tetrakern
5634dd2c04 Use strong for tooltip modals instead of b 2024-10-03 21:48:39 +02:00
Tetrakern
3d82c66c98 Add fcnt shortcode for tooltips 2024-10-03 12:57:55 +02:00
Tetrakern
6d0c825c4d Make shortcode Splide initializer non-blocking
Whoops.
2024-09-25 17:17:46 +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
4620a82cec Add cache parameter to shortcodes 2024-09-07 00:28:36 +02:00
Tetrakern
6c8be9eca1 Change showcase param name to min_width 2024-09-06 16:40:32 +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
5635fe33cc Add expanded param to fictioneer_search shortcode 2024-08-28 14:28:56 +02:00
Tetrakern
3532f9bd23 Refactor shortcode and card tags 2024-08-23 23:12:24 +02:00
Tetrakern
e58fb9ed6d Move cookie partial into shortcode function 2024-08-22 20:26:14 +02:00
Tetrakern
61bfbd49bc Add list type to shortcode and then some 2024-08-21 22:54:08 +02:00
Tetrakern
8935606d0c Add footer_* params to Article Cards shortcode 2024-08-18 22:39:22 +02:00
Tetrakern
223aac49d1 Add footer_* params to Latest Updates shortcode 2024-08-18 22:09:18 +02:00
Tetrakern
250f3eb1fe Add classes shortcode param as alias to class
Why not?
2024-08-18 22:08:43 +02:00
Tetrakern
4384ecc3c0 Add footer_* params to Latest Chapters shortcode 2024-08-18 21:34:32 +02:00
Tetrakern
dcda0d21cd Fix multi-save guard and add setting to let REST requests pass 2024-08-17 17:27:09 +02:00