Another conditional tags you can use to redirect user with specific role to specific page after login. Insert this code to your function.php
Monthly Archive: February 2012
When you create new page’s template you can decide to limit the access to user with specific role; for exaple author, when unregistered user or user with different role try to access to that template will be kicked our to the “error.php” page. Funny!!!
If you are planning to develop a mobile version of your blog, you may think this is a usefull function, you just need to use it directly in your template such as a conditional tag.