Sorry – I’ve been behind in getting updated documentation out the door…
The new shortcode can be used as follows:
[wpmem_logout]
(displays the default “Click here to log out” text)
OR…
[wpmem_logout]This text will be the logout link[/wpmem_logout]
Also, I am updating all of the previous shortcodes to use wpmem_ (although the previous versions will remain compatible). So far, here’s what’s updated:
[wpmem_logout] discussed above
[wpmem_field] replaces [wp-members field=”some_meta_field”].
It still requires the field parameter
[wpmem_field field=some_meta_field]
But also can accept a user ID if you want to display something that is not the current user:
[wpmem_field field=some_meta_field id=123]
There is also a “get” option for the ID so you can make it dynamic to retrieve the user ID from a uid parameter in a querystring.
[wpmem_field field=some_meta id=get] would retrieve some_meta for whatever user ID is passed through
https://yoursite.com/some-page/?uid=123.
[wpmem_logged_in] replaces [wp-members status=”in”].
This shortcode defaults to logged in status with no argument passed:
[wpmem_logged_in]This can only be seen by logged in users[/wpmem_logged_in].
Or you can pass the status parameter for logged out status:
[wpmem_logged_in status=”out”]some content[/wpmem_logged_in]
These haven’t been fully documented yet because I may make some minor changes yet.
In the next couple versions I expect to update all of the page shortcodes to follow this format. That will make it easier, I hope. So for example:
[wp-members page=”register”] will become [wpmem_register], etc.