480 Commits

Author SHA1 Message Date
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
7017aa9845 Fix placeholder arrows for list-style shortcodes 2024-10-07 16:16:01 +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
032eca5086 Add taxonomy name taxonomy template/partial args 2024-10-06 16:22:54 +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
7aba027729 Add option to show modified date on stories
Instead of the publish date.
2024-10-05 16:24:41 +02:00
Tetrakern
a6aff4a450 Replace _icon-menu.php partial with function 2024-10-02 23:57:12 +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
7ab1f70a0d Update modal spacing 2024-10-01 21:47:11 +02:00
Tetrakern
3e68f42098 Clarified self-deletion note 2024-09-27 12:01:17 +02:00
Tetrakern
f57db0676c Account for deleted chapter posts in shortcodes 2024-09-26 18:12:01 +02:00
Tetrakern
f53b281809 Update space between comment author and badge
Because some HTML minifiers remove the space.
2024-09-23 11:53:21 +02:00
Tetrakern
64f9a54ba0 Fix inconsistency in comment badge spacing 2024-09-21 23:03:03 +02:00
Tetrakern
3d7aa57e8e update comment header 2024-09-21 22:58:50 +02:00
Tetrakern
4d059dabda Chapter card rating defaults to story 2024-09-21 00:49:54 +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
e6519fd733 Replace strlen with mb_strlen 2024-09-01 17:01:19 +02:00
Tetrakern
a6ac055ee0 Add _no-tax modifier classes to shortcodes 2024-08-24 00:50:30 +02:00
Tetrakern
039b3ab50d Add filter for card term nodes 2024-08-23 23:35:49 +02:00
Tetrakern
3532f9bd23 Refactor shortcode and card tags 2024-08-23 23:12:24 +02:00
Tetrakern
eb07371570 Apply fictioneer_get_bullet_separator() to list shortcodes 2024-08-23 16:59:05 +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
bdf31c400a Update card tag helper to be more universal
Now allows for other term types and is used on post cards as well.
2024-08-23 13:29:34 +02:00
Tetrakern
9c05ef2b2c Move pseudo-separator to CSS utilities 2024-08-23 12:42:23 +02:00
Tetrakern
e58fb9ed6d Move cookie partial into shortcode function 2024-08-22 20:26:14 +02:00
Tetrakern
202e2d9068 Update documentation 2024-08-22 13:23:26 +02:00
Tetrakern
61bfbd49bc Add list type to shortcode and then some 2024-08-21 22:54:08 +02:00
Tetrakern
5067f077e9 Optimize Latest Update shortcode query args 2024-08-19 13:34:05 +02:00
Tetrakern
5ea2068cc9 Optimize word count in Latest Chapters shortcode 2024-08-19 00:09:49 +02:00
Tetrakern
e2b826ad69 Add footer param to card shortcodes 2024-08-18 22:54:52 +02:00
Tetrakern
8935606d0c Add footer_* params to Article Cards shortcode 2024-08-18 22:39:22 +02:00
Tetrakern
9df2c35bfc Add footer_* params to Latest Stories shortcode 2024-08-18 22:27:46 +02:00
Tetrakern
223aac49d1 Add footer_* params to Latest Updates shortcode 2024-08-18 22:09:18 +02:00
Tetrakern
4384ecc3c0 Add footer_* params to Latest Chapters shortcode 2024-08-18 21:34:32 +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
f96612ba89 Clean up story card cache code and add locking mechanism 2024-08-16 22:01:48 +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
8e709d18f8 Add FICTIONEER_STORY_CARD_CHAPTER_LIMIT constant 2024-08-15 01:51:45 +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