WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Accessing post slug data in the loop (3 posts)

  1. termserv
    Member
    Posted 5 years ago #

    Does anyone know how I can echo the post slug in the loop?

  2. Lari
    Member
    Posted 5 years ago #

    <?php echo($post->post_name) ?>

  3. termserv
    Member
    Posted 4 years ago #

    Thanks! :) I was a noob back then :P

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags