I’ve got it working on mobile!!! wp-content/themes/Newspaper/mobile/parts/register.php
Here’s the entire code for that page in which two sections were altered: https://hastebin.com/ucufivazef.scala
BTW, here’s an updated snippet for wp-content/themes/Newspaper/parts/header/td-login-modal.php …
echo '
<div id="login-form" class="white-popup-block mfp-hide mfp-with-anim">
<div class="td-login-wrap">
<i class="td-icon-modal-back"></i>
<div id="td-login-div" class="td-login-form-div td-display-block">
<div class="td-login-panel-title">' . __td('Sign in', TD_THEME_NAME) . '</div>
<div class="td-login-panel-descr">' . __td('Welcome! Log into your account', TD_THEME_NAME) . '</div>
<div class="td_display_err"></div>
<div class="td-login-inputs"><input class="td-login-input" type="text" name="login_email" id="login_email" value="" required><label>' . __td('your username', TD_THEME_NAME) . '</label></div>
<div class="td-login-inputs"><input class="td-login-input" type="password" name="login_pass" id="login_pass" value="" required><label>' . __td('your password', TD_THEME_NAME) . '</label></div>
<input type="button" name="login_button" id="login_button" class="wpb_button btn td-login-button" value="' . __td('Login', TD_THEME_NAME) . '">
<div class="td-login-info-text">' . __td('Forgot your password? Get help', TD_THEME_NAME) . '</div>
<div style="position:relative;top:6px">' . do_shortcode('[apsl-login-lite]') . '</div><div style="position:relative;bottom:27px">' . $users_can_register_link . '</div>
</div>
' . $users_can_register_form . '
<div id="td-forgot-pass-div" class="td-login-form-div td-display-none">
<div class="td-login-panel-title">' . __td('Password recovery', TD_THEME_NAME) . '</div>
<div class="td-login-panel-descr">' . __td('Recover your password', TD_THEME_NAME) . '</div>
<div class="td_display_err"></div>
<div class="td-login-inputs"><input class="td-login-input" type="text" name="forgot_email" id="forgot_email" value="" required><label>' . __td('your email', TD_THEME_NAME) . '</label></div>
<input type="button" name="forgot_button" id="forgot_button" class="wpb_button btn td-login-button" value="' . __td('Send My Password', TD_THEME_NAME) . '">
<div class="td-login-info-text">' . __td('A password will be e-mailed to you.', TD_THEME_NAME) . '</div>
</div>
</div>
</div>
';
Please let me know where the files are for the mobile version so I can start fiddling with it.
-
This reply was modified 9 years by
tomashley.
What’s the file for the mobile login? Maybe I can insert there too? I do have the mobile site thing enabled. Would be nice to know both files where the mobile login code is at.
-
This reply was modified 9 years by
tomashley.
Actually, I see that Yoast SEO did it:

Does anyone know why Yoast would think that’s a good idea?
Here’s what my fix looks like if anyone is interested…

Now I’m investigating how I should add it to mobile. Still would like a better way than relative positioning though for desktop.
I have come up with a temporary fix by using CSS relative positioning on lines 41, 42 (Added style to those two lines) and 43 (Added a div with style attribute):
<input type="button" name="login_button" id="login_button" class="wpb_button btn td-login-button" style="position:relative; bottom:25px;" value="' . __td('Login', TD_THEME_NAME) . '">
<div class="td-login-info-text" style="position:relative; bottom:25px;"><a href="#">' . __td('Forgot your password? Get help', TD_THEME_NAME) . '</a><BR />'.do_shortcode('[apsl-login-lite]').'</div>
<div style="position:relative; bottom:45px;">' . $users_can_register_link . '</div>
This should only be a temporary fix until I can get a response. As we all know, relative positioning isn’t good to use.
-
This reply was modified 9 years by
tomashley.
It has been sent. Thanks again.
I’m only using the plugins for the theme. Sending email now.
Can someone please take a look at my install? I still haven’t figured it out.
Thanks
My server is up. you should have the login details by email.
I have also just emailed you my license code and again all the login details.
My server was down for a while so I think that’s why you haven’t been able to help me. It’s back up now. I have just sent a copy of this email to you as another reply. My email: tomashley303@gmail.com
Please let me know if there’s anything else I can do to help. All login credentials are in our email thread.
Thank you.
It’s still not working. I just replied to contact@tagdiv.com with my login credentials. Thanks.