=== Contact Details === Contributors: 36Flavours Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=HHRDCSQBLHFY4&lc=GB&item_name=Steve%20Whiteley%20%2836Flavours%29¤cy_code=GBP&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted Tags: contact, global, details, options, info, phone, fax, mobile, email, address Requires at least: 2.8.2 Tested up to: 2.8.6 Stable tag: 0.2 Adds the ability to easily enter and display contact information. == Description == 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 ``. == Installation == Here we go: 1. Upload the `contact` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Enter you contact details on the options page `Settings > Contact Details`. 4. Display the details using either the shortcodes or function calls. == Frequently Asked Questions == = 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. = How do I include details in my template? = You can use the following function call to output details in your templates: = What contact details can I store? = Current available contact fields are: `phone`, `fax`, `mobile`, `email` and `address`. = 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', '', '', false);` The above code will fetch the phone number stored and wrap the response in bold tags. == Changelog == = 0.2 = * The function `contact_details` now outputs by default instead of having to echo the repsonse. * Function calls now includes before, after and echo options. = 0.1.1 = * Updated/Corrected plugin name. = 0.1 = * This is the very first version.