🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Template Map icon
Möglicherweise aufgegeben Tested up to 5.9.0

Template Map

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…

Aktive Installationen10+10+ Stufe
Downloads · 30d41▲ +13.9% vs prev. 30d
Wertung—0 Bewertungen
Gesundheits-Score23/100In Gefahr
Downloads aller Zeiten2.1KSince Jul 2014
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 3.9PHP ANY
Downloads · 7d7▼ -46.2% week over week
Unser Urteil

Betrachten Sie eine Alternative

Template Map shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 5 years ago, and scores 23/100 on our health check.

  • Kleine Benutzerbasis (10+ aktive Installationen)
  • Bisher sehr wenige Bewertungen
  • Kein Update in 4 Jahren
  • Nur getestet bis WordPress 5.9 (letzt ist 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

123Sep 3Oct 17Dec 1
Gestern2
Täglicher Durchschnitt (1 Jahr)1
Spitzentag4Feb 25, 2026
Letzte 12 Monate347

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Template Map stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
Link >100 10,000 Beste Link-Plugins →
template >100 10,000 Best template plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 1.0100.0%

About Template Map

Aus der offiziellen Readme · V1.0.1

Beschreibung

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.

For Example

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 different than those in production? You could take the time to sync the databases each and every time, but that’s a bit overkill. Here’s where Template Map comes in to play:

<nav>
  <ul>
    <li>
      <?php $about_page_id = TemplateMap()->get_id_from_template( 'template-about.php' ); ?>
      <a href="<?php echo get_permalink( $about_page_id ); ?>">About</a>
    </li>
  </ul>
</nav>

Template Map allows you to dynamically retreive your desired post ID based on the Page Template you told it to use. Page Template filenames rarely (if ever) change, so it’s the core concept of Template Map’s implementation. Everything works backwards from here.

Naturally this philosophy assumes your Page Template is used only once, it’s important to keep that in mind. Modern client sites often use unique Page Templates for the ‘parent’ pages of each site section.

Current Site Section

Template Map also makes it easier to determine whether the current page is within a site ‘section’ which is defined as a top level Page with a unique Page Template that has any number of child Pages and/or Custom Post Types within it. This is very useful when trying to set a ‘current’ state in your navigation, for example:

<nav>
  <ul>
    <li class="<?php if( TemplateMap()->maybe_in_section( 'template-about.php' ) ) : ?> current<?php endif; ?>">
      <?php $about_page_id = TemplateMap()->get_id_from_template( 'template-about.php' ); ?>
      <a href="<?php echo get_permalink( $about_page_id ); ?>">About</a>
    </li>
  </ul>
</nav>

Based on the same principle you can use this utility method to properly orient yourself when outputting conditional classes contingent on the current page being within a ‘secton’ on your site.

Installation

  1. Upload templatemap in das /wp-content/plugins/-Verzeichnis
  2. Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress
  3. Replace calls to get_permalink( 83 ) with get_permalink( TemplateMap()->get_id_from_template( 'template-about.php' ) ) where template-about.php is the Page you wish to link

Änderungsprotokoll

1.0.1

  • When using maybe_in_section you can pass a 2nd parameter to force a parent ID

1.0

  • Erste Freigabe

Vollständiges Änderungsprotokoll auf WordPress.org →

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Template Map alternatives

All link plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Custom Post Type Permalinks Custom Post Type Permalinks Edit the permalink of custom post type. by Toro_Unit (Hiroshi Urabe) 200K+ ★★★★★★★★★★ 4.8 (71) Vor 1 Woche 91
2 Page Links To Page Links To Lets you make a WordPress page (or port or other content type) link to a URL of your… von Mark Jaquith 100K+ ★★★★★★★★★★ 4.9 (157) Vor 8 Monaten 64
3 Make Column Clickable for Elementor Make Column Clickable for Elementor Make entire columns, sections and containers clickable in Elementor, with real SEO-friendly… by Fernando Acosta 100K+ ★★★★★★★★★★ 4.9 (53) Vor 1 Monat 92
4 VK Link Target Controller VK Link Target Controller Redirect your visitors to another page than the post content when they click on the post… by Vektor,Inc. 30K+ ★★★★★★★★★★ 5 (2) Vor 3 Wochen 85
5 Flexy Breadcrumb Flexy Breadcrumb Flexy Breadcrumb is a lightweight, responsive, and SEO-optimized breadcrumb plugin that… by PressTigers 10K+ ★★★★★★★★★★ 4.7 (20) Vor 4 Wochen 78
6 Link Juice Keeper Link Juice Keeper Improve your SEO and keep your link juice by automatically redirecting all 404 errors to… by George Pattichis 10K+ ★★★★★★★★★★ 4.7 (15) Vor 3 Monaten 74
7 Link Library Link Library The purpose of this plugin is to add the ability to output a list of link categories and a… by Yannick Lefebvre 10K+ ★★★★★★★★★★ 4.7 (97) Vor 6 Tagen 81
8 Nofollow for external link Nofollow for external link Automatically insert rel=nofollow and target=_blank to all the external links into your… by CyberNetikz 9K+ ★★★★★★★★★★ 3.8 (36) Vor 3 Jahren 40
9 Autologin-Links Autologin-Links WARNUNG: Dieses Plugin kann unsicher sein, wenn es nicht vorsichtig verwendet wird. Ermöglicht ausgewählten Benutzern… von WPAutoLogin 8K+ ★★★★★★★★★★ 4.7 (15) Vor 6 Jahren 40
10 Hyperlink Group Block Hyperlink Group Block Make a group of blocks clickable: wrap a card, teaser or post tile with one link (). Von Daniel Floeter 7K+ ★★★★★★★★★★ 4.3 (14) Vor 1 Tag 81

Fragen und Antworten

Template Map: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Template Map free?

Yes. Template Map is free to download and use from the official WordPress.org plugin directory.

Is Template Map safe to use in 2026?

Template Map shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 5 years ago, and scores 23/100 on our health check.

How many websites use Template Map?

Template Map is active on 10+ WordPress websites and has been downloaded 2,129 times since it launched in July 2014. It was downloaded 41 times in the last 30 days.

Does Template Map work with WordPress 7.1?

Template Map is officially tested up to WordPress 5.9.0, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Template Map last updated?

The latest version, 1.0.1, was released on February 10, 2022 (5 years ago).

Who makes Template Map?

Template Map is developed and maintained by Jon Christopher.

What are the best alternatives to Template Map?

The most popular alternatives to Template Map are Custom Post Type Permalinks (200K+ installs), Page Links To (100K+ installs) and Make Column Clickable for E… (100K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen