Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

i don't know this topic might covered else where. but i am trying to find step by step simply tutorial. to make a plugin where i can add a new page to site. and in that page i put some form. and only registered user can access that.

i managed to make plugin at admin side. but not able to find the tutorial to make a form at front end of website. for registered user only.

please give me some link for it.

my core issues are

  1. how can i display custom coded php form in only one page in front end.
  2. how can i make that page ristricted for registered user only.
  3. how can i customize the login/registration form to add custom fields without using any plugin.

Thanks in advance.

share|improve this question
    
Thank you Bainternet, it was really great answer straight for the question to the solution. with appropriate example links. it helped me a lot to make confirm, that the solution i am thinking is right. –  user7299 Jul 25 '11 at 6:12
add comment

2 Answers 2

Adding a shortcode for your form is also an option: http://codex.wordpress.org/Shortcode_API

share|improve this answer
    
Not really addresses the question in hand –  Bainternet Jul 22 '11 at 15:06
add comment

how can i display custom coded php form in only one page in front end?

The best way to go would be to create a custom page template then create a page inside WordPress admin and select your newly created template for that page.

how can i make that page ristricted for registered user only?

Normally I would go with my plugin User Specific Content but since you are looking for a solution without a plugin then you can use the is_user_logged_in() function in your custom template page to check if the user is logged in or not.

how can i customize the login/registration form to add custom fields without using any plugin?

take a look at this nice tutorial

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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