256 Kilobytes

Answers in Web Development | By bugblocker

Published

298 views, 0 RAMs, and 1 comment

Tags: PHP, Wordpress, Web Development

Profile Photo - bugblockerbugblocker256KB WriterKell, IL

I have a super basic web development question I was hoping someone could answer for me. I'm working with WordPress and I think it's going okay, but I don't know how to get the current page URL. Can anyone help me?

Download more RAM. 🐏 ⨉ 0Posted by bugblocker 2 years ago 🕓 Posted at 19 March, 2019 02:03 AM PDT

Don't smoke illegal weed every day.

Profile Photo - KacssPLKacssPL256KB WriterVergennes, VTClassic User

You can use the following code to obtain the current URL in wordpress: global $wp; $current_url = home_url(add_query_arg(array(), $wp->request));. This command will show the full url path once entered.

Download more RAM. 🐏 ⨉ 0Posted by KacssPL 2 years ago 🕓 Posted at 30 March, 2019 15:05 PM PDT

https://vimeo.com/318797062

Post a New Comment

Do you like having a good time?

Register an Account

You can also login to an existing account or reset your password. All use of this site is subject to the terms of service and privacy policy.

Read Quality Articles

Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.

View Articles →

Argue with People on the Internet

Use your account to explain why people are wrong on the Internet forum.

View Forum →

Vandalize the Wiki

Or don't. I'm not your dad.

View Wiki →

Ask and/or Answer Questions

If someone asks a terrible question, post a LMGTFY link.

View Answers →

Make Some Money

Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.

Register an Account

Answers— Read More

Find more related content below!