I’m trying to use theme_my_login function ( http://docs.thememylogin.com/category/developer-documentation/ ) to add a login form to the header. The code is;
<?php $theme_my_login_args = array( 'instance' => '999', 'default_action' => 'login', 'show_title' => false ); theme_my_login( $theme_my_login_args ); ?>
The problem is instance is not working. The form’s id is always “theme-my-login1”. All other options are working. I also tried to use “theme-my-login” shortcode (with do_shortcode function) but the result is the same. Do you have any idea about why it is not working? Any help is appreciated 🙁
- The topic ‘theme_my_login function instance issue’ is closed to new replies.