Title: Manually restrict plugin page?
Last modified: August 31, 2016

---

# Manually restrict plugin page?

 *  [reclifford](https://wordpress.org/support/users/reclifford/)
 * (@reclifford)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/)
 * I am using this with the Events Calendar Community Events that lets members add
   events.
    The page to submit events does not have a page edit section to set what
   levels of membership I want to restrict it to however.
 * Is there a code or a way to make it so only logged in members could access this
   page?
    maybe a way to manually put that restriction in?
 * [https://wordpress.org/plugins/simple-membership/](https://wordpress.org/plugins/simple-membership/)

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

 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/#post-6992285)
 * Hi you might have to use a different plugin to restrict access to this calendar.
   Does the calendar plugin have any type of security access level set up? Does 
   it uses shorcodes? What I mean is, does the calendar page use a shortcode to 
   display the calendar in the page?
 *  Thread Starter [reclifford](https://wordpress.org/support/users/reclifford/)
 * (@reclifford)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/#post-6992404)
 * Not that I am aware of but I am awaiting a response from plugin about adding 
   it to another page to regularly restrict it.
 * The only thing it allows like that is to make it public or for members (WP members).
 * Is there a way to add a code in the functions and restrict the form page based
   on the membership ID based on whatever code is added to the pages restricted 
   that I could add to the form via ftp?
 *  Thread Starter [reclifford](https://wordpress.org/support/users/reclifford/)
 * (@reclifford)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/#post-6992406)
 * Or something to add to make memberships recognized like a WP account?
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/#post-6992407)
 * Hi, thank you for reporting back. I look forward to your reply.
 *  Thread Starter [reclifford](https://wordpress.org/support/users/reclifford/)
 * (@reclifford)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/#post-6992436)
 * They do not have shortcodes at this time.
    Is there a way to add the restriction
   based on the membership ID# for a URL or someway to manually put that restriction
   onto a pages URL or template?
 *  Thread Starter [reclifford](https://wordpress.org/support/users/reclifford/)
 * (@reclifford)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/#post-6992437)
 * Perhaps something That I can add into the forms?
 * They have this code for inserting content BEFORE the form so I could probably
   fill some code in its place.
 * `add_action(‘tribe_events_community_form_before_template’, ‘my_custom_text’);
   function my_custom_text() { echo ”
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/#post-6992439)
 * Hi, try the following [PHP tweaks](https://simple-membership-plugin.com/simple-membership-miscellaneous-php-tweaks/).
   There might be some code there that might put you on the right track. Does the
   events calendar allow you to embed the code into a template?
 *  Thread Starter [reclifford](https://wordpress.org/support/users/reclifford/)
 * (@reclifford)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/#post-6992511)
 * Yes it allows to put in the template.
    They told me what template to enter the
   code in. I just can’t find what code it is that is entered usually in the protected
   pages to enter in the template file.
 *  Thread Starter [reclifford](https://wordpress.org/support/users/reclifford/)
 * (@reclifford)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/#post-6992512)
 * I need whatever code is added to protected sites to restrict access only to membership
   level IDs 3-8
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/#post-6992523)
 * Hi, the plugin developers will investigate further your request.
 * Thank you
 *  Plugin Author [wp.insider](https://wordpress.org/support/users/wpinsider-1/)
 * (@wpinsider-1)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/#post-6992532)
 * This is custom coding. You will need to hire a developer for this. I really don’t
   understand your requirement and also I can’t custom code for users.
 *  Thread Starter [reclifford](https://wordpress.org/support/users/reclifford/)
 * (@reclifford)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/#post-6992533)
 * Our requirement is to restrict a page that is generated by a plugin and doesn’t
   show on regular pages section. We have the file to that is the template for that
   page but do not know what code is entered on pages or where a URL is added in
   SM that we can add into the template file for this page.

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

The topic ‘Manually restrict plugin page?’ is closed to new replies.

 * ![](https://ps.w.org/simple-membership/assets/icon-128x128.png?rev=974529)
 * [Simple Membership](https://wordpress.org/plugins/simple-membership/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-membership/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-membership/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-membership/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-membership/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-membership/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [reclifford](https://wordpress.org/support/users/reclifford/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/manually-restrict-plugin-page/#post-6992533)
 * Status: not resolved