2385 Commits

Author SHA1 Message Date
Tetrakern
ce76d2e1f4 Disable direct link for ePUBs if download disabled 2023-03-09 11:47:41 +01:00
Tetrakern
cc21ef6178 Add taxonomies to showcase shortcode 2023-03-09 11:40:41 +01:00
Tetrakern
686469bd77 Add taxonomies to shortcode partials 2023-03-08 23:24:41 +01:00
Tetrakern
6a9e56eac5 Added taxonomies to shortcodes
And cleaned up a bit.
2023-03-08 23:02:54 +01:00
Tetrakern
b3b868c7fd Add taxonomies to latest_stories shortcode 2023-03-08 13:22:04 +01:00
Tetrakern
d309213742 Improve latest_posts shortcode 2023-03-08 13:16:43 +01:00
Tetrakern
995b14ab08 Only check for privacy policy if one has been set
This should always be done tho.
2023-03-08 03:21:42 +01:00
Tetrakern
cbd27c59a9 Extend latest posts shortcode 2023-03-08 01:07:50 +01:00
Tetrakern
b4edd33cad Add utility to explode comma-separated lists 2023-03-08 00:28:46 +01:00
Tetrakern
0716f6e05d Add fcn prefix to contact form HTML/CSS
To prevent collisions.
2023-03-07 23:22:38 +01:00
Tetrakern
c7f435f77e Clarify theme settings 2023-03-07 23:19:18 +01:00
Tetrakern
4138b7236b Renamed chapter row meta function, again
Hopefully this will avoid confusion
2023-02-26 20:51:13 +01:00
Tetrakern
4627397037 Rename chapter subrow into meta and add ID 2023-02-26 20:36:15 +01:00
Tetrakern
31dff49c21 Reduce markup for chapter list subrows 2023-02-26 17:50:43 +01:00
Tetrakern
694bf3d9fa Refactored subrows in chapter lists 2023-02-26 17:14:56 +01:00
Tetrakern
aca556262a Refactor chapter font colors 2023-02-23 18:41:14 +01:00
Tetrakern
a7906828a4 Refactor chapter fonts 2023-02-23 17:03:41 +01:00
Tetrakern
2928312199 Use found_posts instead of wp_count_posts()
Duh.
2023-02-20 10:10:11 +01:00
Tetrakern
922cba0581 Fix API page type 2023-02-19 16:33:19 +01:00
Tetrakern
a3040420c0 Fix chapter count in API 2023-02-19 16:27:46 +01:00
Tetrakern
7ce7fb6cf6 Convert story count to integer 2023-02-19 16:14:54 +01:00
Tetrakern
73dbc9b37e Convert word count to integer 2023-02-19 16:05:49 +01:00
Tetrakern
240622496e Fix story count in storygraph API 2023-02-19 15:56:09 +01:00
Tetrakern
012c11865b Clear storypath stories Transients on update
I hate caching so much.
2023-02-18 14:28:01 +01:00
Tetrakern
442434cd5f Add lastModifiedStory node to storygraph
Makes it easier to find the last modified story in the collection.
2023-02-18 13:53:35 +01:00
Tetrakern
268edbdd1a Remove superfluous node from storygraph
I believe the images node not being present is enough indication.
2023-02-18 13:47:48 +01:00
Tetrakern
f10c220a68 Remove cached node from storygraph
This only referred to Transient caching. If another type of caching is used, this value would have been wrong.
2023-02-18 13:31:13 +01:00
Tetrakern
a505890c05 Account for missing author in Storygraph
This shouldn't happen but one never knows.
2023-02-18 12:14:04 +01:00
Tetrakern
988b9d5f18 Fix separate chapter storygraph node 2023-02-18 02:00:07 +01:00
Tetrakern
7170f03333 Add transient caching for storygraph API 2023-02-18 01:44:05 +01:00
Tetrakern
bccfca92a4 Add constant to remove chapters from /stories 2023-02-18 01:14:48 +01:00
Tetrakern
f48ca2bf3e Constant to turn off API images 2023-02-18 01:01:10 +01:00
Tetrakern
f4ebe61b38 Add theme option for storygraph API 2023-02-18 00:56:08 +01:00
Tetrakern
0945541639 Merge branch 'main' into storygraph_api 2023-02-18 00:45:57 +01:00
Tetrakern
99182b2642 Update story short description 2023-02-18 00:45:36 +01:00
Tetrakern
2f0bfc1885 Update _api.php 2023-02-18 00:37:53 +01:00
Tetrakern
a4ac274425 Update _api.php 2023-02-17 22:38:37 +01:00
Tetrakern
8568efa8c2 Description and rendered content 2023-02-17 20:03:52 +01:00
Tetrakern
fa22a9e432 Merge branch 'main' into storygraph_api 2023-02-17 16:32:19 +01:00
Tetrakern
792baf07fe Update comment AJAX skeletons 2023-02-17 16:31:42 +01:00
Tetrakern
5e85c900fc Condition for OAuth endpoint 2023-02-17 16:27:15 +01:00
Tetrakern
aec50ec51b Merge branch 'main' into storygraph_api 2023-02-17 16:07:51 +01:00
Tetrakern
faa45acb10 Update _oauth.php 2023-02-17 16:07:40 +01:00
Tetrakern
534473a8a7 Update _api.php 2023-02-17 15:24:24 +01:00
Tetrakern
288ecf257b Merge branch 'main' into storygraph_api 2023-02-17 11:57:42 +01:00
Tetrakern
edda6b085c Fix and improve chapter list shortcode 2023-02-17 11:55:55 +01:00
Tetrakern
b75022fd8b Optimize query 2023-02-17 10:02:51 +01:00
Tetrakern
6d6b89792f Use query for better performance 2023-02-17 01:59:27 +01:00
Tetrakern
fd82a5ee6b Merge branch 'main' into storygraph_api 2023-02-16 22:33:05 +01:00
Tetrakern
6777a24762 Hide comment form inputs until clicked 2023-02-16 22:31:31 +01:00