WordPress Membership Plugin
Hi,
If you know how to edit the template, you can just wrap this code around any custom field content in your template:
<?php if(SwpmMemberUtils::is_member_logged_in()) { ?>
//Your message for logged-in members goes here
<?php } ?>
I did this to protect content created by WP Types custom fields. My page template code looks like this…
<?php if(SwpmMemberUtils::is_member_logged_in()) { ?>
<?php echo types_render_field(“photos”); ?>
Price: $<?php echo types_render_field(“price”); ?>
<?php echo types_render_field(“order-form-code”, array(“output”=>”raw”)); ?>
</div>
<?php } ?>
I hope that makes sense.