Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get current page slug

$slug = get_queried_object()->post_name;
Source by wordpress.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #current #page #slug
ADD COMMENT
Topic
Name
7+9 =