Login redirect coding question
I have SEVERAL log-in questions.
1) I have read through the posts on the login redirection, but have a specific coding question. Here it is:
In wp-login.php, I have found the following line of code (around line 470):
<input type=\\\”hidden\\\” name=\\\”redirect_to\\\” value=\\\”<?php echo attribute_escape($redirect_to); ?>\\\” />
I want to redirect the user to their profile page, so I changed it to:
<input type=\\\”hidden\\\” name=\\\”redirect_to\\\” value=\\\”http://mysite/members/[want to include username here]\\\” />
What term/code to generate the username in the URL? Any ideas?
2) How can I change the wp-login page to include my site\\\’s logo instead of the WordPress logo? Is this possible?
Thanks in advance for your help!!
You must be logged in to reply to this topic.