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™
philipt18 wrote:Also, is there a way to do thing like recognize all pages that are children of a specific page (so I don't have to return to this code and keep adding page IDs)?
philipt18 wrote:So back to my question above, am I redirecting to multiple pages, or creating multiple sections on the Member Options page? An example or two would be greatly appreciated. Thanks.
<?php
$restricted_pages = array(4, 5, 76, 89);
if (isset($_GET['_s2member_seeking']['page']) && in_array((int) stripslashes($_GET['_s2member_seeking']['page']), $restricted_pages)) { ?>
That page requires a paid membership. Get it now [button]
<?php } ?>
angelar wrote:OMG! I got it. I cant believe it, I just didnt set up the membership options page correctly! I didnt choose one!! Im not even blonde:>
Users browsing this forum: Bing [Bot] and 1 guest