• Hey guys I need help! I’m in the middle of a project and I can’t seem to figure out how to add dynamic content to my contact form 7 page, access by a custom post type.

    Here is my scenario. I have a listing of many of people created by a custom post type. When you click on a persons name it brings you to a page with more information on them. The title of the page is the persons name. There is a button that links to the contact form. That contact form has an input where the visitor is required to input a persons name in order to submit the form. I would like that particular field in the cf7 to be dynamically filled with the title from the page the button was on.

    The custom template I made makes each person in my list to use the default template (page.php I believe). I cant figure out how to use GET or POST because I’m using friendly urls.

    How can I push the title from the page the button for the cf7 is on to the actual contact form 7? Overall, on the custom page template, I want to somehow save the name of the person (aka the_title()) and be able to access it on the page the button href sends you to.

    If you need additional info just ask. Thank you for the help in advance.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Dynamic Form from Custom Post Type’ is closed to new replies.