This plugins adds an admin page in which to store all your contact information such as Company Name, Telephone, Fax, Email, Address, Google Map, ect.
It can also store addresses of the major social networks like Facebook, Twitter, LiknkedIn, Google Plus, YouTube, etc..
All these data can be retrieved by:
get_contact_data()function, you get all your contact fields in an array to use in PHP templates
get_contact_data('field_name')function, retrieve one contact field at a time tu use in PHP templates
[contact-data field="field_name"]shortcode, echoes one contact field at a time to use in the text editor
follow_me_icons()function, render a buttons block of your social networks links from your PHP code
[follow-me-icons]shortcode, render a social networks block in your contents from the text editor
Valid values for the
Contact data fields
Use it like this:
<?php $email = get_contact_data('email'); ?>
By the moment it’s only provided a 32x32px icons for the social buttons.
In the short future it will provide a wider set of options to choose from.
This plugin, my first plugin ever in the WordPress.org plugin directory!, is an attempt to fill a gap in the use of WordPress as a complete CMS.
A modest attempt by the way 🙂
Through the years and through my experience creating websites based on WordPress for a lot of clients I encounter me once and again with the need of a central place to store all the contact information related to a company.
I encounter me, once and again, hard coding in the footer, in the header and in widgets the most basic contact information. No more of this!!!
Should not there be a specific place in the control panel to store this so basic information?
This plugin is, at the moment, a very basic compilation of the most useful contact data fields that my clients request all the time and the most common social networks they use at default.
I`m already using it in a dozen of sites, implementing it through the functions.php file, but I think it’s time to go public and useful.
I’d love to hear your comment and know of any improvements that you think appropriate.
As you can see, my English is quite limited thus also appreciate any grammatical correction that could you make to the readme.txt file and to these texts.
I hope you find this plugin useful and promising and I count on your help to improve it in any way we can.
This plugin is yours as much as mine! go ahead!
contact-datafolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to Settings->Contact Data and fill in all relevant data fields
Contributors & Developers
“Contact Data” is open source software. The following people have contributed to this plugin.Contributors
- Localization supported
- Spanish translation
- Some typo fixes
- First basic version.