Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress get post slug

<?php
    global $post;
    $post_slug = $post->post_name;
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wordpress #post #slug
ADD COMMENT
Topic
Name
4+2 =