Back to Top

How to get Current URL in WordPress?

To get Current URL in wordpress

After a long time, I get time for the article so today i am going to explain how to get current URL on which page you are.

I am going to show you function which will you can use on any page and get URL of page in WordPress function.

So, Let’s see the function:

You can use above function in PHP also. You will get current URL of page. This is very simple function, you can just copy and paste and use it.

Must Read:

Table layout using DIV tags
Clean HTML content in PHP
The DocType In HTML

As always, thanks for reading. Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

Custom Directives in Angular JS

Posted on 8 years ago

Bhumi

HTML5 Canvas Element Tutorial

Posted on 8 years ago

Bhumi

How to use NoSQL and MongoDB

Posted on 11 years ago

Bhumi