latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: VJ Ante

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Logout Redirect?

By:  shaun rodgers in: Community Forum

voices: 5
replies: 11

4 years, 9 months ago  GaperVille

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Tuesday Mar 27th, 2012 at 3:43 pm #9277
VJ Ante
Username: vjante

Whew good to see this logout redirect. I’m very to wordpress & s2members. I have seen this suggested function but don’t know how to use it. I do have a test page i’m developing that I want the logout redirector. We want the user who logout to go to the home page instead of the login page. Could you please tell me where to append the above function.

Below is what I have on my page:
[s2If is_user_logged_in()]
LOGGED-IN
Content for anyone that is logged in, regardless of their Membership Level.
[/s2If]

[s2If !is_user_logged_in()]
NOT LOGGED IN
Some public content. They’re NOT logged in.
A leading !exclamation means false.
http://localhost:40628/wp-login.php;

window.location = ‘http://localhost:40628/wp-login.php?redirect_to=http://localhost:40628/?page_id=436’;
<a href="” title=”Logout”>Logout
[/s2If]

Any is greatly appreciated. H E L P!

Viewing 1 replies (of 1 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.