Put this code in your WordPress Theme’s template file to get the url of current page.
$current_url = home_url(add_query_arg(array(),$wp->request));
0 Responses to How to Get current page URL in WordPress
FILL THE FIELDS TO LEAVE A REPLY. Your email address will not be published.