PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Slug as Page Permalink

s2Member Plugin. A Membership plugin for WordPress®.

Slug as Page Permalink

Postby Lonaldo » August 31st, 2011, 9:47 pm

Hi:

I'm trying to take advantage of the "replacement code" strategy which Jason describes in his "Modification/Cancellation Buttons" video. This seems to require changing the permalink for the Login Welcome Page from the Post ID to the slug. However, I don't know how to do this without changing the permalink structure of the entire site. In the video, the Page screen shows an "edit" button next to the Permalink. However, on my Page Screen, I see a "change permalink" button in the same location (I am using Wordpress version 3.2.1) which looks like it would change the permalink structure for all pages in the site. Is there a way to change the permalink for a particular page, or does this strategy require changing the entire permalink structure of the site?

Thanks,

Lonnie
User avatar
Lonaldo
Registered User
Registered User
 
Posts: 5
Joined: August 26, 2011

Re: Slug as Page Permalink

Postby Cristián Lávaque » September 1st, 2011, 1:26 pm

Hi Lonnie.

You're not required to change the permalink structure to make the Login Welcome Page work. What is your current structure and what do you want the Login Welcome Page to be?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Slug as Page Permalink

Postby Lonaldo » September 1st, 2011, 8:00 pm

Hi Cristian:

I am using the default permalink structure (http://example.com/?p=N). Specifically, what I am trying to do is use the "%%current_user_level%%" replacement code to decide between two alternative Login Welcome Pages, as described by Jason Caldwell in the "Modification/Cancellation Buttons" video.

Thanks,

Lonnie
User avatar
Lonaldo
Registered User
Registered User
 
Posts: 5
Joined: August 26, 2011

Re: Slug as Page Permalink

Postby Cristián Lávaque » September 1st, 2011, 11:44 pm

Ah ok. Well, since you don't use slugs in the permalink it gets a little more complicated to do it with the URL. One thing you can do, though, is have a single Login Welcome Page and use a conditional to show different content depending on the user's level. WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests

cron