Page 1 of 1

Slug as Page Permalink

PostPosted: August 31st, 2011, 9:47 pm
by Lonaldo
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

Re: Slug as Page Permalink

PostPosted: September 1st, 2011, 1:26 pm
by Cristián Lávaque
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?

Re: Slug as Page Permalink

PostPosted: September 1st, 2011, 8:00 pm
by Lonaldo
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

Re: Slug as Page Permalink

PostPosted: September 1st, 2011, 11:44 pm
by Cristián Lávaque
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