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™

Anyone Know How to Do Custom Blog Title for Members?

s2Member Plugin. A Membership plugin for WordPress®.

Anyone Know How to Do Custom Blog Title for Members?

Postby urbanryno » March 2nd, 2011, 2:00 am

I'm trying to figure out the PHP code to update my main blog category page to do the following..

So, I have a list of all of the recent blog posts.
When you click on the premium blogs, it takes you to the designated page set in s2 that basically says you don't have permission to see this post.

What I'm wondering is there is some PHP I can add to the blog category php page that will write the word PREMIUM next to the title of the blog automatically if I choose "for s2 Level 1 and above members".

Not sure if this is possible, but would be cool if anyone has any thoughts.

Thanks.
User avatar
urbanryno
Registered User
Registered User
 
Posts: 11
Joined: February 8, 2011

Re: Anyone Know How to Do Custom Blog Title for Members?

Postby Cristián Lávaque » March 2nd, 2011, 12:02 pm

You can use advanced s2member conditionals to achieve that in the theme, from what I understand.

WP Admin -> s2Member -> API / Scripting -> Advanced Query 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

Re: Anyone Know How to Do Custom Blog Title for Members?

Postby urbanryno » March 3rd, 2011, 1:06 am

thanks
User avatar
urbanryno
Registered User
Registered User
 
Posts: 11
Joined: February 8, 2011

Re: Anyone Know How to Do Custom Blog Title for Members?

Postby Cristián Lávaque » March 3rd, 2011, 2:29 am

No problem.
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 10 guests

cron