WordPress – How Can I Get Current Page Slug

Is there a way to get current page’s slug outside the loop?

if you know the page id, try following

if you dont know the page id, try following

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments