Title: Add Form in PHP file
Last modified: March 1, 2018

---

# Add Form in PHP file

 *  Resolved [JakenCD](https://wordpress.org/support/users/vansite/)
 * (@vansite)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/add-form-in-php-file/)
 * Hi
 * I want to add a form in a .php file.
    I’ve read the documentation and this seems
   the code I should use, but it doesn’t work <?php Caldera_Forms::render_form( ‘
   CF57cd8747beba8’ ); ?>
 * Any idea?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadd-form-in-php-file%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [JakenCD](https://wordpress.org/support/users/vansite/)
 * (@vansite)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/add-form-in-php-file/#post-10027876)
 * Edit: If I use:
 * <?php echo Caldera_Forms_Entry_Viewer::form_entry_viewer_1( ‘CF5a92fa00323fe’);?
   >
 * I see the label but the form doesn’t really work
 *  Thread Starter [JakenCD](https://wordpress.org/support/users/vansite/)
 * (@vansite)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/add-form-in-php-file/#post-10045716)
 * Any help?
    Thanks
 *  Plugin Contributor [christiechirinos](https://wordpress.org/support/users/christiechirinos/)
 * (@christiechirinos)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/add-form-in-php-file/#post-10086202)
 * Hi there,
 * Please note that we address all free support in 3-5 business days (anywhere from
   3-9 calendar days) in first in, first out order. If you re-comment on your thread,
   you will push your free support request back in the queue. You can avoid this
   issue with Priority Support at calderaforms.com/support when you have a time 
   sensitive question, which has a 1 business day turnaround.
 * To your question – your code snippet looks right so something else may be wrong
   with your template file. It’s hard for us to say without access to your entire
   file. I would be mindful of the following —
 * – Your code needs to be within the body of the template file.
    – Do you have 
   any custom code in your form that could be creating a conflict? – Do you have
   any custom code on another part of the template that could be creating a conflict?
 * Make sure you take a look at this page: [https://calderaforms.com/doc/adding-using-caldera_forms_render_form/](https://calderaforms.com/doc/adding-using-caldera_forms_render_form/)
   Feel free to reply with more information, we’ll be happy to take another look.
 *  Thread Starter [JakenCD](https://wordpress.org/support/users/vansite/)
 * (@vansite)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/add-form-in-php-file/#post-10110148)
 * Hi Christie
 * Thanks for the explanation about how free support works. I didn’t know.
 * Regarding the issue itself the code is in the body and there is no code creating
   conflict. It is true I have custom html on it but it is pretty basic. I’ve tried
   with a form with no code and it doesn’t work either.
    I don’t see any custom 
   code in another part of the template that could be creating a conflict either
 * Can you give me some examples of code that could be creating a problem? I mean,
   based on your support experience, I would appreciate if you could let me know
   
   any trouble you’ve found I could be reproducing without noticing.
 * Thanks
 *  Thread Starter [JakenCD](https://wordpress.org/support/users/vansite/)
 * (@vansite)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/add-form-in-php-file/#post-10267424)
 * This is NOT resolve…

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

The topic ‘Add Form in PHP file’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/caldera-forms_475846.svg)
 * [Caldera Forms - More Than Contact Forms](https://wordpress.org/plugins/caldera-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/caldera-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/caldera-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/caldera-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/caldera-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/caldera-forms/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [JakenCD](https://wordpress.org/support/users/vansite/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/add-form-in-php-file/#post-10267424)
 * Status: resolved