502 Commits

Author SHA1 Message Date
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
5180168efa Improve collection comment count 2023-08-08 00:18:53 +02:00
Tetrakern
3d2479b91b Improve collection card performance
Saves a good 10+ queries PER CARD!
2023-08-08 00:15:26 +02:00
Tetrakern
891cb7ee21 Use new settings in collection cards 2023-08-07 19:55:24 +02:00
Tetrakern
48722090e6 Improve comment count queries
Set update_comment_meta_cache to false since we do not need meta data to count comments.
2023-08-07 12:43:02 +02:00
Tetrakern
32858e5fbb Constant to turn off sticky stories 2023-08-07 12:07:48 +02:00
Tetrakern
7599fa25b0 Some post author cache optimizations 2023-08-06 21:39:43 +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
97df64c774 Improve collections 2023-08-05 20:09:30 +02:00
Tetrakern
2f60962060 Update _collection-statistics.php 2023-08-05 19:25:32 +02:00
Tetrakern
ac507476cf Optionize comment count refresh for story data
This is an expensive query and hardly needed, but better leave it on by default for legacy reasons.
2023-08-05 18:31:39 +02:00
Tetrakern
ae9bf11a37 Use update_post_author_caches
Now this is sexy!
2023-08-05 18:26:50 +02:00
Tetrakern
a31a1cef8d Add flash purge for WP query cache 2023-08-05 15:14:14 +02:00
Tetrakern
da2ff1bc14 Remove superfluous code 2023-08-05 05:39:32 +02:00
Tetrakern
2770f74168 Transient for main navigation
Unbelievable how many queries this thing needs...
2023-08-04 13:48:00 +02:00
Tetrakern
42b972e2fc Optimize post and latest-post partials
This saves a lot of queries.
2023-08-04 11:22:28 +02:00
Tetrakern
70b580ca89 Improve performance of story cards 2023-08-04 01:33:12 +02:00
Tetrakern
8ce5507925 Move page assignment links to options table 2023-08-03 23:51:04 +02:00
Tetrakern
d681de4fde Update some doc comments
Going for an unified style.
2023-08-03 20:39:31 +02:00
Tetrakern
c92117e650 Improve collection statistics performance 2023-08-03 14:42:46 +02:00
Tetrakern
50c0cd10aa Small performance fixed 2023-08-03 13:18:57 +02:00
Tetrakern
9ed7e08868 Improve shortcode performance
Queries are cached as Transients for 5 Minutes, which is not much but help for high traffic that cannot be cached normally (e.g. logged-in users).
2023-08-03 13:17:57 +02:00
Tetrakern
e7cc006fbe Update _latest-updates.php 2023-08-02 01:18:51 +02:00
Tetrakern
b090019fc1 Reduce cookie buttons CSS 2023-07-31 14:37:56 +02:00
Tetrakern
9b39cc54e8 Improve CSS
Some reductions, more BEM.
2023-07-31 00:05:38 +02:00
Tetrakern
476495ac2d Improve observer CSS 2023-07-30 17:00:40 +02:00
Tetrakern
b5b36be4fc Add hooks to navigation partial 2023-07-29 14:49:22 +02:00
Tetrakern
70c9d2d93b Add relationship field for story blog posts
That was not fun.
2023-07-29 00:37:16 +02:00
Tetrakern
03ec595c01 Limit story blog posts to authors 2023-07-28 12:06:44 +02:00
Tetrakern
c3dd32717f Add TTS setting modal + refactoring 2023-07-09 19:51:54 +02:00
Tetrakern
7df10bfa4d Replace user icon 2023-07-09 18:16:55 +02:00
Tetrakern
f64eb135a6 Update modal script
Should have done it like this in the first place.
2023-07-09 14:37:10 +02:00
Tetrakern
ebd7cd8046 Move element templates to partials
This makes it easier to customize them in child themes.
2023-07-02 01:26:59 +02:00
Tetrakern
ab2c65a5bb Rename .blog class to .blog-posts
Avoid conflict with the body blog class from WP.
2023-06-18 21:15:31 +02:00
Tetrakern
41909556e5 Replace all frontend inline onclick handlers 2023-06-18 03:28:44 +02:00
Tetrakern
500ef9450e Replace inline onclick sharing modal link copy 2023-06-18 00:44:31 +02:00
Tetrakern
09ca5ebfe5 Replace inline onclick obfuscation handler 2023-06-17 23:33:08 +02:00
Tetrakern
40c65a89a5 Replace inline onclick logout handler 2023-06-17 23:21:02 +02:00
Tetrakern
2e6bd2c7eb Replace inline onclick to get story comments 2023-06-17 20:51:55 +02:00
Tetrakern
abe20baa74 Clean up TTS interface 2023-06-16 13:58:07 +02:00
Tetrakern
07c76a9d35 Let collections ignore hidden stories 2023-06-16 02:07:03 +02:00
Tetrakern
d9ec7f57dd Add constant to customize TTS regex
This should make it possible to use languages with different characters. Maybe.
2023-06-15 14:18:52 +02:00
Tetrakern
c64384cb40 Remove RSS feed from hidden stories 2023-06-13 11:26:34 +02:00
Tetrakern
137afd6ed4 Use session storage for temp page cache
Far better for this purpose. Also fixed deferred nonce not being cleared on time.
2023-06-12 11:41:31 +02:00
Tetrakern
9e727533dd Add aria labels to info box toggles 2023-06-11 19:24:16 +02:00
Tetrakern
ca3ef92068 Extended archives and sort-order-filter 2023-06-11 16:15:23 +02:00
Tetrakern
de95fb4c22 Fix publish date not showing sometimes
Apparenty, the_date() does that under dubious circumstances. Whatever.
2023-06-11 05:17:09 +02:00
Tetrakern
142096f72a Add aria labels 2023-06-11 04:29:58 +02:00
Tetrakern
c35ea2a5ad Refactored mobile menu
That. Was. Not. Fun!
2023-06-11 01:17:04 +02:00
Tetrakern
a1fdf5de78 Fix chapter folding not honoring settings 2023-06-10 18:30:33 +02:00