Title: Blocks for GitHub
Author: Devin Walker
Published: <strong>2024 年 11 月 23 日</strong>
Last modified: 2024 年 11 月 23 日

---

搜索插件

![](https://ps.w.org/blocks-for-github/assets/banner-772x250.jpg?rev=3195299)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/blocks-for-github/assets/icon-256x256.jpg?rev=3195299)

# Blocks for GitHub

 作者：[Devin Walker](https://profiles.wordpress.org/dlocc/)

[下载](https://downloads.wordpress.org/plugin/blocks-for-github.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/blocks-for-github/#description)
 * [评价](https://cn.wordpress.org/plugins/blocks-for-github/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/blocks-for-github/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/blocks-for-github/#developers)

 [支持](https://wordpress.org/support/plugin/blocks-for-github/)

## 描述

Seamlessly integrate GitHub content into your WordPress website using the block 
editor. This lightweight plugin lets you showcase GitHub profiles, organizations,
and repositories with just a few clicks.

#### Key Features

 * **GitHub Profile Block**: Display any GitHub user profile complete with:
    - Profile picture and bio
    - Location and website information
    - Follow button with follower count
    - Customizable display options
 * **Repository Block**: Showcase GitHub repositories with:
    - Repository description and statistics
    - Star count and fork information
    - Last update timestamps
    - Customizable repository display options
 * **Flexible Display Options**:
    - Show/hide various profile elements (bio, location, website, etc.)
    - Customize repository information display
    - Control header background images
    - Adjust profile name display

#### Perfect For

 * Developers showcasing their GitHub projects
 * Organizations displaying their open-source contributions
 * Portfolio websites
 * Development blogs
 * Project documentation sites

#### Contributing

This is an open-source project and we welcome contributions of all kinds! Whether
you’re fixing bugs, improving documentation, or proposing new features, your help
is welcome.

 * View the source code on [GitHub](https://github.com/DevinWalker/blocks-for-github/)
 * Found a bug? [Open an issue](https://github.com/DevinWalker/blocks-for-github/issues)
 * Want to contribute? [View our contribution guidelines](https://github.com/DevinWalker/blocks-for-github/blob/main/CONTRIBUTING.md)

## 屏幕截图

[⌊Display and configure any GitHub profile or organization within the WordPress 
block editor. Customize the display options to show exactly what you want your visitors
to see.⌉⌊Display and configure any GitHub profile or organization within the WordPress
block editor. Customize the display options to show exactly what you want your visitors
to see.⌉[

Display and configure any GitHub profile or organization within the WordPress block
editor. Customize the display options to show exactly what you want your visitors
to see.

[⌊Have a repo that you want to showcase? No problem! Display any GitHub repository
within the WordPress block editor. Show repository stats, descriptions, and more
with easy configuration options.⌉⌊Have a repo that you want to showcase? No problem!
Display any GitHub repository within the WordPress block editor. Show repository
stats, descriptions, and more with easy configuration options.⌉[

Have a repo that you want to showcase? No problem! Display any GitHub repository
within the WordPress block editor. Show repository stats, descriptions, and more
with easy configuration options.

## 区块

该插件提供了 1 个区块.

 *   Blocks for GitHub Display your GitHub content in a variety of useful ways using
   the WordPress block editor.

## 安装

Installation is easy!

Install right through the block editor or via the WordPress plugin directory search
in your WordPress website.

 1. Upload the plugin files to the `/wp-content/plugins/` directory, or install the
    plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Look for the GitHub blocks in your block editor
 4. Start adding GitHub profiles and repositories to your posts and pages!

## 常见问题

### Do I need a GitHub account to use this plugin?

While you don’t need a GitHub account to install the plugin, you’ll need to know
the GitHub username or repository information you want to display.

### Can I display private repositories?

Currently, the plugin only displays public GitHub repositories and profiles.

### How do I customize what information is displayed?

Each block has its own settings panel in the block editor sidebar. You can toggle
various display options like showing/hiding the bio, location, website, follower
count, and more.

### Can I display multiple profiles or repositories on the same page?

Yes! You can add as many GitHub profile or repository blocks as you need to a single
page or post.

### Will this plugin slow down my website?

No, the plugin is designed to be lightweight and efficient, making API calls only
when necessary to fetch GitHub data.

### How often is the GitHub information updated?

The plugin caches GitHub data to ensure optimal performance while keeping information
relatively fresh.

### I found a bug or have a suggestion

Great! Please [open an issue on GitHub](https://github.com/DevinWalker/blocks-for-github/issues)
to report bugs or suggest new features.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Blocks for GitHub」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Devin Walker ](https://profiles.wordpress.org/dlocc/)

[帮助将「Blocks for GitHub」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/blocks-for-github)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/blocks-for-github/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/blocks-for-github/)，或通过[RSS](https://plugins.trac.wordpress.org/log/blocks-for-github/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/blocks-for-github/)。

## 更新日志

#### 1.0.0

 * Initial Release – Yippee!
 * Added GitHub Profile Block
 * Added Repository Display Block
 * Implemented customizable display options
 * Added caching for optimal performance
 * Included responsive design for all block displays

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**2 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 6.5 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/blocks-for-github/)
 * 标签
 * [developer-tools](https://cn.wordpress.org/plugins/tags/developer-tools/)[Github](https://cn.wordpress.org/plugins/tags/github/)
   [gutenberg blocks](https://cn.wordpress.org/plugins/tags/gutenberg-blocks/)
 *  [高级视图](https://cn.wordpress.org/plugins/blocks-for-github/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/blocks-for-github/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/blocks-for-github/reviews/)

## 贡献者

 *   [ Devin Walker ](https://profiles.wordpress.org/dlocc/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/blocks-for-github/)