Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-04T21:17:35-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16671 2012-01-04T21:17:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16671&p=59715#p59715 <![CDATA[Re: protected page link in profile if subscribed.]]> My pleasure!

Statistics: Posted by Raam Dev — January 4th, 2012, 9:17 pm


]]>
2012-01-04T20:55:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16671&p=59709#p59709 <![CDATA[Re: protected page link in profile if subscribed.]]> Statistics: Posted by squizeers — January 4th, 2012, 8:55 pm


]]>
2012-01-04T19:32:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16671&p=59691#p59691 <![CDATA[Re: protected page link in profile if subscribed.]]>
So on the Login Welcome Page, you could do something like this:

[s2If current_user_can(access_s2member_ccap_pageA)]
<a href="/link-to-page-a">Your Page A Link</a>
[/s2If]

[s2If current_user_can(access_s2member_ccap_pageB)]
<a href="/link-to-page-b">Your Page B Link</a>
[/s2If]

[s2If current_user_can(access_s2member_ccap_pageC)]
<a href="/link-to-page-c">Your Page C Link</a>
[/s2If]


Would that work?

Statistics: Posted by Raam Dev — January 4th, 2012, 7:32 pm


]]>
2012-01-04T09:35:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16671&p=59639#p59639 <![CDATA[protected page link in profile if subscribed.]]> For example:
    The protected pages are A,B,C and D
    A user subscribes for page A and B.
    When the user logs into the site, the user lands on his profile page (thats how I have set up).
    Now in the same page is there a way to list the links for pages A and B so that the user does not have to go to the options page to click on the links he has subscribed?
    Or is there a better solution for what I am looking to achieve and I am not doing it right?

Any help will be much appreciated.
Thank you.

Statistics: Posted by squizeers — January 4th, 2012, 9:35 am


]]>