global $wp; $current_url = home_url(add_query_arg(array(),$wp->request));