49 coaches online • Server time: 15:43
Forum Chat
Log in
Recent Forum Topics goto Post Creating a custom to...goto Post Secret League Americ...goto Post DOTP Season 4
SearchSearch 
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic
coljac



Joined: Jan 08, 2016

Post   Posted: Feb 13, 2016 - 10:10 Reply with quote Back to top

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

Post   Posted: Feb 13, 2016 - 10:17 Reply with quote Back to top

Very interesting.
Shraaaag



Joined: Feb 15, 2004

Post   Posted: Feb 13, 2016 - 11:32 Reply with quote Back to top

Hey, looks interesting.
Do you have an example of how it'll look on a wordpress page or post?

_________________
Image
coljac



Joined: Jan 08, 2016

Post   Posted: Feb 15, 2016 - 12:52 Reply with quote Back to top

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']
Display posts from previous:     
 Jump to:   
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic