32 Commits

Author SHA1 Message Date
Tetrakern
822af3097c Optimize collection query 2024-10-28 02:19:27 +01:00
Tetrakern
b07325d47e Add fictioneer_main_end action hook 2024-09-07 16:57:34 +02:00
Tetrakern
58d342d039 Change page padding system 2024-08-12 12:00:29 +02:00
Tetrakern
d15d4c6e1d Move main observer element to action hook 2024-06-14 01:24:58 +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
Tetrakern
c384de6e01 Reduce PHP/HTML mode-switch overhead
Probably impossible to notice, but still.
2024-05-17 12:29:52 +02:00
Tetrakern
9c816df834 Replace array utility with Elvis operator
Same result, easier to read, less overhead.
2024-05-14 22:59:02 +02:00
Tetrakern
c9e8500d5a Update template formatting
Should be easier to read. No functional changes.
2024-04-14 12:57:59 +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
995fa50b11 Fix tab sizes in files
How did this even happen?
2024-01-27 21:00:00 +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
f207720f52 Reduce unnecessary get_the_ID calls 2023-12-02 00:00:13 +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
0577cc40f4 Sticky stories query - final form (maybe) 2023-09-17 17:36:11 +02:00
Tetrakern
6ede5b4da1 Rename function 2023-08-21 00:57:56 +02:00
Tetrakern
413e87a61e Properly gate unpublished posts
And associated chapters. I hope this is the last iteration.
2023-08-17 21:30:42 +02:00
Tetrakern
b4917ec34e Improve unpublished post access gate 2023-08-17 18:55:36 +02:00
Tetrakern
7785a31e1b Fix missing post ID 2023-08-17 18:14:50 +02:00
Tetrakern
5deeb29991 Hide invisible posts in public caches 2023-08-17 16:38:22 +02:00
Tetrakern
a55c4e1ce5 Rename function 2023-08-17 03:20:27 +02:00
Tetrakern
bed9852de1 New query safety function for empty post__in
This was causing untold issues...
2023-08-17 01:10:00 +02:00
Tetrakern
baf96f4b68 Improve chapter, story, and collection cards
Now with up to 1/4 of the previous queries!
2023-08-08 01:51:03 +02:00
Tetrakern
7599fa25b0 Some post author cache optimizations 2023-08-06 21:39:43 +02:00
Tetrakern
97df64c774 Improve collections 2023-08-05 20:09:30 +02:00
Tetrakern
ae9bf11a37 Use update_post_author_caches
Now this is sexy!
2023-08-05 18:26:50 +02:00
Tetrakern
8ce5507925 Move page assignment links to options table 2023-08-03 23:51:04 +02:00
Tetrakern
476495ac2d Improve observer CSS 2023-07-30 17:00:40 +02:00
Tetrakern
07c76a9d35 Let collections ignore hidden stories 2023-06-16 02:07:03 +02:00
Tetrakern
9136947e4c Clean history for public release 2023-01-21 01:31:34 +01:00