31 Commits

Author SHA1 Message Date
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
f207720f52 Reduce unnecessary get_the_ID calls 2023-12-02 00:00:13 +01:00
Tetrakern
5d442f5d54 Allow stories to be ordered by latest chapter update 2023-10-28 16:17:56 +02:00
Tetrakern
2b9f92b202 Documentation 2023-09-17 18:21:46 +02:00
Tetrakern
0577cc40f4 Sticky stories query - final form (maybe) 2023-09-17 17:36:11 +02:00
Tetrakern
9c6f2bd20f Removed some comments 2023-09-16 14:07:17 +02:00
Tetrakern
977609a6f8 Update story queries and shortcodes 2023-09-16 13:10:52 +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
94f887b896 Improve stories template query 2023-08-22 21:59:12 +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
32858e5fbb Constant to turn off sticky stories 2023-08-07 12:07:48 +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
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
e9f8695ff6 Add option to hide a story in lists 2023-05-07 01:45:42 +02:00
Tetrakern
9136947e4c Clean history for public release 2023-01-21 01:31:34 +01:00