Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get page name wp

$slug = basename(get_permalink());
//or
$wp_query->queried_object->post_name
 
PREVIOUS NEXT
Tagged: #page #wp
ADD COMMENT
Topic
Name
5+8 =