PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Embed form in post type

  1. 1pp1k10k4m1

    I want to embed a form in a post type (custom or regular doesn't really matter, though custom is ideal). So, whenever a particular type of post is created, this form is "injected" into the post. Is this possible?


    Posted 10 years ago on Tuesday December 11, 2012 | Permalink
  2. David Peralty

    You could use the PHP embed code in your WordPress theme to have a form show up on any page or post created with that theme file. Look at the section called Function Call:

    Add it to your single.php or whatever theme file that you want the form to show in. All my best!

    Posted 10 years ago on Tuesday December 11, 2012 | Permalink
  3. 1pp1k10k4m1

    Cool, thank you David!

    I had found the code, and tried it, but it didn't show. I tried a different theme, and apparently all my display problems are related to this theme. Oh themeforest...

    I wasn't sure which page to put it in, so thank you for the single.php direction as well. Worked perfectly.

    Posted 10 years ago on Wednesday December 12, 2012 | Permalink

This topic has been resolved and has been closed to new replies.