[WordPress] 外掛分享: Reddit Embed

WordPress 外掛 Reddit Embed 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Reddit Embed」是 2014-06-03 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2014-07-10,距離現在已有 3951 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.9.1 以上版本才可以安裝。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

benjiballin |

外掛標籤

comments |

內容簡介

你的網站經常在 Reddit 上被討論嗎?使用這個外掛增加 Reddit 的參與度,獲得更多評論和讚。使用者可以在不離開你的網站的情況下閱讀 Reddit 的評論。

wp-redditjs 使用 redditJS.com 創建小工具,在你的網站上嵌入 Reddit 。

文章小工具會嵌入到你的 WordPress 文章中,並檢測它是否已經在 Reddit 上發布。 更多詳細資訊和範例

如果它還沒有在 Reddit 上發布,它會顯示一個鏈接來鼓勵用戶提交。
如果已經發布了,它將加載顯示 Reddit 文章的小工具,並給用戶點讚/評論文章的地方。

wp-redditjs 將為您提供一個類似於 Facebook 或 Disqus 評論系統的聊天框。這非常適合那些網站將其內容提交到Reddit的網站。它將有助於增加 Reddit 中的活動,獲得更多的讚和評論,並允許用戶自由地瀏覽 Reddit。

使用方法

如果你沒有使用 WordPress 插件,你可以在任何網站上添加這個 script 標籤。

<script src='//redditjs.com/post.js' ></script>

選項

名稱描述值默認值
data-url你想在 Reddit 上搜索的 URL,嵌入到你的網站上任何 url當前 URL
data-width文章小工具的寬度。數字 500
data-height文章小工具的高度。數字 500
data-post-finder如果 URL 已經在 Reddit 上發布了多次,它會根據您的設置顯示最相關的文章。 newest、mostUpvoted、mostComments mostComments
data-theme更改主題的主題淺、深淺
data-show-submit如果我們在 Reddit 上找不到文章,是否顯示「提交到 Reddit」小工具。 true、false true

Reddit 文章小工具(淺色主題)
<script src='//redditjs.com/post.js' data-url='http://www.techodrom.com/etc/star-trek-edges-closer-reality-tractor-beam-moves-object-using-nothing-power-ultrasound/' data-height='500' data-width='500' data-post-finder='newest' data-theme='dark' data-show-submit='true'></script>

你還可以使用小工具嵌入 subreddit 或使用以下腳本標籤來嵌入 subreddit。

名稱描述值默認值
data-subreddit你要嵌入的 subreddit 任何 subreddit front
data-domain如果你想嵌入所有來自一個域名的文章。如果你想嵌入一個常規的 subreddit,不要包含任何有效的網域 null
data-width文章小工具的寬度。數字 300
data-height文章小工具的高度。數字 300
data-sort subreddit 的排序方式熱門、最新、有爭議、上升、前幾、金牌熱門
data-theme更改主題的主題淺、深淺
data-timeframe如果選擇了“前幾”或“有爭議”,則可以顯示特定時間段內的文章。 hour、day、week、month、year、all light
data-subreddit-mode你想要如何顯示 subreddit 正常、小、網格、大 正常

原文外掛簡介

Does your site get a lot of posts on reddit? Increase reddit engagement, more comments, more upvotes. Users can read the reddit comments without having to leave your website.
wp-redditjs uses redditJS.com to create widgets to embed reddit on your website.
The post widget will embed itself onto your WordPress post and detect if it has been posted to reddit. more details and examples
If it has NOT been posted to reddit it will show a link to encourage the user to submit.
If it has been posted, it will load a widget displaying that reddit post giving the user where they can upvote/comment that post.
wp-redditjs will give you a chat box similar to facebook or disqus comment system.  This is excellent for websites that have their content submitted to reddit.  It will help increase reddit activity with more upvotes and comments and allow the user to freely navigate reddit.
Instructions
If you are not using the WordPress plugin, you can add this script tag on any website.

Options
NameDescription values Default
data-urlThe URL you want to search in reddit to embed on your site. any url current URL
data-widthWidth of the post widget. number 500
data-heightHeight of the post widget. number 500
data-post-finderIf the URL has been submitted multiple times to reddit, it will display the most relevant post based on your setting. newest, mostUpvoted, mostComments mostComments
data-themeChange the theme light, dark light
data-show-submitIf we don’t find a post on reddit, should we display a “submit to reddit” widget. true,false true
reddit post widget light theme

You can also embed a subreddit with a sidebar widget or with this script tag

NameDescription values Default
data-subredditThe subreddit you want to embed any subreddit front
data-domainIf you want to embed all posts coming from a domain. Do not include if you want to embed a regular subreddit any valid domain null
data-widthWidth of the post widget. number 300
data-heightHeight of the post widget. number 300
data-sortSort order of subreddit hot, new, controversial, rising, top, gilded hot
data-themeChange the theme light, dark light
data-timeframeIf top or controversial is select you can show posts from a specific time period. hour,day,week,month,year,alllight
data-subreddit-modeHow you want to display a subreddit normal,small,grid,large normal

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Reddit Embed」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Akismet Anti-spam: Spam Protection 》Akismet會檢查您的評論和聯繫表單提交,將它們與全球垃圾郵件數據庫進行比對,以防止站點發佈惡意內容。您可以在部落格的“評論”管理畫面中檢查評論垃圾郵件的...。
  • Antispam Bee 》用 Antispam Bee 保障你的 WordPress 博客或網站免受評論垃圾郵件的困擾。這個外掛可以有效地阻止垃圾評論和引用,不需要驗證碼,也不會將個人信息發送給第三...。
  • Spam protection, Anti-Spam, FireWall by CleanTalk 》Forms spam filter, Plugin extends spam protection for Gravity Forms. It filters spam submissions for each form created with Gravity Forms., MemberP...。
  • Disable Comments 》Disable Comments Plugin 是一個供管理員完全關閉網站評論功能的工具。我們的外掛程式可以全域性地關閉所有文章、頁面和附件的評論功能,移除所有相關的功能...。
  • Comments – wpDiscuz 》wpDiscuz是一個具有自訂評論表單和欄位的AJAX即時評論系統,旨在加強WordPress原生評論功能。速度超快且具有數十種功能,是Disqus和Jetpack Comments的最佳替...。
  • Disqus Comment System 》Disqus 是網路上最受歡迎的評論系統,被數百萬的出版商信任,以增加讀者參與度、成長觀眾及流量、以及賺取內容。Disqus 協助各種尺寸的出版商直接與其觀眾互...。
  • Cookies for Comments 》這個外掛將會在你的部落格 HTML 的原始碼中新增一個樣式表或圖片。當瀏覽器讀取該樣式表或圖片時,會放置一個 Cookie。如果有使用者在這之後留下評論,該 Coo...。
  • Throws SPAM Away 》這個外掛的開發旨在打擊海外的評論垃圾郵件,目前以下的篩選器被用來判定垃圾郵件。, ・日語篩選(是否包含日語),  只有留言中包含日語字符才能被發布,沒...。
  • Subscribe to Comments 》Subscribe to Comments是一個強大的 WordPress 外掛,讓留言者可以訂閱文章回覆的電子郵件通知。此外掛還包括一個完整的訂閱管理工具,使留言者可以取消訂閱...。
  • Disable Comments 》此外掛完全禁用網站前端和後端的評論功能:, * 隱藏現有評論, * 在前端關閉評論, * 禁用評論、引用通告和Ping的支援, * 重新導向任何試圖訪問評論頁面的使用...。
  • WordPress Native PHP Sessions 》 , WordPress 核心不使用 PHP sessions,但有時您的使用案例、外掛或佈景主題可能需要使用它們。, 此外掛實現了 PHP 的原生 session handlers,後台由 WordPr...。
  • Subscribe To Comments Reloaded 》Subscribe to Comments Reloaded 是一個功能強大的外掛,讓留言者可以訂閱後續評論的電子郵件通知。此外掛還包括一個完整的訂閱管理器,讓留言者可以取消訂閱...。
  • Post-Plugin Library 》Post-Plugin Library 是一個共享代碼庫,並沒有獨立的功能,必須安裝它才能為 Similar Posts、Recent Posts、Random Posts、Popular Posts 和 Recent Comment...。
  • One Click Close Comments 》使用者可以從文章管理頁面(‘編輯文章’)及頁面管理頁面(‘編輯頁面’)中,對於他們有足夠權限進行更改的文章關閉或開啟評論(基本上是管...。
  • No Page Comment 》直到最近,WordPress 提供兩種選擇:你可以默認禁用所有頁面和文章的評論和引用追蹤,或者你可以啟用它們。在WordPress 4.3 版本中,這種情況終於改變,所以...。

文章
Filter
Apply Filters
Mastodon