Get url from query string
-
Hello,
I’m using the shortcode to display a certain field from a website which is retrieved from a query string.
It works fine and retrieves the ?website=https://google.nl website.
Unfortunately it conflicts with WP somehow, it gives a blank when I’m trying to log in.I know it’s a modification, but it would really help me out.
function SHORTCURL_remote_get($attr, $url = "") { $return = ''; $debug = ''; $error = ''; //THIS CUSTOM GIVES 3 ERRORS on activating, IT WORKS, BUT GIVE WHITE SCREEN WHEN LOGGING IN /wp-admin $attr["url"] = $_GET['website']; //EOF CUSTOM
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get url from query string’ is closed to new replies.