Notifications
Clear all

wpForo 1.x.x [Closed] Show forum statistics in other places

10 Posts
3 Users
3 Reactions
2,757 Views
Posts: 237
Topic starter
(@mrsamg)
Reputable Member
Joined: 8 years ago

Cool, a bit of reading and I can probably do that.

What would be really cool is if the same info could be put in widget for use on the rest of the site. Maybe rotated 90 degrees for a sidebar widget. @robert is there anything like that planned?

Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

I think you can use one of these PHP Text Widgets and put the code in widget content:

https://wordpress.org/plugins/php-code-widget/
https://wordpress.org/plugins/php-text-widget/

Posts: 237
Topic starter
(@mrsamg)
Reputable Member
Joined: 8 years ago

Okay, so that works but just gives it all as text. I was thinking the same type of presentation as is normally at the bottom.

Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

The code only displays numbers. HTML and CSS you should customize yourself.  The footer style can't be used in this widget. You can try to copy the /wpforo/wpf-themes/classic/footer.php template file content to widget, but I don't think the result will be good.

Page 2 / 2