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

Simple Business Data

描述

Add your business data information and social media links to a form in the admin panel, place the shortcode into any page, post, and/or text widget, and have it displayed in your theme. You will not need to keep track of every place you have your business information or social media links are displayed on your website. Just change it in the form and it is changed in your theme. Easily add your new social media link to the form and the icon will be added automatically in your front-end. You may also turn off the icon that is displayed with the text for your business information. You may also update the stylesheet to alter the display of text and color of the icons.

The telephone number is coded for mobile-html touch dialing so users viewing your website from their mobile device may “touch” your telephone number to dial.

The icon for the item is displayed in the settings form and the Shortcode is displayed so that you may easily copy and paste it into the location where you want it displayed.

This plugin uses Font Awesome icons that will scale and color of your text.

Shortcode Usage:

The Shortcode for this plugin is [simple_business_data] with a single required attribute: type and a second optional attribute: show_icon. The first attribute is the identifier for the icon that will be displayed (telephone, address, etc). The second is an on/off switch to show the Font Awesome icon with your text. If you wish to only show the text then you need to add “show_icon=”no” to the shortcode when you use it. To make life easy, simply copy and paste the Shortcode below the item you wish to use.

Note: the Font Awesome icon may only be turned “on/off” for the address, telephone, fax, and/or email. NOT for the social media icons, as they only display the Font Awesome icon.

Upcoming Releases

In future updates I hope to:
* Make the address section able to use embedded Google Maps
* Give you a choice of which Font Awesome icon gets used (some have multiple versions).
* Allow the user to add their own url, title and Font Awesome icon to any social media site not available with this plugin.
* Add the title text to a larger version of the social media icon for display on your website.

屏幕截图

  • Simply add your business data information to the form in the admin section.
  • Add the url of your social media site to the form in the admin section.
  • Your business information is displayed on your website in any text widget.
  • Your information is displayed on your theme, with or without the Font Awesome icons in any page, post, or text widget.

安装

There are two easy ways to install this plugin:

Download from the website:
1. Unzip the downloaded file and upload all the contents to your wp-content/plugins directory.
1. Activate the plugin through the ‘Plugins’ menu in WordPress.

Install from WordPress:

  1. Simpy search for ‘Simple Business Data’ and install from your wordpress plugin page.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Usage:
1. Go to ‘Settings’ -> ‘Simple Business Data Information’ and fill in the items you want to display.
1. Add the shortcode as described to any Page, Post, and/or Text Widget to have it display in your theme.

常见问题

Where may I use the shortcode?

In any page, post, or widget that accepts text.

May I turn off the Font Awesome icon?

Yes. You may add the attribute show_icon=”no” to your shortcode and no icon will be displayed for your
business data address, telephone, fax, and/or email address. However, you may not turn it off for the
social media icons, as they are the only thing that currently displays.

评价

2016年9月3日
A really nice and easy widget that does what it says on the tin. Easy to tweek the css if required and nice to have a linked phone number as well as email address. I also like being able to write each line of an address as it should be, rather than most widgets of this type. Well done and thanks!
阅读所有1条评价

贡献者及开发者

“Simple Business Data” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Simple Business Data”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0.0

  • Initial release.

1.0.1

  • Updated Tags in readme file.