Hi, What i am trying to do is pull a variable from a url, ie.
http://www.example.com/index.php?Key=hello
I'm able to do this on a normal php page with the following php code
<?php echo str_replace('-', ' ', $_GET['Key'])?>
But i can't seem to get it to function in wordpress.
How would i go about doing this?