if logged in?

Problem: Problem is to design login page with your own requirements. How do you create a page so if you are logged in it says Welcome “user” on the pages instead of just the static or builtin “Login” page.

Solution: You’d need to know some PHP. Here’s how to access the username:
http://codex.wordpress.org/Function_Reference/get_userdata

Conclusion: Designing your website in a proper way is very important. So above codex will help you to design your login page in your desired layout

Leave a Reply

Your email address will not be published. Required fields are marked *