Hi Support,
I have recently install a plugin that created an ajax modal login in the main navigation. The plugin has a number of features including the redirection of users after login and logout. At login they are redirected to the my account page exactly as required but, after logout instead of being redirected to either the last url or the home page they are being redirected to the wp-login.php page. I have tested the plugin by deactivating all plugins installed and the problem still exists. When I change the theme from Bethemes either WordPress's Twentyseveteen, TwentySixteen or even Enfold theme the redirect function of the plugin work as required which would suggest that the fault lies within the Bethemes theme.
I would be grateful if you could help with solving this issue as the redirect function on logout is important.
Thanks for your assistance in advance
Regards