Dapatkan Slug Halaman Saat Ini

$slug = get_queried_object()->post_name;
Wide-eyed Wallaby