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.

How to restrict certain widgets in sidebar

Home Forums Community Forum How to restrict certain widgets in sidebar

This topic contains 2 replies, has 2 voices. Last updated by  charles clarke 4 years, 3 months ago.

Topic Author Topic
Posted: Thursday Sep 13th, 2012 at 3:01 pm #25206

There are certain things that i want to restrict in my sidebar, how to do it? do i need some php code? if so, where do i put it?

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Thursday Sep 13th, 2012 at 5:20 pm #25213
Eduan
Username: Eduan
Moderator

Hello Charles,

You would use PHP conditionals for this: Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals, you would insert those in the area where you want to protect your content.

Hope this helps. :)

Posted: Thursday Sep 13th, 2012 at 7:47 pm #25222

Hey thanks Eduan,

Ok my platinum membership is level one and i want free subscribers not to have access to a couple widget in the sidebar, would i use this code here?

Some content for Members who are logged in with an s2Member Level >= 1.

Some public content.

I just want a code that say if free subscribers are login, they dont have acess to certain widgets.

Viewing 2 replies - 1 through 2 (of 2 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

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.