I am very new to wordpress. I want to create a small Booking System as a plugin. I have 5 different pages for entering details step by step and Users can book as anonymous. Admin only need a mail with all those details.

How can I allow access for anonymous users in these pages?

What is the appropriate method and hooks to achieve this?

Thanks in advance.

  • 1
    You shouldn't be using options pages for the public - create a regular page (post) and use it as placeholder for your booking form (either autocreate on plugin activiation and/or have a setting in the admin for choosing which page will act as your placeholder). See how plugins like PaidMemberships Pro & WooCommerce do it. Commented Nov 17, 2015 at 10:44

1 Answer 1


I would look into a Booking Plugin (https://wordpress.org/plugins/booking/, for example) or if you need to collect information from users look no further than Gravity Forms(http://gravityforms.com) or Ninja Forms(http://ninjaforms.com).

@TheDeadMedic is correct, you should not use add_options_page() for front-end pages.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.