76 Commits

Author SHA1 Message Date
Tetrakern
15131f9bf8 Fix current chapter mark in chapter index modal 2024-10-18 16:13:35 +02:00
Tetrakern
e1855d85f1 Refactor chapter index into modal
And then some.
2024-10-18 16:01:48 +02:00
Tetrakern
520c748f55 Add FICTIONEER_LIST_SCHEDULED_CHAPTERS 2024-10-18 02:22:54 +02:00
Tetrakern
40c1ad0475 Add missing doc comment 2024-10-18 01:22:43 +02:00
Tetrakern
eb988ac551 Improve chapter index menu 2024-10-18 00:55:58 +02:00
Tetrakern
7a7ea992d3 Legacy support for removed icon menu partial 2024-10-17 22:10:20 +02:00
Tetrakern
0304d228ae Remove = from base search page URL
Apparently, LiteSpeed Cache doesn't like that.
2024-10-17 13:39:35 +02:00
Tetrakern
b75c93e37f Use cache bust string for icon sprite 2024-10-13 18:24:45 +02:00
Tetrakern
0adff0f9a5 Add years to site story reading time statistics 2024-10-11 22:20:19 +02:00
Tetrakern
12771d6598 Harden Splide against overzealous optimization plugins
ffs
2024-10-09 16:08:40 +02:00
Tetrakern
6631184aed Add fictioneer_filter_simple_chapter_list_item filter
Replaces the fictioneer_filter_chapter_list_item filter.
2024-10-08 13:31:23 +02:00
Tetrakern
05eb45d88b Add fictioneer_get_simple_chapter_list_items() 2024-10-08 12:54:12 +02:00
Tetrakern
7db59fa92c Update doc comment 2024-10-07 20:10:37 +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
7017aa9845 Fix placeholder arrows for list-style shortcodes 2024-10-07 16:16:01 +02:00
Tetrakern
527b2bf7dc Fix Splide CSS and account for arrow placeholders 2024-10-07 15:23:10 +02:00
Tetrakern
0cbecd5e71 Add function and filter for Splide arrows 2024-10-07 14:15:08 +02:00
Tetrakern
72b7e8d3a9 Move Splide functions to template helpers 2024-10-07 13:34:23 +02:00
Tetrakern
25b3a01b4c Update thumbnail aspect ratio check 2024-10-06 20:29:28 +02:00
Tetrakern
d2923e7605 Add fictioneer_filter_icon_menu_items filter 2024-10-03 00:23:57 +02:00
Tetrakern
6fd90ae145 Add missing underscore 2024-10-02 23:59:46 +02:00
Tetrakern
a6aff4a450 Replace _icon-menu.php partial with function 2024-10-02 23:57:12 +02:00
Tetrakern
2b6fe6d5f8 Ward icon sprite sheet against CDNs
SVG with use does not work with cross site loading.
2024-10-02 13:58:44 +02:00
Tetrakern
800b47f709 Cosmetic changes 2024-09-25 22:34:47 +02:00
iniznet
49448e4cf9 Refactor status condition check in fictioneer_get_story_chapter_posts to be customizable via filter hook 2024-09-26 02:18:54 +07:00
Tetrakern
9a0cda8f08 Fix some code formatting 2024-09-19 02:24:49 +02:00
Tetrakern
4337659a31 Fix unlisted chapters appearing in chapter index popup 2024-09-04 13:53:41 +02:00
Tetrakern
f865187fc9 Replace chapter list meta row separator 2024-08-24 00:04:12 +02:00
Tetrakern
3532f9bd23 Refactor shortcode and card tags 2024-08-23 23:12:24 +02:00
Tetrakern
6965ce7fb0 Add blank param to fictioneer_get_bullet_separator() 2024-08-23 18:20:41 +02:00
Tetrakern
dcc00ee411 Use term ID as key for card term nodes 2024-08-23 16:43:23 +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
113ffabc4e Improve story cover default 2024-08-22 00:24:23 +02:00
Tetrakern
9969c55ee2 Fix error in thumbnail helper 2024-08-21 23:52:27 +02:00
Tetrakern
b69d3086ce Add $echo param to fictioneer_render_thumbnail() 2024-08-18 19:21:29 +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
8ac722de0a Code formatting 2024-08-16 13:31:17 +02:00
Tetrakern
f73aa30537 Add option to hide categories on posts 2024-08-11 21:50:20 +02:00
Tetrakern
f8514d0965 Add post param to fictioneer_get_excerpt() 2024-07-20 22:52:59 +02:00
Tetrakern
e3448c1e79 Add option to override chapter status icons 2024-06-29 13:37:55 +02:00
Tetrakern
11d021ae3a Use lock as chapter icon if protected 2024-06-20 14:59:57 +02:00
Tetrakern
d9892b9efc Only load OAuth script if required 2024-06-18 02:36:55 +02:00
Tetrakern
c773cf835d Add page_background Elementor location 2024-06-14 12:30:50 +02:00
Tetrakern
72ff8bc522 Remove extra class from chapter background element
Not used and you can use the parent class for specific targeting as well. This is unnecessary.
2024-06-14 11:59:56 +02:00
Tetrakern
4b3c948157 Update php structure comments 2024-06-14 01:28:03 +02:00
Tetrakern
d15d4c6e1d Move main observer element to action hook 2024-06-14 01:24:58 +02:00
Tetrakern
af187a4ff6 Improve fictioneer_page_background() 2024-06-14 00:34:18 +02:00
Tetrakern
c00356da92 Add context to fictioneer_main action
... and fix chapter double background.
2024-06-14 00:31:31 +02:00
Tetrakern
406d33a629 Turn page background into hooked action 2024-06-13 23:29:48 +02:00