WP Anchor Header generates anchored headings.
As of April 2026, WP Anchor Header is a WordPress link plugin with 400 active installations and a 4.3/5 rating from 6 reviews. It has been downloaded 9.9K+ times in total. Requires WordPress 4.0+ and PHP false+. Available on WordPress.org since 2015. Last updated 8 years ago — may have compatibility concerns. Top alternative: Custom Post Type Permalinks.
WP Anchor Header generates anchored headings (H1-H6), creating a heading like this:
<h2 id="the-heading">
The Heading<a class="anchorlink dashicons-before" href="#the-heading"></a>
</h2>
The links are styled using the following CSS:
/* show IDs for anchors */
h1[id]:hover a.anchorlink:before,
h2[id]:hover a.anchorlink:before,
h3[id]:hover a.anchorlink:before,
h4[id]:hover a.anchorlink:before,
h5[id]:hover a.anchorlink:before,
h6[id]:hover a.anchorlink:before {
content: "\f103"; /*dashicons-admin-links*/
color: #888;
font-size: smaller;
text-decoration: none;
vertical-align: baseline;
}
a.anchorlink {
text-decoration: none;
margin-left: 0.5em;
font-size: smaller;
}
The plugin is inspired by Christian Weiske and his articl…
| WordPress | 4.0+ requiredTested up to 4.9.29 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.