Image

Овај додатак није испробан са последња 3 главна издања Вордпреса.Можда се више не одржава или подржава и можда има грешке са усклађеношћу са новијим издањима Вордреса.

Image

WP Reposidget (GitHub 仓库挂件)

Опис

Insert GitHub repository widget into you posts/pages.

在 WordPress 文章/页面中嵌入 GitHub 仓库挂件。

Снимци екрана

  • Image

    Use shortcode to insert reposidget into the post/page. 使用简码向文章/页面中嵌入 GitHub 仓库。

  • Image

    The look of a reposidget. 嵌入文章的仓库挂件。

  • Image

    Generate a GitHub personal access token. 生成 GitHub 个人访问令牌。

Постављање

  1. Upload the plugin to your /wp-content/plugins/ directory.
    上传插件到您的 WordPress 插件目录。

  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
    登录后台激活插件。

  3. Now you could see the GitHub Repo button in post/page editor.
    进入文章编辑界面,您会看到“GitHub Repo”的快捷按钮。

  4. Click the button and input the owner and name of your GitHub repo.
    点击按钮后,输入您的仓库所有者和名称即可插入短码。

  5. (Optional) Fill in your GitHub personal access token in plugin options page.
    (可选)在插件设置页面填写你的 GitHub 个人访问令牌。

ЧПП

  1. Q: Does this plugin support BitBucket?
    A: No. It’s not going to happen until BitBucket API system is actually usable (right now it’s only shit).

    问题:这个插件支持添加 BitBucket 仓库吗?
    回答:不支持,除非 BitBucket API 系统达到实际可用的程度(目前就是一坨屎)。

  2. Q: After upgraded to version 2.x, I got a „Parse error: syntax error, unexpected T_FUNCTION…“, what’s that?
    A: Version 2.x requires PHP 5.3 and above. Please upgrade your PHP environment, or you can continue to use version 1.x.

    问题:升级到 2.x 以后报错,“Parse error: syntax error, unexpected T_FUNCTION…”,是什么原因?
    回答:2.x 要求 PHP 版本不低于 5.3。请升级您的 PHP 环境,或继续使用 1.x 版本。

Прегледи

Image
23. октобар 2020.
Thank you! This is the best plugin to embed a repo in WP by far. It works in (currently the lastest) v5.5.1
Види сва 2 прегледа

Сарадници и градитељи

„WP Reposidget (GitHub 仓库挂件)“ је софтвер отвореног кода. Следећи људи су допринели овом додатку.

Сарадници

Преведите „WP Reposidget (GitHub 仓库挂件)“ на свој језик.

Заинтересовани сте за градњу?

Прегледајте код, проверите SVN складиште или се пријавите на белешку градње преко RSS-а.

Белешка о изменама

2.1.1 (2021-01-19)

  • Fix constant definition issue.
  • 修复常量定义的问题。

2.1.0 (2014-11-23)

  • Add GitHub authentication option.
  • 增加 GitHub 认证选项。

2.0.2 (2014-11-04)

  • Update author’s info and screenshot.
  • 更新作者信息和截图。

2.0.1 (2014-09-03)

  • Back compatible with old shortcode syntax. Fix situation when repo info is wrong.
  • 兼容旧版短码格式。处理仓库信息有误的情况。

2.0.0 (2014-09-02)

  • Completely rewritten. Fix bugs and improve usability. Compatible with WordPress visual style.
  • 完全重写了代码。修复 bug,改善使用体验。兼容 WordPress 界面风格。

1.0.3 (2014-05-10)

  • Be compatible with GitHub API change.
  • 修复 GitHub API 变更。

1.0.2 (2013-05-23)

  • Format numbers.
  • 格式化数字。

1.0.1 (2013-05-23)

  • Add support to rich editor. Add support to language translation.
  • 支持可视化编辑器。支持多语言。

1.0.0 (2013-05-22)

  • First drop.
  • 发布第一个版本。