This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Template Sync


Copy the HTML from your WordPress theme to another application’s template library. Designed for use with WHMCS but will work with other applications.

Add the following hints to your WordPress theme files. The hints will be used to update another application’s template files. Click Sync Template whenever your WordPress header or footer change.

<!–header.end–> The end of your WordPress header code.

<!–footer.begin–> The beginning of your WordPress footer code.

Include file contents from another template directory.

<!–{unique id}.inc–> The contents of {directory}/{unique id}.inc will be added to the code at the specified location.

Exclude WordPress code from your templates.

<!–tpl.exclude–> The beginning of the text to exclude.

<!–/tpl.exclude–> The end of the text to exclude.


  1. Upload templatesync.php and all included files to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Modify plugin options through the Settings menu.

Contributors & Developers

“Template Sync” is open source software. The following people have contributed to this plugin.


Translate “Template Sync” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



08/12/2010 Shannon Whitley

  • Initial Creation