OK, I had a look at the code. You need to edit the LearnPress plugin to add a sticky logout to the top of the lefthand menu:
/wp-content/plugins/learnpress/templates/profile/profile-cover.php
Ideally to prevent it being over written copy this page and put it in your child theme folder, if you have one, in /learnpress/profile/ folder (…or backup the page!)
Now edit profile-cover.php add the following after line 22 (i.e. after the avatar class div)
<div style="margin-left:1em"><?php echo sprintf( __( '%s', 'learnpress' ), sprintf( '<a href="%s">%s</a>', $profile->logout_url(), __( 'Logout', 'learnpress' ) ) ); ?></div>
Sesason to suit and serve warm ??
-
This reply was modified 3 years, 10 months ago by phatman.