Advanced Social Media Icons
高级社交媒体图标 strong> p>This plugin shows a social media icon when you display a shortcode.
当您显示简码时,此插件显示社交媒体图标。
The icon is clickable and fully customizable.
该图标是可单击的,并且可以完全自定义。 p>
Attributes
属性 strong> p>You can customize the plugin with attributes:
您可以使用以下属性自定义插件: p>
- url – Links the icon to a url when pressed, use http://
- url –按下时将图标链接到URL,使用http:// li>
- src – Which social platform you want to use
- src –您要使用哪个社交平台 li>
- id – There are 3 types of icons for every social media platform.
- id –每个社交媒体平台都有3种图标。
The standard square icon doesn’t need an id but for the round icon use id=1 and hex icon use id=2 .
标准方形图标不需要id,但是对于圆形图标,请使用id = 1,而对于十六进制图标,请使用id = 2。 li>
- height – Enter the amount of pixels of height, standard is 55px
- 高度–输入高度的像素数量,标准为55px li>
- width – Enter the amount of pixels of width, standard is 55px
- width –输入宽度的像素数量,标准为55px li>
- align – Align the icon on the right position
- align –将图标对准正确的位置 li>
- alt – Give alt text with ur icon, good for SEO
- alt –使用ur图标提供替代文本,对SEO很有帮助 li>
ol>
Types
类型 strong> p>There are three types of icons.
有三种类型的图标。
Square, round and hexagon.
正方形,圆形和六边形。
To display round icons use id=1 and for hexagon use id=2 .
要显示圆形图标,请使用id = 1;对于六角形,请使用id = 2。 p>
Shortcode
简码 strong> p>The plugin uses shortcodes to display the icons.
该插件使用简码显示图标。
For example [social url=http://twitter.com src=twitter] .
例如[social url = http://twitter.com src = twitter]。
Other example are:
其他示例是: p>
- [social url=http://www.facebook.com src=facebook height=50px width=60px]
- [社交网址= http://www.facebook.com src = facebook高度= 50px宽度= 60px] li>
- [social url=http://www.instagram.com/user src=instagram align=middle]
- [社交网址= http://www.instagram.com/user src = instagram align = middle] li>
- [social url=http://www.linkedin.com src=linkedin id=1]
- [社交网址= http://www.linkedin.com src = linkedin id = 1] li>
ol>