外掛說明
- Setting a custom theme and style.
- 3D animation cube.
- Choice of sizes small \ large. Default: large 42px.
- Vertical auto-positioning in the center for sticky left\right modes.
Social networks buttons
- tumblr
- livejournal
- viber
- skype
- yahoo
- vk
- ok
- yandex
- mail.ru
Info about your resource for social networks
- title – og:title or document.title
- href – og:url or URl page
- description – og:description or meta tag [description]
- image – og:image or og:image:secure_url
Meta Tags Properties og: can be set by plugins Yoast SEO, WordPress All in One Seo, Platinum SEO Pack.
Use the shortcode:
-
in the editor:
[socbtn]
-
in HTML markup:
> <?php do_shortcode( '[socbtn]' ); ?>
-
in the php code:
ob_start();
do_shortcode( ‘[socbtn]’ );
$socbtn = ob_get_clean();
Position
align to the left or right edge
[socbtn position=left]
[socbtn position=right]
Size
Setting icon sizes to 24px
[socbtn size=small]
Theme
do_shortcode( '[socbtn theme=3dcube]' );
Style
> do_shortcode( '[socbtn theme=3dcube style="left:-80px;top:-40px;"]' );
> <div class="cube" style="left:-80px;top:-40px;">
Enabled\Disdabled
By default all the social network buttons are enabled.
- vk
To select the required set of buttons, use the button
attribute:
* [socbtn button=’viber, skype, yahoo, twitter, facebook’]
Recommendations
In the default installation, WordPress does not include meta tags such as description and keywords.
To generate meta tags, use the following resources:
plugins Yoast SEO, WordPress All in One Seo, Platinum SEO Pack…
https://codex.wordpress.org/Meta_Tags_in_WordPress.
螢幕擷圖
安裝方式
- Upload the plugin files to the
/wp-content/plugins/socbtn-lite
directory. - Activate the plugin.
常見問題集
- Installation Instructions
-
- Upload the plugin files to the
/wp-content/plugins/socbtn-lite
directory. - Activate the plugin.
- Upload the plugin files to the
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
2.0
Vertical auto-positioning in the center for sticky modes
Add atributes size
2.1
fix linkedin icon
2.2
Added icons: pinterest, tumblr, livejournal, viber, skype, yahoo
2.5
Added attributes Theme and Style.
Theme allows to set the class of the main container.
Example:
[socbtn theme=myclass]
<
div class=”myclass”>
Style attribute allows to set the positioning of the main container.
Style – left, top, right, bottom in px.
Example:
[socbtn theme=myclass style=”left:-80px;top:-40px;”]
<
div class=”myclass” style=”left:-80px;top:-40px;”>
2.6
fix: linkedin button
2.7
Added icons: ok, yandex, mailru