Get Current Url WordPress

global $wp;
echo home_url( $wp->request )

Leave a Comment