Automagic mapping of Page Templates to post IDs to facilitate better dynamic link generation
As of April 2026, Template Map is a WordPress link plugin with 10 active installations and a 0/5 rating0. It has been downloaded 1.9K+ times in total. Requires WordPress 3.9+ and PHP false+. Available on WordPress.org since 2014. Last updated 4 years ago — may have compatibility concerns. Top alternative: Custom Post Type Permalinks.
Template Map is a utility plugin designed to make the creation and management of navigation elements in your custom theme that much easier. It abstracts the need to hard code post IDs and the like from your global and header navigation systems (if you choose to not use Menus) for instance.
Many times you may use something like the following to build your main site navigation:
<nav>
<ul>
<li>
<a href="<?php echo get_permalink( 83 ); ?>">About</a>
</li>
</ul>
</nav>
That works great during initial development, and continues to hold up when you migrate to production en masse for the first time. But what about when you’re making subsequent updates and the post IDs in your development environment are dif…
| WordPress | 3.9+ requiredTested up to 5.9.0 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.