I have created a author page in wp where it displays the details of the particular author , the details are fetched from the users role option in wp.. Now I need to have a contact form in that page in a pop up when the button is clicked it should display the contact form and automatically fetch and display the user mail id under “TO” section..
To display the author details in that page template I have used “<?php the_author(); ?>
“, like wise I need to use the code <?php the_author(); ?>
inside the contact form 7 do automatically generate the “to” address.
Thank you in advance..