Changeset 2172050
- Timestamp:
- 10/12/2019 03:20:31 AM (6 years ago)
- Location:
- card-for-github/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
wp-github-card.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
card-for-github/trunk/readme.txt
r2172045 r2172050 1 === Card For GitHub === 2 Contributors: neo1 # Card For GitHub 2 Contributors: ineo6 3 3 Tags: GitHub,card,code,repo 4 4 Requires at least: 4.0 5 5 Tested up to: 5.2.3 6 6 Requires PHP: 5.6 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 11 11 Add [GitHub](https://github.com/) repository card into wordpress. 12 12 13 == Description == 13 ## Description 14 14 15 15 Add [GitHub](https://github.com/) repository card into wordpress. … … 17 17 在 WordPress 文章/页面中嵌入 [GitHub](https://github.com/) 仓库卡片。 18 18 19 功能: 19 ### Feature 20 20 21 1. 短代码嵌入仓库卡片 21 - Support shortCode to display Card 22 - Support widget 23 - Provide call function 22 24 23 [ghCard owner="ineo6" name="mini-deploy"] 25 ### Usage 24 26 25 2. 页面中嵌入用户和仓库卡片一览 27 - ShortCode 26 28 27 ` <?php wp_github_card_user(array( 'user' => 'ineo6' ))?>`29 `[ghCard owner="ineo6" name="mini-deploy"]` 28 30 29 3. 提供Widget组件 31 - Widget 30 32 31 == Installation == 33 Go to wordpress admin panel to Appearance > Widget. 34 35 - Call function 36 37 `<?php wp_github_card_user(array( "user" => "ineo6" ))?>` 38 39 ## Installation 32 40 33 41 1. Upload the plugin to your `/wp-content/plugins/` directory. 34 上传插件到您的 WordPress 插件目录。 42 2. Activate the plugin through the 'Plugins' menu in WordPress. 43 3. (Optional) Fill in your GitHub personal access token in plugin options page. 35 44 36 2. Activate the plugin through the 'Plugins' menu in WordPress. 37 登录后台激活插件。 45 -- 38 46 39 3. (Optional) Fill in your GitHub personal access token in plugin options page. 40 (可选)在插件设置页面填写你的 GitHub 个人访问令牌。 47 1. 上传插件到您的 WordPress 插件目录。 48 2. 登录后台激活插件。 49 3. (可选)在插件设置页面填写你的 GitHub 个人访问令牌。 41 50 42 == Screenshots == 51 ## Screenshots 43 52 44 53 1. Github Card 45 2. Generate aGitHub personal access token54 2. Generate GitHub personal access token 46 55 47 == Changelog == 56 ## Changelog 57 58 = 1.0.1 (2019-10-12) = 59 * Update readme. 48 60 49 61 = 1.0.0 (2019-10-01) = -
card-for-github/trunk/wp-github-card.php
r2172045 r2172050 4 4 * Plugin URI: https://github.com/ineo6/github-card 5 5 * Description: GitHub 仓库卡片,支持短代码、Widget展示,同时提供用户仓库一览接口,让你可以在页面中展示。 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Author: Neo 8 8 * Author URI: http://idayer.com
Note: See TracChangeset
for help on using the changeset viewer.