Get the current page URL
I have tried using the following code to get the current URL
global $wp; $current_url = home_url( add_query_arg( $_GET, $wp->request ) );
$current_url is always null.
The end goal is to have a banner that depends on a custom field on the member-loop page.
- You must be logged in to reply to this topic.