
內容簡介
這是一個簡單好用的 WordPress 外掛,可以追蹤您的 GitHub 個人檔案。您可以展示您的追隨者、正在追蹤的人、公司、位置、部落格網址、Twitter 帳號、公開儲存庫、公開儲存庫的使用語言。
如果安裝成功,就可以創建一個頁面和/或發佈文章,並插入短代碼👉 [my_github] 來顯示您的檔案。
在編輯器中您也可以找到快速標籤,也可以在「My GitHub」下的「設定」頁面中設置設置。
目前已支援:
- 編輯器簡碼支援
- GitHub 小工具檢視個人檔案
- 使用者檔案
- 儲存庫
- 使用主要語言
- 儲存庫星星數
- 儲存庫觀看者數
- 儲存庫分支數
- 儲存庫許可證
- 儲存庫的最後推送時間
- 添加自定義樣板選項。
開發人員可以使用加掛鈎「git_name_header」添加自定義標題,如下例:
add_filter('git_name_header', function($url){
return "My Github Showcase";
});
開發人員可以使用加掛鈎「my_github_custom_template」添加自定義樣板,如下例:
add_filter('my_github_custom_template', function($url){
return /template_path/file.php";
});
本外掛具備基本的樣式設定,如果有更好的樣式設計想法,歡迎提交到 GitHube 進行 pull request!
開發儲存庫網址在這裡。
外掛標籤
開發者團隊
原文外掛簡介
A simple and nice WordPress plugin that can track your GitHub’s profile. You can showcase your Followers, Following, Company, Location, Blog URL, Twitter Account, Public Repositories, Public Repository’s Used Language.
If the installation is okay, go and create a page and/or post or update a page and/or post and insert a Shortcode 👉 [my_github] to show your profile.
You can also find Quick Tags in your editor. You can also setup your settings from My GitHub under Settings page. That’s it.
Currently supports:
– Editor ShortCode support
– GitHub Widget Profile View
– User profiles
– Repositories
– Used Main Language
– Repository Star Count
– Repository Watcher Count
– Repository Fork Count
– Repository License
– Repository’s Last Pushed Time
– Add custom template option.
Developers can also add their custom header name by using the hook git_name_header like this
add_filter('git_name_header', function($url){
return "My Github Showcase";
});
Developers can also add their custom template by using the hook my_github_custom_template like this
add_filter('my_github_custom_template', function($url){
return /template_path/file.php";
});
The plugin provides very basic styling. If anyone has any ideas for a better styling – pull requests are welcome!
The development repo is GitHub Repo.
Privacy Policy
My Github uses Appsero SDK to collect some telemetry data upon user’s confirmation. This helps us to troubleshoot problems faster & make product improvements.
Appsero SDK does not gather any data by default. The SDK only starts gathering basic telemetry data when a user allows it via the admin notice. We collect the data to ensure a great user experience for all our users.
Integrating Appsero SDK DOES NOT IMMEDIATELY start gathering data, without confirmation from users in any case.
Learn more about how Appsero collects and uses this data.
