Support » How-To and Troubleshooting » permalink_anchor not giving slug

permalink_anchor not giving slug

  • Hi, I’m trying to get the slug for the current post to echo out for a form processor I’m creating. I used <?php permalink_anchor(‘title’); ?> but that gives me the title of the article like “my-article-title-format” where what I want is the slug I typed into the Post slug box. Any idea how I can get the slug of the current article??

  • The topic ‘permalink_anchor not giving slug’ is closed to new replies.