Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter gunsnros3s

    (@gunsnros3s)

    Quit when you’ve had enough!

    Things still aren’t working out. I uploaded query_plugin.php as you specified with the code. Thanks! In the second section of code should it be:

    $playerID = playerID_query_vars("playerID");

    instead of

    $playerID = get_query_var("playerID");

    ? Otherwise I don’t know when I’m ever supposed to be using the function playerID_query_vars() we built in the plugin.

    Finally where do the actual values of $playerID ever get passed from? I don’t see where “$playerID = 1”, for example, would ever be coded. That would have to somehow be attached to a WordPress page. Are those still somehow defined on the individual content pages in WordPress?

    Ugh … someday this will work!

    Thread Starter gunsnros3s

    (@gunsnros3s)

    Whoops … I think I may have overstepped my bounds!

    I’ve never done any plugin work with WordPress. I was just putting in the PHP code into the contents of my Page. I was able to do this because I have a plugin called PHP EXEC that allows <?php ?> in the content of posts/pages.

    Are you saying that I will need to create my own plugin to accept a variable defined from a post/page in order to pass it to an included php?

    I really appreciate all the help, DD!

    Thread Starter gunsnros3s

    (@gunsnros3s)

    Intriguing … though I’m afraid I’m not positive where to stick this code!

    Should I place the set up on a functions php? And then the use code should be in player.php? Where would I set $playerID? Thanks, again!

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