I’ve looked for this some time ago.
Best thing you can do is change the default contact form.
Filter you can use: wpcf7_default_template
Info can be found in contact-form-7/includes/functions.php file line 63
The filtered variable is:
$template="<p>" . __( 'Your Name', 'contact-form-7' ) . ' ' . __( '(required)', 'contact-form-7' ) . '<br />' . "\n"
. ' [text* your-name] </p>' . "\n\n"
. '<p>' . __( 'Your Email', 'contact-form-7' ) . ' ' . __( '(required)', 'contact-form-7' ) . '<br />' . "\n"
. ' [email* your-email] </p>' . "\n\n"
. '<p>' . __( 'Subject', 'contact-form-7' ) . '<br />' . "\n"
. ' [text your-subject] </p>' . "\n\n"
. '<p>' . __( 'Your Message', 'contact-form-7' ) . '<br />' . "\n"
. ' [textarea your-message] </p>' . "\n\n"
. '<p>[submit "' . __( 'Send', 'contact-form-7' ) . '"]</p>';
Hope this helps.
Related Posts:
- How much PHP and MySQL or MariaDB knowledge should I know to start writing WordPress themes and plug-ins and whatever else a beginner can edit?
- Contact Form 7 – Make a selection unavailable after a number of bookings
- when i activate my WordPress plugin cannot see customizer options or preview
- Is it possible to customize a wordpress post from outside dashboard(Something like site.com/post-type/post/?e=post_id)?
- Showing different js file for different theme in wordpress customizer api
- WordPress Contact 7 Form – Remove WordPress from the From Sections
- Change Jobs for WordPress templates
- Disqus comment system not show
- How to use plugin’s shortcode in custom design? [closed]
- Installation failed, trying to install ANY plugin
- CF7 Custom Recipient – Changing the text
- Multiple CF7 Forms causing multiple recaptcha requests
- Could someone maybe point me in the direction of a decent tutorial on how to create a wordpress plugin that is compatible with another plugin please?
- WordPress panel is not loading after plugin activated with error: HTTP ERROR 500
- When the user entered an unauthorized url redirect to login page
- Remove action added in plugin class from theme
- Capture Recaptcha fail event on Contact Form 7
- How to wrap image tag into div for post only?
- Can you develop themes and plugins while using the hosting services BlueHost? [closed]
- Product catalogue in WordPress
- get/show Last ID
- Add section (add_settings_section) to a custom page (add_submenu_page) not working
- Show content from plugin on index
- Help Code Review – I need to write on .htaccess file from theme’s function.php
- Contact form function should be in functions.php or in a plugin file?
- how to add custom css at top above all css file for specific url
- Where do the section input fields values are stored in database
- How can I add a custom checkbox / radio button on the admin theme options to display a CSS or other?
- Is it possible to restrict content in wordpress?
- Get plugin to background of page
- How to display the Facebook like count in WordPress theme [closed]
- How to increase script execution time at my server
- Form is not getting submitted [closed]
- How to add wordpress plugins in along with my standalone theme
- Display Powerpress media url
- User content database [closed]
- Why the output of an image gallery plugin is not displayed into a page of my custom theme?
- Convert HTML5/CSS3 site to WordPress Theme (need a lot of plugins) or just use the API?
- Showing ads in the specific category and its sub-categories
- twitter widget loads properly in all themes except my own theme?
- Plugin’s required JS not being inserted in my theme
- How to copy data from user profile page (profile.php) to theme customizer
- Directory structure for plugin changes
- How to show post attachment image
- Contact Form 7: custom validation [closed]
- Can anyone tell me why I can’t edit a plugin when it is installed without having to re-install?
- What is the Object for WP_Error Class?
- Active Plugins for current blog in WP Multisite Network? [duplicate]
- Retrieving old forms in Contact Form 7 [closed]
- Disqus plugin outputs script as literal text
- Breadcrumb is not generating the correct post page url
- How can I add different menus (different style menu) on each page?
- Replace all media (images)
- Integrate Mailchimp to a Contact Form 7 contact form [closed]
- Site is setup statically – how to make it content managable?
- How can I make a website with dynamic features with wordpress?
- How put a file when the email is sent to user contact form 7
- Contact Form 7 Default value from url [closed]
- How to generate a responsive output from plugin?
- How to work email subscribe in WordPress?
- WooCommerce custom query and paging: Not Found error
- How to create post comparison in wordpress
- Apostrophes replaced by '
- Integrate Razorpay quick payments plugin with contact form7 plugin
- Open graph issue on my theme
- How to do Conact form 7 name field validation? [closed]
- How to add image for custom taxonomy
- Javascript as Jquery Function Call?
- Integrating WordPress Content into a jQuery Slider
- Detect if you’re in the “Frontend Editor” mode in Visual Composer WordPress [closed]
- How can I convert a complete bootstrap template into a WordPress template? [closed]
- Editing a theme
- Can anyone tell some online tuts for plugin development for beginner? [closed]
- Custom GD Star Ratings Stars [closed]
- Contact form 7 – How to send mail to two different E-mail Address [closed]
- Email Masking in widget
- How to escape html code?
- prevent contact form 7 from submission on certain condition
- Ajax button “Load more” is not loading correct language version posts for logged out users
- manage_{taxonomy}_custom_column not working
- How to code a wordpress page properly? Dashboard or unique Theme files or alternative?
- how to make wordpress remember my choice
- Is website for online game guides doable in WordPress? [closed]
- I want to include My theme file (testing.php) to inside my plugin folder (myplugin/mypugin.php)
- How to Enfroce Domain Licensing Limits? [closed]
- Override plugin constant using a theme
- Meta box not displaying on the plugin page
- add_meta_box showing blank screen in my page
- How to create an Info Box on WordPress [closed]
- How to make content as required in custom post type?
- What are Seeds? [closed]
- Getting error when accessing Customizer Page
- plugin doesn’t retrieve data from database
- Best approach to change mobile background image and adding its class
- WordPress search every time shows no search found even data exists
- Frontend Enqueued Files in the Backend
- How to create new title and its description inside a section in WP Customizer?
- Composer dependency
- I want to move the one click accesbility button on bottom of my website screen,
- How can I create a drawable image for a contact form