this post is featured

True URL to Post ID Within WordPress

Occasionally, developers of Wordpress themes and plugins may have need to locate a page, a post, and get the ID before the post object is done with it’s initial query. If you - like many developers out there - have discovered that the url_to_postid function is insufficient, you are NOT alone. The function I created (shown below) will make your day a happier one. …