25 Commits

Author SHA1 Message Date
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
3cdfc1f0b3 Fix footnotes not always being rendered 2024-10-20 23:46:35 +02:00
Tetrakern
6d928a8643 Additional CSS
Meh.
2024-10-15 00:08:35 +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
iniznet
66e0bfdb44 1, 2, 3 progress 2024-10-14 23:28:46 +07:00
Tetrakern
394c5554d8 Update word counting and add recounting tool 2024-10-10 00:11:24 +02:00
Tetrakern
debfdf4a65 Simplify word count function 2024-10-09 15:10:51 +02:00
Tetrakern
cc9e62d8b5 Refine handling of fictioneer_chapters_added meta
This controls the order of stories in the Latest Updates shortcodes and Stories template. Up to this point, it had been updated a bit too often and could cause confusion in the order of stories.
2024-10-06 15:54:22 +02:00
Tetrakern
927ceb7bf5 Remove fictioneer_first_publish_date meta 2024-09-17 15:43:57 +02:00
Tetrakern
a36409f284 Fix non-published chapter affecting story update dates 2024-09-03 13:21:24 +02:00
Tetrakern
56bc8ef05b Account for non-Latin in fictioneer_save_word_count() 2024-08-19 16:37:34 +02:00
Tetrakern
dcda0d21cd Fix multi-save guard and add setting to let REST requests pass 2024-08-17 17:27:09 +02:00
Tetrakern
4af1582e50 Improve multi-save guard checks
A bit ugly, but this covers all special cases with the damn editor and its antics.
2024-08-16 23:38:21 +02:00
Tetrakern
c82e49cf88 Add new functions to keep story comment count updated
This might not always be correct, but the comments get recounted in certain intervals anyway and this is cheap.
2024-08-14 23:57:14 +02:00
Tetrakern
48c267905b Add missing GMT flag 2024-08-06 09:55:22 +02:00
Tetrakern
57c747c187 Add fallback for mb_strlen() 2024-07-30 09:30:40 +02:00
Tetrakern
6a3f3a6483 Use GMT for fictioneer_chapters_modified 2024-06-27 20:50:02 +02:00
Tetrakern
b4c32b535c Use GMT for fictioneer_chapters_added 2024-06-27 20:48:46 +02:00
Tetrakern
baeda70b26 Update fictioneer_chapters_added when scheduled chapter goes live 2024-06-27 20:01:09 +02:00
Tetrakern
0355631d8a Optimize post ID accesses 2024-05-17 17:46:54 +02:00
Tetrakern
263bee6fd6 Fix post password bypass caching issue
This should now properly set all cookies first, so that cache plugins can figure out whether this post should be cached or not.
2024-05-12 18:29:08 +02:00
Tetrakern
ae9150d8aa Improve post password expiration 2024-05-10 11:49:09 +02:00
Tetrakern
4b0810d236 Update post_password_required hook functions
Return early if already unlocked
2024-05-10 02:51:53 +02:00
Tetrakern
bf2b02cdc1 Add option to expire post passwords 2024-05-09 23:20:36 +02:00
Tetrakern
5df5bc696f Rename files for clarity, move some functions
Bringing order to the mess, one commit at a time.
2024-04-13 16:54:33 +02:00