هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

GitHub Repository Shortcode

الوصف

If you are a programmer who uses GitHub then why not share your coding projects via your WordPress blog by adding a snapshot
of your repository on any page or post using shortcode.

Simply install the plugin and add the shortcode [gitrepo author=”author” repo=”repo”] to the desired location; changing the attributes to that of your desired repository.

Features include:

  • Cached using Transient
  • Styles appearance with a GitHub banner
  • Shows the repository description
  • Adds a link to the repository on GitHub
  • Shows statistics for Forks, Stars, Open Issues
  • Provides a link to the latest tag (if one exists)
  • Displays the code to clone the repository
  • Can be used with or without a GitHub API Token

لقطات الشاشة

  • An example showing the results of the shortcode [gitrepo author="wordpress" repo="wordpress"]

التنصيب

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Add the shortcode [wpplugin author=”author” repo=”repo”] to the desired location
  4. If desired, add a GitHub API Token and/or alter the cache timeout on the admin page Settings->F13 GitHub Repo Shotcode

الأسئلة المتكررّة

Is a GitHub API token required

No… Although it is recommended, especially if you wish to have the cache timeout set to a low value, or if you use multiple instances of the shortcode.

المراجعات

لا توجد مراجعات لهذه الإضافة.

المساهمون والمطوّرون

“GitHub Repository Shortcode” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”GitHub Repository Shortcode“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

1.0

  • Initial release