jrgong
(jrgong)
13 Noviembre, 2024 13:21
1
Hey guys
Is there any way to hide all the stats not just cosmetically via CSS, but actually remove the figures from the about.json file? and possibly restrict it to staff only?
We still want to keep it accessible for theme components like Stat Banner - #16 by nolo
jrgong
(jrgong)
13 Noviembre, 2024 13:50
3
Do i understand that correctly, that the about.json has to stay public for the stat banner tc to fetch the data?
1 me gusta
merefield
(Robert)
13 Noviembre, 2024 13:50
4
I believe that’s the case.
1 me gusta
pfaffman
(Jay Pfaffman)
13 Noviembre, 2024 15:33
5
You could have a plugin that overrides the about.json route and makes it availble only to staff.
1 me gusta