Browsing category Resources

Get current page url in WordPress


Getting current page URL in WordPress isn’t that easy for starters. Most of the people use $_SERVER variable to get URL. I tried following one to get current URL to redirect it after login or logout. $current_page_url = $_SERVER[“HTTP_HOST”] . $_SERVER[“REQUEST_URI”]; The problem with this code was that it wasn’t giving me queried object information

Website Pre-launch Activities.


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur egestas, massa at luctus luctus, ligula nisi sodales nibh, nec eleifend velit sem ac orci. Aliquam erat volutpat. Donec nunc augue, porta eget suscipit sed, rutrum suscipit velit. Duis elementum ornare nulla, porttitor vehicula turpis tristique quis.

@Yasir_Fayyaz @Asad_Umar lol Really? I can't remember this verdict for centuries as they said I will.!

@Asad_Umar And still, nothing seems to be happening to this thug in near future!

I wonder what we suppose to remember for centuries in the stupid verdict? #اناللہ_وانا_الیہ_راجعون #PanamaCase #SupremeCourt

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Categories