[wordpress插件] Card For GitHubGitHub卡

wordpress 插件 文章 2020-03-16 22:10 0 384 全屏看文
评分
0
描述

Add GitHub repository card into wordpress.

在 WordPress 文章/页面中嵌入 GitHub 仓库卡片。

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' ))

Add GitHub repository card into wordpress.

在 WordPress 文章/页面中嵌入 GitHub 仓库卡片。

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' ))

安装步骤

    1. Upload the plugin to your /wp-content/plugins/ directory.
    2. Upload the plugin to your / wp-content / plugins / directory.

    3. Activate the plugin through the ‘Plugins’ menu in WordPress.
    4. Activate the plugin through the ‘Plugins’ menu in WordPress.

    5. (Optional) Fill in your GitHub personal access token in plugin options page.
    6. (Optional) Fill in your GitHub personal access token in plugin options page.

      1. 上传插件到您的 WordPress 插件目录。

      2. Upload the plugin to your WordPress plugin directory.

      3. 登录后台激活插件。

      4. Log in to the background to activate the plugin.

      5. (可选)在插件设置页面填写你的 GitHub 个人访问令牌。

      6. (Optional) Fill in your GitHub personal access token on the plugin settings page.

下载地址
https://downloads.wordpress.org/plugin/card-for-github.1.0.4.zip
-EOF-