At present, if a user (subscriber role) logs in to my site using the
login in the footer, they will get redirected to the WordPress manage
profile page rather than back to the page where they logged in on the
site. Similarly on logout, you get taken to the WordPress login rather
than back to the site. Neither is very user-friendly so I want to
Reading round, it seems the template tags wp_login_url and
wp_logout_url are what I need to use, I can find the syntax I need to
use but not where it needs to be inserted.
I’m a newbie(relatively)and so far have managed everything using the theme, plugins and widgets so adding code and where it needs to be changed is new. Help please!
- The topic ‘Where to use template tags wp_login_url & wp_logout_url’ is closed to new replies.