jrgong
(jrgong)
13 Novembre 2024, 1:21pm
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 Novembre 2024, 1:50pm
3
Do i understand that correctly, that the about.json has to stay public for the stat banner tc to fetch the data?
1 Mi Piace
merefield
(Robert)
13 Novembre 2024, 1:50pm
4
I believe that’s the case.
1 Mi Piace
pfaffman
(Jay Pfaffman)
13 Novembre 2024, 3:33pm
5
You could have a plugin that overrides the about.json route and makes it availble only to staff.
1 Mi Piace