Logout button redirect to home page
Hi, I have placed a button in the menu for users to logout, but it directs them to the WordPress login page, I would like the button to redirect them to homepage instead. I have currently set the button´s css class to “function-is-user-logged-in” so only logged in users can see it. I would like to know if I can achieve the redirect with a css class too.
I have also installed the “BpDev Logout Redirect to Mainsite for Mu/BP” plugin, but that is having no effect over the logout button (it does work with the Buddybar´s logout button though…).
I would appreciate any tips. Please, as usual, bear in mind that i have very limited coding skills. Thanks in advance for all the kind help and replies.
You must be logged in to reply to this topic.