How can I get page slug April 4, 2022 by Tarik Billa Inside of your loop you can do: global $post; echo $post->post_name;