Add real menu items that go directly to buddypress pages! Add a profile dropdown with avatar, message counts, and more- fully customizable.
Visit your navigation admin menu page, you got a new box including 5 links: 'log in', 'logout', 'log in/logout', 'register', 'custom'.
Add the link you want, for example "Log in|Logout"
You can change the 2 titles links, just separate them with a | (pipe)
You can add a page for redirection, example #bpmdloginout#index.php This will redirect users on site index.
You can add 2 pages for redirection, example #bpmdloginout#login.php|logout.php This will redirect users too.
For this redirection you can use the special value %actualpage%, this will redirect the user on the actual page.
You can also add shortcodes in your pages/posts. just do this :
In you posts/pages :
In your theme :
<?php echo do_shortcode( '[loginout]' ); ?>
The 4 basic shortcodes are "[bpdm_login]", "[bpdm_logout]" and "[bpdm_loginout]", "[bpdm_register]".
You can set 2 parameters, named "redirect" and "edit_tag".
Redirect: used to redirect the user after the action (log in or out) ; example : "/welcome/" or "index.php"
Edit_tag: used to modify the tag, ; example " class='myclass'" or " id='myid' class='myclass' rel='friend'" etc
You can also modify the title link with [login]Click here to connect[/login] for example
Requires: 3.0 or higher
Compatible up to: 3.6.1
Last Updated: 3 years ago
Active Installs: 300+
Got something to say? Need help?