Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

yaydesign on "displaying dynamic query results in a not-ugly format?"

$
0
0

So I'm building a site about some semi-pro sports leagues (all within the same sport).

I've got a spreadsheet that I was planning to upload to a SQL table, where each row holds some very basic information about a single game (league, year, date, home & away teams, final score); there's roughly 2,500 games all together, spanning approximately 180 teams.

Each team has its own page, which is a custom post type. I would like to add code to the page template which would query the SQL data, pull the scores from all the games involving that one team and - here's the kicker - display it in a sortable, filterable and responsive format.

I feel like I can do different pieces of this but not everything all together. I'm looking at these plugins for potentially querying & returning the game info:

https://wordpress.org/plugins/abase/
http://wordpress.org/plugins/dbview/

...and I found a paid plugin that displays table data in a pretty hot format:

http://wpdatatables.com/responsive-tables-in-wordpress/

...but for that plugin, it seems like I would need to write and save a different query for each team, then transfer the resulting shortcode to the individual page which I would really rather not do for like 200 teams.

Could anyone point me towards a smart way to do this? I'm more of a designer than a developer, although I'm working on this project with a friend who is a database guru by trade. She has no WordPress experience, though, so while our skill sets would seem enough to do the job, we're having trouble bridging the gap. Any help would be greatly appreciated. Thanks!


Viewing all articles
Browse latest Browse all 8245

Trending Articles