Home › Forums › Backend Issues (wp-admin) › How to Add Contact-Form-7 to a WordPress Theme › Reply To: How to Add Contact-Form-7 to a WordPress Theme
Well i don’t know much about contact form 7 , But if it works based on post types you should be able to do this :
You should write a function that runs after theme installation,This function can be written in 2 ways :
1. Insert new contact forms as posts with wp_insert_post() function,
http://codex.wordpress.org/Function_Reference/wp_insert_post
2. Import an XML after theme activation( honestly i don’t know if it’s possible )
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.