added to the widget: <a class="button" href="http://site.com/login.php?action=logout"> Выйти </a>, but now does constantly asks for confirmation exit from the site.
Not sure why it would ask confirmation – you must have a plugin or script that asks permission when leaving the site? HTML doesn’t have this by default, especially the little snippet I provided.
Also, if you’re using WordPress, you may need to change it to this:
<a class="button" href="http://site.com/wp-login.php?action=logout"> Выйти </a>
I’m looking for that too
Is there a simple way to add logout link to one of my menus?
The plugin you suggested: https://wordpress.org/plugins/baw-login-logout-menu/ is too old, haven’t updated for a year
Is there a way to use a shortcode maybe?
I’m looking for an answer and haven’t found yet…