內容簡介
VKontakte Share Button 外掛為您的文章和頁面提供了一個強大的方式來添加 VKontakte 分享按鈕。
它支援 VKontakte API 的所有功能並易於自定義:
您可以選擇七種不同的按鈕外觀,包括自訂
按需將按鈕放置在帖子、頁面和首頁上
選擇按鈕的位置:在內容之前或之後,在左邊或右邊
通過 ID 排除應該沒有按鈕的頁面和文章
選擇內容的描述:帖子/頁面的前半部分或全站的全局描述
可以使用 meta 標籤 description 中的描述
使用自己的網站標誌圖像,指定鏈接或 meta 標籤 image-src
您可以使用短碼 [vk-share-button]。
也可以在您的模板中使用 PHP 代碼:
<?php if (class_exists('VKShareButton'))
if(!isset($VKShareButton)
$VKShareButton = new VKShareButton();
echo $VKShareButton->the_button() ?>
外掛標籤
開發者團隊
原文外掛簡介
VKontakte Share Button plugin brings powerful way to add VKontakte share button for you posts and pages.
It supports all functions of VKontakte API and easy customizable:
You can choose one of seven button appearance types include custom
Place button on posts, pages and frontpage at will
Select location of button: before or after content, on the left or right
Exclude pages and posts by ID which should stay without buttons
Choose description of content: forepart of post/page or global description for all site
Can be used description from meta tag description
Use your own site logo image specifying link or with meta tag image-src
You can use the shortcode [vk-share-button].
Also can be used PHP code in your template:
the_button() ?>
