WHARTON

Updated 11 days ago
  • ID: 363982/110
United Kingdom
In most scenarios will cover your needs, however, that will only get you the current page URL for single posts, pages, and custom post types and only works within the loop... There is for post type archive URLs and for category/taxonomy URLs but it would be nice if we had one all-encompassing function that worked in all scenarios... You don't need to worry about ever being empty as WordPress calls the function on every load to ensure this and other server variables it relies on exist. As a bonus, this preserves query string values ensuring it works with plain and custom permalink structures.
Primary location: United Kingdom
  • 0
  • 0
Interest Score
1
HIT Score
0.33
Domain
pwharton.co.uk

Actual
pwharton.co.uk

IP
146.148.91.4

Status
OK

Category
Other
0 comments Add a comment