Template Map is 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 navigation systems for instance..
That works great during development, and continues to hold up when you migrate to production en masse for the time.
Template Map allows you to dynamically retreive your desired post ID based on Page Template you told it to use.
Template Map also makes it easier to determine whether the current page is within site 'section.
Based on the principle you can use this utility method to orient yourself when outputting conditional classes contingent on the current page being within 'secton on your site...
Activate the plugin through 'Plugins WordPress.
There's filter for that template map post types accepts two parameters, the second of which is Page Template filename in question.
You can return array of CPT names that will be utilized when checking to see whether the current page is within the in question...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more