Tetrakern
172caba197
Upgrade theme cache purge tool
...
Does now purge all theme Transients.
2023-08-27 21:16:31 +02:00
Tetrakern
76d575cc55
Improve aria labels
2023-08-27 19:18:59 +02:00
Tetrakern
dda8293a36
Fix chapter order on story cards
2023-08-26 21:11:29 +02:00
Tetrakern
e73638cdca
Add action to OAuth after user creation/login
2023-08-23 22:40:57 +02:00
Tetrakern
b9f40aeddb
More control over nav menu rendering
...
Constant to turn off the Transient and safety checks whether the menu exists.
2023-08-23 22:02:12 +02:00
Tetrakern
49583e2938
Use safer data attribute for menu cloning
...
Just in case someone adds a filter and changed a bunch of things.
2023-08-23 12:33:04 +02:00
Tetrakern
6ede5b4da1
Rename function
2023-08-21 00:57:56 +02:00
Tetrakern
110b024e63
Check for ABSPATH in template parts
...
Probably overkill but oh well...
2023-08-20 20:21:48 +02:00
Tetrakern
b4d20aa0b3
Cleaned up some comments
2023-08-19 22:30:40 +02:00
Tetrakern
1f9ca9ecd9
Update custom story pages
...
Now honors unpublished posts -- by not showing them! And apparently, passwords work on these pages, although only one can be unlocked at a time. Who knew?
2023-08-19 22:19:40 +02:00
Tetrakern
da86a09ca3
Remove custom chapter warning color
...
Honestly, that was a dumb idea to add, what was I thinking?
2023-08-19 22:06:33 +02:00
Tetrakern
a966dd8e54
Style for unavailable cards
2023-08-17 22:38:38 +02:00
Tetrakern
baa3aa9963
Update latest chapter shortcode
...
No accounts for unpublished parent stories. Somewhat.
2023-08-17 21:46:17 +02:00
Tetrakern
ef00a51301
Account for unpublished story parent or chapter
2023-08-17 16:46:32 +02:00
Tetrakern
a55c4e1ce5
Rename function
2023-08-17 03:20:27 +02:00
Tetrakern
299db867e8
Fix overzealous post__in filtering
...
I hate this.
2023-08-17 01:32:02 +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
8ced61b98f
Fix "new" note on story cards
...
Holy shit...
2023-08-17 00:40:44 +02:00
Tetrakern
c0af4d2c81
Improve Patreon display in profile
2023-08-14 11:47:44 +02:00
Tetrakern
e6be7aea5b
Update profile comment preview
2023-08-14 11:00:08 +02:00
Tetrakern
c5a5612eab
Add self-delete to admin profile
2023-08-13 18:03:17 +02:00
Tetrakern
60fdf8909b
Fix frontend self-delete
2023-08-13 17:14:40 +02:00
Tetrakern
789c9fbbfb
Update several capability checks
2023-08-13 06:42:14 +02:00
Tetrakern
a9bbdb2785
File sanity and loading optimization
...
Moved some functions around only scoped them and partials better to the needed context. Saves about 100-110 KiB memory. It's something!
2023-08-08 20:33:24 +02:00
Tetrakern
e7bb889235
Update page card
2023-08-08 12:17:27 +02:00
Tetrakern
1f190a1c26
Update post card
2023-08-08 10:49:46 +02:00
Tetrakern
84e29fb280
Improve recommendation card
2023-08-08 09:37:57 +02:00
Tetrakern
7326cd2210
Improve loop continue conditions
2023-08-08 09:21:26 +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
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