33 Commits

Author SHA1 Message Date
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
b3e79e80fe Add sanitizer for query vars
Should have done that from the start.
2024-04-24 12:17:08 +02:00
Tetrakern
c9e8500d5a Update template formatting
Should be easier to read. No functional changes.
2024-04-14 12:57:59 +02:00
Tetrakern
a1a32fbe2c Add ordering by words 2024-04-11 11:17:30 +02:00
Tetrakern
424321a313 Improve chapter and story meta query setup 2024-04-11 10:55:22 +02:00
Tetrakern
ac1771f1f8 Simplify query args 2024-01-28 20:45:32 +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
78005f40d9 Improve sanitization 2023-12-15 17:51:09 +01:00
Tetrakern
eeeb2fdcee Reduce yet more unnecessary get_the_ID calls 2023-12-02 11:58:58 +01:00
Tetrakern
29d8810fd1 Update some code formatting 2023-10-09 00:27:36 +02:00
Tetrakern
9c6f2bd20f Removed some comments 2023-09-16 14:07:17 +02:00
Tetrakern
ec9aea3502 Update chapters.php 2023-09-16 13:59:27 +02:00
Tetrakern
ae54d0c8b7 Add names to queries
Allows to easily identify queries in filters.
2023-08-31 22:23:31 +02:00
Tetrakern
67a1cbd144 Improve orderby sanitization
WP_Query probably already sanitizes this, but I could not find anything about it.
2023-08-30 23:15:17 +02:00
Tetrakern
54eefa4caf Fix query args for chapters and recs 2023-08-07 19:51:52 +02:00
Tetrakern
cbe50fb31b Optimize list page template queries
If no taxonomies are shown, do not update the term cache.
2023-08-07 12:15:01 +02:00
Tetrakern
b88f4972f7 Hidden posts now have a "hidden" card
The meta query just was too expensive.
2023-08-05 21:45:08 +02:00
Tetrakern
ae9bf11a37 Use update_post_author_caches
Now this is sexy!
2023-08-05 18:26:50 +02:00
Tetrakern
476495ac2d Improve observer CSS 2023-07-30 17:00:40 +02:00
Tetrakern
97fb5cae04 Made chapter meta queries more resilient 2023-06-16 02:03:31 +02:00
Tetrakern
312972a9f0 Make sure page default to 1 on list pages
Apparently this can result in 0. Aha. Sure. Thanks for nothing.
2023-06-11 14:35:06 +02:00
Tetrakern
35bfa7b058 Remove order param from date query helper
Completely unnecessary here.
2023-06-11 13:38:08 +02:00
Tetrakern
5405553c6a Add function to append date query
And consider the orderby argument because this makes sense to me. Published Last Week should only show what was published last week, not what was updated.
2023-06-11 03:03:08 +02:00
Tetrakern
0ed01cb2a0 Fix list template date queries 2023-06-11 02:17:46 +02:00
Tetrakern
b6961c5f8c Add sort-order-filter features 2023-06-08 22:44:43 +02:00
Tetrakern
b7aa7ba2a3 Add order and orderby interface to lists 2023-06-07 22:27:26 +02:00
Tetrakern
9136947e4c Clean history for public release 2023-01-21 01:31:34 +01:00