這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Get GitHub Code

外掛說明

Get GitHub Code is a wordpress plugin for a post or single page to show the code form GitHub Repository. With GitHub API v2 to get the data, and save on the server cache file, have a limit time for cache file.

You can get the code you like , and show it at the post. Every post can show one Repository code.

PHP version 5.2.0 +, and curl be able.

螢幕擷圖

  • The setting page.
  • A part of the post edit.

安裝方式

  1. Extract to “wp-content/plugins/” directory.
  2. Activation this Get-GitHub-Code plugins.
  3. Create a file for save the cache on your server, make sure your file have write and read permissions.
  4. Go to the setting page, input your cache path, choose your cache limit time, and save it.
  5. Add <?php igit_getcode(); ?> in your wordpress theme’s single.php.
  6. Edit post, fill the form on right side about github connect, save the post and you will view on the post.

常見問題集

I got the message “Here is the code get form GitHub, but it have some problem. Please wait 1 hours later.”, how to fiexd it ?

You may change your cache time by 1 Minute and ref lash the post. When it done, change cache time you like again.

And this: “Oh, the code form github can’t not get! Please contact the site master..’”

Please check your cache file exit and it should be Read and write permissions!

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Get GitHub Code〉的開發相關工作。

參與者

將〈Get GitHub Code〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • The previous version