ineo6/github-card
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
# Card For GitHub Contributors: ineo6 Tags: GitHub,card,code,repo Requires at least: 4.0 Tested up to: 5.2.3 Requires PHP: 5.6 Stable tag: 1.0.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Add [GitHub](https://github.com/) repository card into wordpress. ## Description Add [GitHub](https://github.com/) repository card into wordpress. 在 WordPress 文章/页面中嵌入 [GitHub](https://github.com/) 仓库卡片。 ### Feature - Support shortCode to display Card - Support widget - Provide call function ### Usage #### 1. ShortCode `[ghCard owner='ineo6' name='mini-deploy']` #### 2. Widget Go to wordpress admin panel to Appearance > Widget. #### 3. Call function `wp_github_card_user(array( 'user' => 'ineo6' ))` ## Installation 1. Upload the plugin to your `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. (Optional) Fill in your GitHub personal access token in plugin options page. -- 1. 上传插件到您的 WordPress 插件目录。 2. 登录后台激活插件。 3. (可选)在插件设置页面填写你的 GitHub 个人访问令牌。 ## Screenshots 1. Github Card 2. Generate GitHub personal access token ## Changelog = 1.0.4 (2019-10-12) = * Update readme. = 1.0.0 (2019-10-01) = * First release.