In admin I used the login-page created by TML. But I deleted the shortcode from the content and choosed a page-template called “my-login-template.php” which contains this code
while ( have_posts() ) : the_post(); // Content vom Admin-Bereich
$argsmain = array(
'instance' => '1',
'register_template' => 'tml-templates/register-form.php',
'login_template' => 'tml-templates/login-form.php',
'user_template' => 'tml-templates/user-panel.php',
'lostpassword_template' => 'tml-templates/lostpassword-form.php',
'resetpass_template' => 'tml-templates/resetpass-form.php',
'show_title' => FALSE,
'show_gravatar' => FALSE
);
theme_my_login( $argsmain );
endwhile;
This is what it looks like.
And I used this code in my header to show an additional header-login-form if you click on “anmelden”
$args_top = array(
'instance' => 'top',
'login_template' => 'tml-templates/top-login-form.php',
'user_template' => 'tml-templates/top-user-panel.php',
'show_title' => FALSE,
'show_gravatar' => FALSE,
);
theme_my_login( $args_top );
Which can be seen here
I guess this is something more special. But it would be nice if I could still use the template-code instead of the shortcode.