Adds the ability to easily enter and display contact information.
Navigate to the settings page by clicking on
Settings on the left hand menu, and then the
Contact Details option.
You can use the following function call to output details in your templates:
Current available contact fields are:
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.
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.
Requires: 2.8.2 or higher
Compatible up to: 3.4.2
Last Updated: 4 years ago
Active Installs: 10+
Got something to say? Need help?