2022 Commits

Author SHA1 Message Date
Tetrakern
f7e25e5008 Change constant for post__(not)_in arguments 2024-01-29 00:00:44 +01:00
Tetrakern
470b4174bd Update DEVELOPMENT.md 2024-01-28 23:50:04 +01:00
Tetrakern
02168bfec1 Make meta query options more convenient
They now execute all necessary follow-up actions on their own.
2024-01-28 23:47:48 +01:00
Tetrakern
ac1771f1f8 Simplify query args 2024-01-28 20:45:32 +01:00
Tetrakern
78dc426916 Update documentation 2024-01-28 20:15:11 +01:00
Tetrakern
e159b952f3 Add options for the extended meta queries
I think this should be easier to reach.
2024-01-28 19:55:54 +01:00
Tetrakern
a35ebe7900 Add constant to toggle extended meta queries 2024-01-28 19:27:56 +01:00
Tetrakern
7d8de5260c Move function to append meta fields into utility 2024-01-28 15:31:16 +01:00
Tetrakern
bd8131adb3 Bump version to 5.9.3 v5.9.3 2024-01-28 02:41:45 +01:00
Tetrakern
ec5e40e7e1 Fix typo 2024-01-28 00:55:23 +01:00
Tetrakern
5fd686c054 Add action hooks to shortcode card bodies 2024-01-28 00:48:32 +01:00
Tetrakern
fe878126ec Fix argument passed to filter 2024-01-28 00:20:31 +01:00
Tetrakern
4b8117bf52 Fix typo 2024-01-28 00:18:25 +01:00
Tetrakern
8f16b4a905 Pass type from shortcode to small cards 2024-01-28 00:16:06 +01:00
Tetrakern
027f54a0e5 Adjust card image size 2024-01-27 23:27:50 +01:00
Tetrakern
2ca1f068bd Add action hooks to large card bodies 2024-01-27 22:32:10 +01:00
Tetrakern
8c91aad588 Remove superfluous variable on large cards 2024-01-27 22:07:09 +01:00
Tetrakern
1da63de4b4 Show v-scrolling scrollbar on mobile 2024-01-27 21:44:45 +01:00
Tetrakern
995fa50b11 Fix tab sizes in files
How did this even happen?
2024-01-27 21:00:00 +01:00
Tetrakern
3740947d8f Add meta cache for chapter index HTML
This was a potentially expensive query executed on each chapter page.
2024-01-27 20:43:20 +01:00
Tetrakern
fae2dda4db Allow multiple chapter index buttons 2024-01-27 18:27:48 +01:00
Tetrakern
dfcd5962b5 "Add Chapter" adminbar link with pre-selected story
On story pages and edit screen where you are the author, the chapter story select field will be pre-selected based on the story_id GET param -- provided the ID is an available option.
2024-01-27 13:46:03 +01:00
Tetrakern
ad6ea2ff38 Fix CSS classes on bookshelf template v5.9.2 2024-01-27 00:59:17 +01:00
Tetrakern
bdf361aff4 Fix CSS classes on author page 2024-01-27 00:53:29 +01:00
Tetrakern
5f8cf18064 Simplify author statistics meta cache
It's now refreshed after one hour, which is perfectly reasonable.
2024-01-27 00:49:01 +01:00
Tetrakern
844b4e0ca0 Rename argument for more clarity 2024-01-27 00:30:40 +01:00
Tetrakern
2a0d87d65f Fix story comments broken by last commit 2024-01-26 23:52:16 +01:00
Tetrakern
2065c72815 Fix story data meta cache 2024-01-26 23:30:58 +01:00
Tetrakern
b1d2030621 Cache collection statistics 2024-01-26 23:01:20 +01:00
Tetrakern
bed10dced9 Make nav menu unfolding faster 2024-01-26 17:50:56 +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
88862fd389 Sort chapter story select alphabetically 2024-01-26 16:42:43 +01:00
Tetrakern
89855cca3b Update comment in function 2024-01-26 16:23:48 +01:00
Tetrakern
3f131a8e9e Add unfolding animation to nav menu 2024-01-26 16:22:57 +01:00
Tetrakern
999f30f82c Improve function to get story chapter posts
Added a switch for smaller ID arrays (< 50) to use post__in instead of a meta query, which should be faster. 50 is a pretty save value... I have been told.
2024-01-26 16:22:07 +01:00
Tetrakern
8ed48b79e2 Use container-inline-size where needed
Instead of redundantly adding to property.
2024-01-26 15:56:18 +01:00
Tetrakern
8c4b44e41d Unify @since version number format
Yes, it bothered me.
2024-01-26 15:51:11 +01:00
Tetrakern
0bd8144e0c Add no_found_rows to query args
Collection statistics do no longer need that.
2024-01-26 15:42:06 +01:00
Tetrakern
e55e8aaf67 Bump version to 5.9.2 2024-01-26 15:29:39 +01:00
Tetrakern
a3dbcccc73 Add utility function for chapter list posts 2024-01-26 15:00:53 +01:00
Tetrakern
6a4886892b Fix vertical align of text-icon in chapter index 2024-01-26 14:56:24 +01:00
Tetrakern
f85840702d Add utility function for collection statistics 2024-01-26 14:40:56 +01:00
Tetrakern
b6aa9ff83c Add missing container inline-size properties 2024-01-26 14:09:24 +01:00
Tetrakern
85d3b8755d Fix undefined variable error 2024-01-26 12:02:28 +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
588bdff89a Update admin.min.js 2024-01-25 20:50:56 +01:00
Tetrakern
6210a0d2e4 Apply missing inline-size containers 2024-01-24 23:06:26 +01:00
Tetrakern
cff3fb7798 Fix sometimes undefined variable in JS
Well, this was missing all the time, I wonder why it started to make problems NOW and only in some cases.
2024-01-24 21:57:37 +01:00
Tetrakern
671dd5f164 Improve nav submenu transition
Prevents the hover event from persisting into the invisible menu and cause accidental clicks. If that happens even to me, it definitely happens to others.
2024-01-24 20:12:36 +01:00