內容簡介
📣 這是一個透過 Github API 來顯示 Github 個人檔案簡介的 WordPress 外掛。
⚡️ 示範網址: https://manojkumar.online/lab/wp/github-flair-demo/
安裝完外掛後,在文章、頁面或小工具中使用這個簡碼:[github-flair]。
你可以用這個簡碼屬性來指定 Github 使用者名稱:
[github-flair user="WordPress"]
其中 WordPress 可自行替換為你欲查詢的 Github 使用者名稱。
預設會啟用搜尋功能,若需移除可以使用以下屬性:
[github-flair show-search="no"]
你也可以在範本檔案中使用這個簡碼:
<?php echo do_shortcode("[github-flair user='WordPress']") ; ?>
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
📣 WordPress plugin to show Github profile summary through their API.
⚡️ Demo: https://manojkumar.online/lab/wp/github-flair-demo/
After installing the plugin, just use this shortcode: [github-flair] in your posts, pages or widgets.
You can make use of the user attribute of the shortcode like this:
[github-flair user="WordPress"]
where WordPress can be replaced by your desired Github username.
By default, the search function is enabled but if you need to remove it, you can do so with:
[github-flair show-search="no"]
You can also make use of the shortcode in your template files using this
