Get current URL (permalink) without /page/{pagenum}/

Posted by Prem Tiwari | Updated on

You can get the current URL through home_url( $wp->request ). Try the example below:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers