该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Rich Contact Widget

描述

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

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 :

  • http://schema.org
  • http://microformats.org

Feedbacks and suggestions for improvement are greatly appreciated ! You can go to github to help : https://github.com/Tabrisrp/rich-contact-widget

Rich Contact Widget requires PHP5 to work !

Credits for translation :

屏幕截图

安装

  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. 保存

常见问题

Installation Instructions
  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. 保存
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.

评价

2016年9月3日
2 problems I run into: 1) the plugin injects wp-content/uploads/rc_geositemap.xml which doesn't exit (returns 404). the author committed to fixing this issue more than a year ago, but it's still there. this non-existing sitemap appears in sitemap_index.xml (created by yoast SEO, but the problem comes from this plugin, not yoast's one). google webmaster tools reports this as a broken xml. Please fix. 2) once the rich snippet widget is created it's confusing how to edit it. it keeps on selecting with "V" "Side Bar 1" even though I created it in Side Bar 2. Took some time to figure out how to get to edit the existing widget in side bar 2 and had to dump the automatically added empty Rich snippet widget to Side Bar 1. This part is not user-friendly, but can be figured out.
2016年9月3日
Thanks for the plugin. # Need to increase font size @ Company Name # Give us a new edition of your plugin with css customization option
阅读所有7条评价

贡献者及开发者

“Rich Contact Widget” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Rich Contact Widget”插件已被翻译至1种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Rich Contact Widget”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.4.6

  • Link to Google Maps opens in a new tab/window

1.4.5

  • Fix link to Google Maps when the map is displayed

1.4.4

  • Bugfix : the coordinates in the KML file were in the wrong order

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 (You’ll have to re-save the data to create the files)
  • If you have WordPress SEO by Yoast installed, it will add the sitemap to the sitemap index created by the plugin

1.3.2

Added spanish translation by https://wordpress.org/support/profile/cris_gn

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