Plugin Directory

Contact Details

Adds the ability to easily enter and display contact information.

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;
} );

What contact details can I store?

Current available contact fields are: phone, fax, mobile, email and address.

How do I include details in my template?

You can use the following function call to output details in your templates:

How do you fetch contact details without outputting the value?

The fourth parameter passed to contact_detail() determines whether the value is returned, by setting the value to false.

$phone = contact_detail( 'phone', '<b>', '</b>', false );

The above code will fetch the phone number stored and wrap the response in bold tags.

How can I customise the contact form?

If you require more customisation that cannot be achieved using CSS, you can define your own template file.

To do this add the the attribute include to the shortcode tag, e.g. [contact type="form" include="myfile.php"].

This file should be placed within your theme directory and should include the processing and output of errors.

I suggest you use the contact.php file used by the plugin as a starting point / template.

Can I translate your plugin to another language?

Yes, of course. If you would like to translate this plugin to another language, please provide me with the releavant Poedit files.

I will be certain to include and attribute any contributions to those who provide any translations.

Requires: 3.9 or higher
Compatible up to: 4.0.11
Last Updated: 2 years ago
Active Installs: 10,000+


5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,2,2 100,1,1