- This topic has 3 replies, 3 voices, and was last updated 10 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Protect custom fields of a custom type content
Hello to everybody, i hope that you can can help me.
I use Simple Membership on WordPress native page and post type, and works fine.
Now i have a problem: i need to use it on Custom Content Type Manager plugin, and then also her custom fields.
I’ve tried but I’ve seen that can be protected only the native content.
It’s possible protect also the custom fields?
Thanks in advance
Hi the plugin developers will look into your issue further. Just one question what have you tried so far that has not worked for you? Can you provide some details.
Thank you
I have set Simple membership options in Custom Content Type Manager page 
In CCTM template php file i have added custom fields codes:

This is the result

As you can see the custom fields are not protected. I’m not able to protect them using a Simple Membership level.
Hi,
this plugin can protect content that is returned by “the_content()” function. as you can see those customer fields are outside of that method. the plugin is aware of the way wordpress handles posts/pages. you need to write custom solution for anything that doesn’t follow wordpress’s default behavior.