Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mettre un filtre pour changer l'url du logo de la page de connexion #363

Closed
firestar300 opened this issue Aug 7, 2023 · 2 comments
Closed
Assignees

Comments

@firestar300
Copy link
Contributor

Par défaut, sur la page de connexion, le logo au clic redirige vers wordpress.org. L'idée serait de définir par défaut l'url de https://beapi.fr (proposition de @asadowski10 ) et en production par l'url de la production du projet.

add_filter( 'login_headerurl', 'my_custom_login_url' );

function my_custom_login_url($url) {
    return 'http://www.example.com/';
}

Voir https://www.isitwp.com/change-login-logo-url/

@Rahe
Copy link
Member

Rahe commented Aug 10, 2023

Pour moi sans soucis.
Par contre je me pose la question de l'emplacement, je dirai dans un mu default à la place du thème ?

@firestar300
Copy link
Contributor Author

See BeAPI/bea-plugin-defaults#25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants