Templates

Much like WordPress has its own template hierarchy, so does Theme My Login. When a TML action is being accessed, a template will be located in the following order, where $slug is the current action slug, such as "login", "register", etc:

  1. $slug.php
  2. theme-my-login-$slug.php
  3. tml-$slug.php
  4. page-$slug.php
  5. theme-my-login.php
  6. tml.php
  7. page.php

So, let's say you are accessing the register page. If register.php exists in your theme, it will be used. If not and theme-my-login-register.php exists, it will be used instead. If that doesn't exist and tml-register.php exists, it will be used instead. If not and page-register.php exists, it will be used instead. If that doesn't exist and theme-my-login.php exists, it will be used instead. If not and tml.php exists, it will be used instead. Finally, if not, page.php, which all themes should have, will be used instead.