Pinned
Discussion
Dark mode toggle in user preferences
It would be great if users could switch to a dark color scheme directly from their profile preferences, independent of the system theme. Many of us work late and dark…
0 reactions

Tried this on a staging copy first and it behaved exactly as described. Confident enough to roll it to production now.
One caveat for larger communities: keep an eye on the indexes. At a few thousand rows the difference is night and day.
For what it is worth, the same approach works with the PMPro adapter — the membership side is identical from here.
One caveat for larger communities: keep an eye on the indexes. At a few thousand rows the difference is night and day.
Could you say more about how you measured the result? I want to try this but I am not sure what success would look like.
Appreciate the clear steps. The dry-run tip in particular saved me from a mistake I would not have caught otherwise.