StatsWidget column count
Is there any way to make the grid 2 cols?
In the source code there is this:
But if i look at
$columns
count there is no way to make it 2:
8 Replies
Yes: just override the method itself:
Thanks
Should be in the widgets docs tbh
Because that page is not for widgets
I understand your point.
I think the reason for documenting it in the Dashboards area is because it's in Dashboards/panels that you actually "display" the widget.
The Widgets directory of docs is more about "making" widgets, not displaying them.
I get you. But widgets are not restricted to a dashboard page
You can put them on any page
Fair. I'm sure that a reasonable proposal as a PR to the docs would be welcomed.
Yeah will think about it