Dapatkan Slug Halaman Saat Ini
$slug = get_queried_object()->post_name;
Wide-eyed Wallaby
$slug = get_queried_object()->post_name;