permalink_anchor
PERMALINK TAG
What It Does
Inserts an anchor id or title for a post’s permalink. permalink_anchor must be used within The Loop.
Code
<?php permalink_anchor(‘type’); ?>
There are two types of permalink anchors to use:
id
Uses the numerical post ID. This is used by default.
title
Uses the postname.
Example
<?php permalink_anchor(‘title’); ?>




