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:
$slug.php
theme-my-login-$slug.php
tml-$slug.php
page-$slug.php
theme-my-login.php
tml.php
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.