coljac
Joined: Jan 08, 2016
|
  Posted:
Feb 13, 2016 - 10:10 |
|
Hi there.
I made a Wordpress plugin that pulls league stats and renders tables for use in Wordpress pages and posts.
The code is available here.
Hope one day someone gets some use out of it. |
|
|
harvestmouse
Joined: May 13, 2007
|
  Posted:
Feb 13, 2016 - 10:17 |
|
|
Shraaaag
Joined: Feb 15, 2004
|
  Posted:
Feb 13, 2016 - 11:32 |
|
Hey, looks interesting.
Do you have an example of how it'll look on a wordpress page or post? |
_________________
|
|
coljac
Joined: Jan 08, 2016
|
  Posted:
Feb 15, 2016 - 12:52 |
|
Hi,
I threw a quick demo up here:
https://coljac.net/fumbbl/
It only took a few minutes.
For reference, the "team stats" page in wordpress has the following content:
Code: |
[fumbbl_team_table attribute='touchdowns' title='Touchdowns' column_label='TDs']
[fumbbl_team_table attribute='casualties' title='Casualties' column_label='Casualties']
[fumbbl_team_table attribute='completions' title='Completions' column_label='Completions']
[fumbbl_team_table attribute='passing' title='Passing Yards' column_label='Yards']
[fumbbl_team_table attribute='rushing' title='Rushing Yards' column_label='Yards']
[fumbbl_team_table attribute='blocks' title='Most blocks' column_label='Blocks']
[fumbbl_team_table attribute='fouls' title='Most fouls' column_label='Fouls'] |
|
|
|