Skip to content
WordPress contact widget with with integration of microdata/microformats
PHP
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
languages
.gitignore
README.md
readme.txt
rich-contact-widget.php

README.md

Rich Contact Widget

This contact widget for WordPress comes with enhanced markup for microdatas & microformats, so that search engines can use it in their search results. They can help display contact informations about your business or yourself below your website in search results, and even a map with your location.

The telephone & email are linked so that visitors can click on it and make a call (through mobile or skype) or send a mail from their computer or their mobile devices.

You can also display a static image map of your location, linking to the address' Google Maps page, and display a download link for a vCard.

More informations on microdatas microformats can be found here :

Feedbacks and suggestions for improvement are greatly appreciated !

Rich Contact Widget requires PHP5 to work !

Credits for translation :

Installation

  1. Upload the rich-contact-widget directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the Appearance -> Plugins menu in WordPress
  3. Go to the Widgets sub-section and add the Rich Contact Widget in the required sidebar
  4. Fill the fields to add your contact information
  5. Save

To Do

  • Generate geo sitemap & KML file for local SEO purpose

Frequently Asked Questions

How to change the output using the filters ?

  • You can add or remove fields in the contact widget output and widget form with the rc_widget_keys, rc_widget_form_ouput and rc_widget_output filters.
  • You can add more types of the schema.org itemtype to better fit your business with the rc_schema_types filter.

Changelog

1.4.3

  • Bugfix : the KML file didn't have the corresponding coordinates when an address was filled. Replaced custom code with native wp_remote_get() function

1.4.2

  • Compatibility test with WP 3.9 widget customizer
  • Small fixes

1.4.1

  • Added German translation (Thanks to Patrick Niemann)

1.4

  • The plugin now creates a kml file and an associated sitemap file
  • If you have WordPress SEO by Yoast installed, it will add the sitemap to the sitemap index created by the plugin

1.3.2

1.3.1

  • bugfix : added defaults values if width and height fields for the map are empty or the values are above 640
  • changed markup for the address
  • added support for multilines address

1.3

  • Replaced the radio buttons for company type by an extensive select menu containing all schema.org business types.

1.2.1

  • Some HTML fixes (Thanks to Julien Maury @TweetPressFr)

1.2

  • Undefined variable fix
  • Added Slovak translation

1.1

  • Added Russian translation

1.0

  • Fix : bug with WP version lower than 3.4 with wp_is_mobile
  • Added : optional link for vCard download

0.7

  • Updated to work with US addresses (added state field and changed output a little)
  • Added width and height attributes to image map
  • ## 0.6
  • Added mobile check with wp_is_mobile() for the "tel:" link (link is displayed only if wp_is_mobile() is true)
  • Cleaned up some code with checked() and selected() functions
  • Moved screenshots to assets folder, reducing the size of the plugin zip file

0.5

Added option for static image map displayed in the widget, linking to Google Maps

0.4

Added antispambot on email adress

0.3

Added filters to change the output of the widget

0.2

  • Added choice between Person or Company for microdata/microformat tagging
  • Added activity/job field

0.1

Initial release

Something went wrong with that request. Please try again.