
內容簡介
WordPress 系統本身已經足夠聰明,可以讓您在個人網誌/網站上提供下載的功能。如果您免費為使用者提供高級內容,也許您希望得到一些回報。使用 wpLike2Get,您可以保護您的下載或內容,直到用戶說讚、推文或點擊 Google +1 按鈕。
選擇社交網路類型
您可以在 Facebook 的讚和傳送按鈕、Twitter 的推文或追蹤按鈕和 Google 的 +1 按鈕之間做出選擇。您可以選擇只有一個按鈕、兩個按鈕,或者全部都選。
使用 Google Analytics 追蹤
您可以使用 Google Analytics 追蹤按鈕點擊。
使用方法
社交媒體按鈕會在偵測到短代碼時載入。 [l2g id=”999″]。您可以選擇下載連結的名稱(選擇性),在 wpLike2Get 設定頁面啟用所有社交網路時,可以選擇不同的社交網路。完整的下載短代碼示例如下: [l2g name=”下載這份超棒的檔案” id=”999″ facebook=”true” twitter=”true” gplusone=”false”]
藏起內容的完整短代碼如下: [l2g facebook=”true” twitter=”true” gplusone=”false”]這裡是您要隱藏,直到用戶說讚為止的內容[/l2g]
短代碼選項
id => 附件的 ID
name => 一些文本
twitter => true|false
facebook => true|false
gplusone => true|false
single => true|false,如果為 true,則僅在單數視圖上顯示(自 v1.2.2 起)
home_text => 只有在 single 為 true 時顯示的某些文本(自 v1.2.2 起)
like_url => 激活所有社交網路以按讚的 URL
facebook_url => 添加用戶應該喜歡的 URL,不會偵測過去的喜歡
twitter_url => 添加用戶應該推文/追蹤的 URL,不會偵測過去的喜歡
gplusone_url => 添加用戶應 +1 的 URL,不會偵測過去的喜歡
外掛標籤
開發者團隊
原文外掛簡介
WordPress out of the box is smart enough to give you the ability to host downloads on your personal blog/website. If you deliver premium content for free to your users maybe you want to get a little bit of love from your consumers. With wpLike2Get you can protect your download or content until the user like, tweet or +1 your content.
Decide which type of social network
You decide between Facebooks like and send button, Twitters tweet or follow button and Google +1 button. You can decide for only one button, two, or all together.
Track with Google Analytics
You have the ability to track the button-clicks with Google Analytics.
Usage
The social media buttons are loaded when the shortcode was detected. [l2g id=”999″]. You can optional decide for a name of the downloadlink and you can select different social networks when you activated all on the wpLike2Get settings page. A complete shortcode for downloads looks like that: [l2g name=”Download this awesome file” id=”999″ facebook=”true” twitter=”true” gplusone=”false”]
a complete shortcode for hiding content looks like that: [l2g facebook=”true” twitter=”true” gplusone=”false”]here is your content to hide until user likes the content[/l2g]
Shortcode options
id => id of the attachment
name => some text
twitter => true|false
facebook => true|false
gplusone => true|false
single => true|false if true show only on singular views (since v1.2.2)
home_text => some text only displayed when single is true (since v1.2.2)
like_url => url for all activated social networks to like
facebook_url => add the url the user should like, will not detect likes from the past
twitter_url => add the url the user should tweet/follow, will not detect likes from the past
gplusone_url => add the url the user should plus, will not detect likes from the past
