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

Login logo redirection #199

Open
Oyeniyi opened this issue Sep 1, 2018 · 3 comments
Open

Login logo redirection #199

Oyeniyi opened this issue Sep 1, 2018 · 3 comments

Comments

@Oyeniyi
Copy link

Oyeniyi commented Sep 1, 2018

On a registration page of website, when i click a logo page, i was redirected to a wordpress.org website. Normaly it's can be nice if i was redirected to a osgeo.org website. To redirect logo link to osgeo.org website, go to Themes => Editor => Functions.php and add somes lines of code

// Function to redirect a login logo url to website main page
function url_osgeo() {return get_bloginfo( 'url' );}

// Filter to add this function
add_filter( 'login_headerurl', 'url_osgeo' );

// Function to change a title of logo image
function title_logo_login() {return 'OSGeo | The Open Source Geospatial Foundation';}

// Filter to add this function
add_filter( 'login_headertitle', 'title_logo_login' );

@NinaPacifier
Copy link

@Oyeniyi May I work on this issue??

@Sophie-is-me
Copy link

Sophie-is-me commented Dec 14, 2020 via email

@Eshani-R-Sawant
Copy link

Hello Sir/Madam, I would like to contribute to this issue.

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

4 participants