Handy snippet to get current page URL on your WordPress website. It doesn’t matter if you need it on single post, page, home, category, tag, custom post type or any other WordPress template.
You can use this code inside any template on your WordPress website:
No comments:
Post a Comment