• i have an external sports plugin running here : edgeathletics.com/scores – i simply enter practice and game information in the admin area and it displays on this page. It is sorted by team –

    what i wanted to do was to have an option to SELECT a team and then a page shows up with ONLY the team that was selected (thier games and practices) – not sure how to go about this!

    can anyone take a look for me and let me know if they know how? I will provide access to original php files

    thanks a million!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    Why not write a page for each team?

    http://codex.wordpress.org/Pages

    Ummm, Pages aren’t useful in the slightest for this. It’s all custom data.

    you could have a link that embeds the ID of the team wrapping the name of each team, and when clicked it takes you to games/practices page with a GET parameter like ?teamid=2. Then grab the $_GET[‘teamid’] value, and lookup/SELECT on just that ID.

    -d

    Moderator James Huff

    (@macmanx)

    Good point. I’m old-school and would enter the data manually for about a year, give up, then find some way to make a plugin. ^_^

    Thread Starter maestro42

    (@maestro42)

    you could have a link that embeds the ID of the team wrapping the name of each team, and when clicked it takes you to games/practices page with a GET parameter like ?teamid=2. Then grab the $_GET[‘teamid’] value, and lookup/SELECT on just that ID.

    not exactly sure how to do that ? can anyone give more details ?
    thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘need help with plugin/hack’ is closed to new replies.