[insert_php]
global $wp;
$current_url = add_query_arg($wp->query_string, '', home_url($wp->request));
[/insert_php]