Linux 软件免费装

Plugin Name

开发者 bdeleasa
更新时间 2018年3月28日 06:45
捐献地址: 去捐款
PHP版本: 3.0.1 及以上
WordPress版本: 4.9.4
版权: GPLv2 or later
版权网址: 版权信息

标签

contact info social links contact information social network widget social network links social network icons company information company info

下载

1.0.1 1.1.0 1.1.1 1.2.0 1.3.0 1.4.0 1.5.0 1.6.1 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.8.0 1.3.1 1.7.7 1.8.1 1.8.2 1.8.3 1.8.5 1.8.6 1.8.7 1.9.0

详情介绍:

This plugin allows you to specify various company information such as a logo, favicon, and various contact information. There are various shortcodes and template tags available for outputting the information. See the FAQ for the available shortcodes and template tags.

安装:

  1. Upload the wp-company-info folder to the /wp-content/plugins/ directory.
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Input the branding information by going to Settings > Branding.
  4. Input your contact information by going to Settings > Contact Information.
  5. Input your social network links by going to Settings > Social Network Links.
  6. See the FAQ for instructions on outputting all of the branding, contact information and social networks.
  7. That's it! :)

常见问题:

How do I embed the logo I uploaded?

Using the [logo] shortcode will output the image uploaded via the Branding settings page. There is one size parameter available for this shortcode: [logo size="thumbnail"] The size parameter refers to a registered Wordpress image size. The default size is "medium".

How do I embed the contact information?

This plugin provides various shortcodes for outputting the contact information. The default shortcodes available are as follows:

  • Address: [address] OR [address field="address-1|address-2|city|state|zip"]
  • Phone Number: [phone]
  • Fax Number: [fax]
  • Email address: [email]
  • Social Links: [social-networks class="class-name-here" icons="true|false" size="lg|2x|3x|4x|5x" square="true|false" styles="true|false"]
You may also specify additional contact information as well. A shortcode will be created for each of the additional fields you add via the options page. To output that additional field, use the ID you specified as a shortcode. For example, if the ID you specified is cell-phone, the shortcode created would be [cell-phone].

Are there any template tags available?

Yes, there are! Here are a list of the available template tags: wpci_get_option( $key ) Returns the value for the specific key/field. wpci_has_option( $key ) Checks whether the value for the specific key/field exists. wpci_the_option( $key ) Outputs the value for the specific key/field. wpci_get_logo( $size = 'full', $icon = NULL, $atts = NULL, $src = false ) Outputs the logo. The first 3 parameters are the same parameters as the wp_get_attachment_image function. The last parameter controls whether an <img> tag is returned, or if the actual image URL is returned.

  • $size = Image size. Either a string keyword (thumbnail, medium, large or full) or a 2-item array representing width and height in pixels, e.g. array(32,32).
  • $icon = Use a media icon to represent the attachment. Default is false.
  • $atts = Query string or array of attributes.
  • $src = Whether to return the full <img> tag or just the URL to the image.
wpci_the_logo( $size = 'full', $atts = NULL ) Outputs the logo as an <img> tag. Parameters are as follows:
  • $size = Image size. Either a string keyword (thumbnail, medium, large or full) or a 2-item array representing width and height in pixels, e.g. array(32,32).
  • $atts = Query string or array of attributes.

更新日志:

= 1.9.0 1.8.9 1.8.7 1.8.6 1.8.5 1.8.4 1.8.3 1.8.2 1.8.1 1.8.0 1.7.7 1.7.6 1.7.5 1.7.4 1.7.3 1.7.2 1.7.1 1.7.0 1.6.1 1.6.0 1.5.0 1.4.0 1.3.1 1.3.0 1.2.0 1.1.1 1.1.0 1.0.1 1.0.0