SyntaxFix
Write A Post
Hire A Developer
Questions
How about?
<?php $queried_post = get_page_by_path('my_slug',OBJECT,'post'); ?>