Contact Data

Manage all your contact and social information from a single admin page.

Author:Gonzalo Sanchez (profile at wordpress.org)
WordPress version required:3.0
WordPress version tested:3.5
Plugin version:0.2
Added to WordPress repository:15-01-2013
Last updated:17-01-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:3
Plugin URI:http://www.cuadric.com/plugins/contact-data
Total downloads:2 965
Active installs:500+
plugin download
Click to start download

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 field_name parameter:

Contact data fields

  • name
  • url
  • dir
  • dir_2
  • email
  • tel
  • fax
  • map

Social Networks

  • facebook
  • twitter
  • linkedin
  • googleplus
  • youtube
  • vimeo
  • rss

Use it like this:

  • <?php $email = get_contact_data('email'); ?>
  • [contact-data field="url"]

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.

Hi everybody,

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!

Best regards, Gonzalo.