Please add below code to your functions.php
to remove the ←
from the translated string:
/**
* Remove ← from the '← Back to %s' translation
*/
add_action( 'login_init', function()
{
add_filter( 'gettext', 'wpse_back_to_site_text', 10, 2 );
} );
function wpse_back_to_site_text( $translated, $untranslated )
{
// Target the untranslated string
if( '← Back to %s' === $untranslated )
{
// Remove the filter callback
remove_filter( current_filter(), __FUNCTION__ );
// Modify the translation
$translated = __( 'Back to %s' );
}
return $translated;
}
where we initiate our custom gettext
filter callback, to run only within the login_init
hook, to restrict it to the login page.
Related Posts:
- Disable Or Redirect WP-login.php
- login_enqueue_scripts does not ovewrite the default styles
- Modify wp-login.php labels: Username to Email
- How to change “Registration complete. Please check your e-mail.” in wp-login.php
- How to use wp-login.php page only for logout?
- change register url on wp-login page
- Can’t access wp-admin
- How do you add a custom link to the wordpress login page?
- wp-login.php register/lost password links to buttons?
- How to trigger a login form notice message?
- A child theme version of wp-login
- reset password label text change
- Add text on wordpress admin login page
- Is it possible to remove the version number from the wp-login.php page?
- wp_login_form() redirect not redirecting users < admin
- Login redirect on wp theme
- Can’t log in. Log in button missing [closed]
- Require WP login for outside access
- Modify WP-Login Page With Javascript?
- if username or password is incorrect wp-login returns a blank page
- Where is the email content for retrieve_password_message stored?
- What is the CODEX intercept for wp-login.php?action=lostpassword
- Call header and footer on login page
- Prevent redirect on custom wordpress login form
- Replace standard Login and Register form for Woocommerce [closed]
- How to destroy sessions after a user logout [closed]
- How to add required attribute to wp_login_form fields?
- WordPress “remember me” – How should it work?
- Log In & Log Out Code In Header
- How to fix Sign In option in WordPress
- How can I redirect on a url after successful registration?
- I lock the site’s contents, click on a post, redirect to login, enter uname+password but fail to redirect to article
- How to access the actual input html of the login form
- Creating a custom login on site.
- Login page wordpress tagline remove [duplicate]
- Adding line break in esc_html__
- Copying My account/Login/Register button outside header
- Issue with cookies in wp-login
- Add content in wp login page
- Is it possible to check if password is correct in wp_authenticate_user?
- Modify login page after clicking “login” button, and before it arrives at redirect
- How to enable “remember me” checkbox in login forms by default?
- custom login query for custom login form?
- WordPress reCAPTCHA Problem
- Customizing WordPress Login URL
- It is possible that to get data in wp_login.php to your own php file in wordpress?
- Using gettext on wp-login.php won’t change “Back to site name” text
- Add video to wordpress login page
- WordPress login form with fancybox
- I wanna create a custom login form template
- Add custom field in wp_login_form()
- Retrieve password only by login. Users with same email
- wp-login.php not returning error messages / or gives 404
- Registration page background color covering 1 screen not covering full page
- Custom error messages for login and lost password forms
- The website cannot display the page
- Custom login form redirect to external site
- Clarification on auth_redirect()
- WordPress AJAX Login Screen
- How to customise wp-login.php only for users who are setting a password for the first time?
- Remove built in wordpress login and use only google auth
- Check if user is logged in else login page
- Using /wp-admin works, using /login gives a 404. Why?
- Remove “Remember Me” from login form
- Enqueue style for Password Reset page
- WordPress login with Phone Number [closed]
- FORCE_SSL_ADMIN not working
- Redirect away from login page
- Add class to input form in login form
- Set user password after creating user
- how to restrict user login whenever if a user puts on hold by editing wp-login action?
- How do I force “users must be registered and logged in” on subsites?
- Redirect when accessing /login when logged in
- Is possible to allow user to login with different role?
- Redirect wp-login
- Redirect outside WP after login
- How to set where user is redirected to after logging in at wp-login?
- Is the login encrypted before it is sent? If so how to do I encrypt it the same way?
- How do I create a function that modifies a message in the wp-login.php file?
- How to redirect wp_login_form to new page after user loged in?
- Alert Message through email or phone(Message)
- Removing “There is no account with that username or email address.” error message in “/wp-login.php?action=lostpassword”
- woocommerce store login not working at first time
- When I enter password, I’m redirected to the WordPress login form
- Basic Auth .htaccess on wp-login, but allow logout from woocommerce
- Re-style Login Form Whilst Keeping CSS Separate from Frontend CSS
- Meta data being pulled from wp-login.php
- how to add security questions on wp-registration page and validate it
- WordPress cookie issue on login: “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”
- I want to signin from first wordpress site to other wordpress website without registration..without using network mode
- HTML5/CSS3 Polyfill for wp-login.php
- How to change the title attribute for the WP logo image on wp-login.php
- Multisite login and redirect to users main blog,
- How can I have customers log in using ONLY customer number? No password
- Webpage not found upon entering wrong username and password on custom login form?
- You do not have permission to access this document on form submit
- How to show woocommerce login / registration form in modal
- Custom login form logo not displaying
- Remove login link from Reset Password-screen
- WordPress site shows a white page for site/wp_admin. A login returns again to the login screen