Contact Details
Adds the ability to enter contact information and output the details in your posts, pages or templates. Use the shortcode [contact type="phone"] to display any of the contact details, or use the function call <?php if ( function_exists( 'contact_detail' ) ) { contact_detail( 'phone' ); } ?> . Once y
About this tool.
Adds the ability to enter contact information and output the details in your posts, pages or templates.
Use the shortcode [contact type="phone"] to display any of the contact details, or use the function call <?php if ( function_exists( 'contact_detail' ) ) { contact_detail( 'phone' ); } ?> .
Once you have defined a contact email address, use the shortcode [contact type="form"] to output the contact form.
Languages: Also available in Español (Spanish) and українська (Ukrainian by Michael Yunat).
Getting started.
Here we go:
- 01Upload the contact folder to the /wp-content/plugins/ directory.
- 02Activate the plugin through the ‘Plugins’ menu in WordPress.
- 03Enter you contact details on the options page Settings > Contact Details .
- 04Display the details using either the shortcodes or function calls.
Frequently asked questions.
Installation Instructions
Here we go:
- 01Upload the contact folder to the /wp-content/plugins/ directory.
- 02Activate the plugin through the ‘Plugins’ menu in WordPress.
- 03Enter you contact details on the options page Settings > Contact Details .
- 04Display the details using either the shortcodes or function calls.
How do I edit my contact details?
Navigate to the settings page by clicking on Settings on the left hand menu, and then the Contact Details option.
Can I add extra contact details fields?
Yes, it is possible to modify the contact detail fields using the contact_details filter.
add_filter( 'contact_details', function( $details ) { // Add a simple text input... $details['twitter'] = __( 'Twitter' ); // Add a new textarea... $details['bank'] = array( 'label' => __( 'Bank' ), 'input' => 'textarea' ); // Remove an existing field... unset( details['fax'] ); // You must always return the modified array... return $details; } );