前言介紹
- 這款 WordPress 外掛「WP GitHub Tools」是 2013-02-23 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2016-08-11,距離現在已有 3188 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.3 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
tool | commit | Github | widget | repository |
內容簡介
使用自定義的 Github Commit 插件來顯示庫中最新更新的列表。此外,您可以使用短碼來添加提交列表或嵌入任何 Gist。
該插件將在一定的時間內緩存 GitHub 回應。您可以將此值更改為您已安裝的任何 WordPress 計劃(默認值:每小時,半天,每天)。要獲得更多時間框架,您需要一個擴展 cron 計劃的其他插件。
短碼
[gist id=’gist_id‘ ]
在您的文章中嵌入 gist。參數:
id(必填)要嵌入的 gist 的 ID。
[commits repository=’your-repository’ count=’max-count’ title=’your-title’]
顯示來自庫的最新提交。參數:
repository(必填)要獲取的庫的名稱。
count(可選)要檢索的提交數(按日期排序)。默認值:5
title(可選)列表前顯示的標題(h2)。默認值:無
[releases repository=’your-repository’ count=’max-count’ title=’your-title’]
顯示來自庫的最新發布。參數:
repository(必填)要獲取的庫的名稱。
count(可選)要檢索的發布數(按日期排序)。默認值:5
title(可選)列表前顯示的標題(h2)。默認值:無
[chart repository=’your-repository’ width=’chart-width’ height=’chart-height’ class=’additional-css-classes’ color=’bar-color’ background=’chart-background’ count=’commit-count’ title=’your-title’]
為指定的庫顯示活動圖表。參數:
repository(必填)要獲取的庫的名稱。
width(可選)圖表寬度。默認值:自動
height(可選)圖表高度。默認值:自動
class(可選)要添加到圖表元素的額外 CSS 類。默認值:“”
color(可選)圖表條形顏色。必須為有效的顏色字符串(rgb、hex 或名稱)。默認值:‘#f17f49’
background(可選)圖表背景顏色。必須為有效的顏色字符串(rgb、hex 或名稱)。默認值:‘transparent’
count(可選)要檢索的提交數(按日期排序)。默認值:30
title(可選)列表前顯示的標題(h2)。默認值:無
PHP 函數
請隨意在您的主題或插件開發中使用 Gihub 助手類。
貢獻!
如果您對新附加功能有建議,請隨時在 Twitter 上聯繫我。或者,您可以從 Gihub 上 fork 插件。
原文外掛簡介
Use the custom GitHub Commit widget to display a list of the latest updates from a repository. Additionally, you can use shortcodes to add commit lists or embed any gist.
The plugin will cache the GitHub response for a certain time period. You can change this value to any wordpress schedules you have isntalled (default: hourly, half-day, daily). To get more time frames you will need an additional plugin that extends the cron schedules.
Shortcodes
[gist id=’gist_id‘ ]
Embeds a gist in your post. Parameters:
id (required) The id of the gist you want to embed.
[commits repository=’your-repository’ count=’max-count’ title=’your-title’]
Displays the latest commits from your repository. Parameters:
repository (required) The name of the repository you wish to get.
count (optional) The number of commits to retrieve (order by date). Default: 5
title (optional) A title to display before the list (h2). Default: none
[releases repository=’your-repository’ count=’max-count’ title=’your-title’]
Displays the latest releases from your repository. Parameters:
repository (required) The name of the repository you wish to get.
count (optional) The number of releases to retrieve (order by date). Default: 5
title (optional) A title to display before the list (h2). Default: none
[chart repository=’your-repository’ width=’chart-width’ height=’chart-height’ class=’additional-css-classes’ color=’bar-color’ background=’chart-background’ count=’commit-count’ title=’your-title’]
Displays an activity chart for the given repository. Parameters:
repository (required) The name of the repository you wish to get.
width (optional) The width of the chart. Default: auto
height (optional) The height of the chart. Default: auto
class (optional) Additional CSS classes to add to the chart element. Default: ”
color (optional) The chart bar colors. Must be a valid color string (rgb, hex or name). Default: ‘#f17f49’
background (optional) The chart background color. Must be a valid color string (rgb, hex or name). Default: ‘transparent’
count (optional) The number of commits to retrieve (order by date). Default: 30
title (optional) A title to display before the list (h2). Default: none
PHP functions
Feel free to use the Gihub helper class in your theme or plugin development.
Contribute!
If you have suggestions for a new add-on, feel free to contact me on Twitter. Alternatively, you can fork the plugin from Gihub
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP GitHub Tools」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 1.1 | 1.2 | 1.2.2 | 1.2.3 | 1.2.4 | 1.2.5 | 1.2.6 | 1.3.1 | 1.3.3 | 1.3.4 | 1.3.5 | 1.4.4 | trunk |
延伸相關外掛(你可能也想知道)
Github Embed 》此外掛允許您只需貼上 URL,即可嵌入 GitHub 的詳細資訊,就像您嵌入其他嵌入來源一樣。目前支援:, , 資料庫, 使用者檔案, 專案里程碑摘要, 專案貢獻者, , ...。
Jekyll Exporter 》nclude information relevant to the issue you are reporting., , , 功能, , 將所有文章、頁面和 WordPress 設定轉換為 Markdown 和 YAML 格式,可用於 Jeky...。
Pastacode 》使用 Pastacode,您可以輕鬆地將代碼加入您的文章中,並使用宏偉的 PrismJs 着色庫。, 您可以將源代碼插入到文章編輯器中,直接將其寫入編輯器中(使用 Guten...。
Embed Block for GitHub 》這個外掛能夠在區塊編輯器中加入 GitHub 儲存庫嵌入區塊。, 此外掛是在 GitHub 上開發的,歡迎貢獻!, 特別感謝:, – @pedro-mendonca 提供 i18n/l10n ...。
WordPress GitHub Sync 》這是一個 WordPress 外掛,可以將內容與 GitHub 儲存庫(或 Jekyll 網站)進行同步, , 如果您希望能夠協同撰寫 WordPress 網站的內容(或公開展示更改歷史...。
Documents from Git 》官方文件: https://github.com/gis-ops/wordpress-markdown-git, 這個WordPress外掛讓您能夠輕鬆地從您最喜愛的遠端Git平台上發布、協作和版本控制您的[...。
Git it Write – Write posts from GitHub 》Git it Write允許將存儲在Github存儲庫中的markdown文件發布到您的WordPress網站中。因此,使用此外掛程序,當存儲庫中添加、更新文件時,WordPress文章將相...。
Gist GitHub Shortcode 》這款外掛可以通過使用 shortcode 在您的文章中添加 Github Gists。, 範例:, 添加完整的 gist:, [gist id="3837669"], , 添加 gist 中的特定文件:, [gist i...。
Embed Repo For Github 》以下為繁體中文總結:, , 透過這款 WordPress 外掛,您可以把自己的 GitHub 倉庫嵌入 WordPress 網站的各個區域,快速簡單地展示您的作品。以下為使用方法。,...。
External Markdown 》這是一個 WordPress 外掛,可使用短碼 [external_markdown] 從外部網站(例如 GitHub、GitLab 等)嵌入 Markdown 文件到 WordPress 內容中。可能的使用情況是...。
Embed GitHub Gist 》這個專案可以在 GitHub 上進行 Fork:, , https://github.com/dflydev/embed-github-gist, , 嵌入GitHub Gists, 到 WordPress 中。提供文章和頁面的縮碼,還有...。
Canvas-Nest.js 》Canvas-nest.js是 GitHub 上一個非常華麗的開源專案,它使用不到2kb的Javascript代碼,構造一個炫酷的網頁背景效果。該專案的網址是:https://github.com/aTo...。
WP Github 》WP Github 提供三個側邊欄小工具,可配置為在側邊欄中顯示來自 Github 的公開資料,包括個人資料、存儲庫、提交、問題和 Gist。您可以配置任意多個小工具以顯...。
GitHub Release Downloads 》gs » GitHub Release Downloads, you can set default values for user and repo attributes, as well as change the downloads suffix string and sel...。
Mytory Markdown 》ugin allows you to convert Markdown files to HTML and display them in your post content. You can provide a URL for the Markdown file, like a GitHub...。