Languages: English • 日本語 (Add your language)
Outputs a permalink anchor identifier or id (<a id="....) for a post. This is useful for linking to a particular post on a page displaying several posts, such as an archive page. This tag must be within The Loop.
<?php permalink_anchor( $type ); ?>
Inserts the permalink anchor next to a post's title.
<h3><?php permalink_anchor(); ?><?php the_title(); ?></h3>
Since: 0.71
permalink_anchor() is located in wp-includes/link-template.php
.
get_permalink(), the_permalink(), post_permalink(), permalink_anchor(), permalink_single_rss()