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
dcda0d21cd
Fix multi-save guard and add setting to let REST requests pass
2024-08-17 17:27:09 +02:00
Tetrakern
2f61517b3b
Remove bonk
2024-08-16 23:39:08 +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
fe1ca73b1c
Prevent null object warnings in schemas
...
No idea how, but apparently the post can be null under yet to be determined circumstances.
2024-04-25 02:11:42 +02:00
Tetrakern
fc7fc2ac2e
Update safe title helper parameters
...
Added the $context parameter and $args, which now also covers $no_filters which hopefully nobody has used yet lol
2024-03-01 12:39:42 +01:00
Tetrakern
365496c807
Remove problematic commit message
...
Revert revert!
2024-01-26 17:47:24 +01:00
Tetrakern
e00787589d
Revert "Unify since version number format"
...
This reverts commit 8c4b44e41db8454af65ce4a909e0cb12db8828f8.
2024-01-26 17:45:53 +01:00
Tetrakern
8c4b44e41d
Unify @since version number format
...
Yes, it bothered me.
2024-01-26 15:51:11 +01:00
Tetrakern
3b67407678
Rename function to fictioneer_get_story_chapter_ids
...
Because this is what it actually returns.
2024-01-26 00:24:31 +01:00
Tetrakern
36aff1f54a
Add fictioneer_get_word_count helper
2023-11-30 17:10:19 +01:00
Tetrakern
082337c53c
Add fictioneer_get_story_chapters helper
2023-11-30 16:21:16 +01:00
Tetrakern
b65e8ccea1
Replace fictioneer_get_field with get_post_meta
...
This wrapper made sense at some point in the past, now it was just unnecessary overhead.
2023-11-30 16:03:53 +01:00
Tetrakern
e0176eac59
Use fictioneer_get_field everwhere
...
I might actually remove it later on because it does not safe space anyway, but at least it is consistent for now.
2023-11-30 10:58:45 +01:00
Tetrakern
dacde9c2cb
Remove unnecessary constants
...
Auto-loaded anyway.
2023-11-24 12:05:32 +01:00
Tetrakern
99fd293fb4
Improve several query arguments
2023-11-15 12:38:42 +01:00
Tetrakern
729d68a21b
Fix stories schema not respecting hidden stories
2023-11-12 18:42:30 +01:00
Tetrakern
19d4d61e0b
Improve list template schema generation
...
Queries should be more efficient now.
2023-11-12 18:42:04 +01:00
Tetrakern
426ae29f10
Fix slow query for author chapters
2023-11-12 01:14:34 +01:00
Tetrakern
90f42d18ab
Fix slow query in chapters schema
...
This took over 10 seconds.
2023-11-12 00:36:10 +01:00
Tetrakern
6b4b1eadb4
Fix meta queries for non-existing fields
...
Well, that was to be expected, really. Hope that were all...
2023-10-03 21:24:44 +02:00
Tetrakern
3f736dbade
Clean up schemas a bit more
2023-09-04 23:57:19 +02:00
Tetrakern
ea89b56dc4
Update and fix SEO meta and schemas
2023-09-04 23:14:44 +02:00
Tetrakern
15eb144b48
Cleanup
2023-08-28 10:43:04 +02:00
Tetrakern
373baa55c9
Make actions/filter no longer pluggable
...
You can remove them anyway, no need to sacrifice CPU cycles for this.
2023-08-08 22:45:55 +02:00
Tetrakern
46696bc4f2
Improve multi-fire guard for hooks
2023-08-05 13:00:26 +02:00
Tetrakern
3d7c290a3e
Better use of constants
...
Should have done that from the start.
2023-05-11 16:22:43 +02:00
Tetrakern
69669ea92d
Reduce database calls, add option to skip them
...
Apparently, get_bloginfo() is not cached, so calling it over and over again negatively impacts performance. Child themes can now make use of four new constants to skip these calls entirely.
2023-05-11 11:37:40 +02:00
Tetrakern
9136947e4c
Clean history for public release
2023-01-21 01:31:34 +01:00