Support » Fixing WordPress » Get post slug

Viewing 2 replies - 1 through 2 (of 2 total)
  • whooami

    (@whooami)

    Member

    <?php permalink_anchor(title); ?>

    read the codex for more info, you have to use that within the loop.

    vernikr

    (@vernikr)

    I write
    <?php permalink_anchor(title); ?>
    just after the beginning of the loop
    <?php if (have_posts()): while(have_posts()) : the_post(); ?>
    but have no result.
    If I use any another function (ex. the_ID) the result will be. Is something wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get post slug’ is closed to new replies.