Title: GitHub Repository Shortcode
Author: f13dev
Published: <strong>14 juli 2016</strong>
Last modified: 15 september 2018

---

Sök tillägg

![](https://ps.w.org/f13-github-repo-shortcode/assets/banner-772x250.png?rev=1454608)

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://ps.w.org/f13-github-repo-shortcode/assets/icon-256x256.png?rev=1454608)

# GitHub Repository Shortcode

 Av [f13dev](https://profiles.wordpress.org/f13dev/)

[Ladda ner](https://downloads.wordpress.org/plugin/f13-github-repo-shortcode.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/f13-github-repo-shortcode/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/f13-github-repo-shortcode/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/f13-github-repo-shortcode/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/f13-github-repo-shortcode/#developers)

 [Support](https://wordpress.org/support/plugin/f13-github-repo-shortcode/)

## Beskrivning

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

## Skärmdumpar

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

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

## Installation

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

## Vanliga frågor

  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.

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”GitHub Repository Shortcode” är programvara med öppen källkod. Följande personer
har bidragit till detta tillägg.

Bidragande personer

 *   [ f13dev ](https://profiles.wordpress.org/f13dev/)

[Översätt ”GitHub Repository Shortcode” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/f13-github-repo-shortcode)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/f13-github-repo-shortcode/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/f13-github-repo-shortcode/)
eller prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/f13-github-repo-shortcode/)
via [RSS](https://plugins.trac.wordpress.org/log/f13-github-repo-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.0

 * Initial release

## Meta

 *  Version **1.0**
 *  Senast uppdaterat **8 år sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 3.0.1 eller senare **
 *  Testat upp till **4.9.29**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/f13-github-repo-shortcode/)
 * Etiketter
 * [code](https://sv.wordpress.org/plugins/tags/code/)[Github](https://sv.wordpress.org/plugins/tags/github/)
   [profile](https://sv.wordpress.org/plugins/tags/profile/)[repo](https://sv.wordpress.org/plugins/tags/repo/)
   [repository](https://sv.wordpress.org/plugins/tags/repository/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/f13-github-repo-shortcode/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

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

[Se alla recensioner](https://wordpress.org/support/plugin/f13-github-repo-shortcode/reviews/)

## Bidragande personer

 *   [ f13dev ](https://profiles.wordpress.org/f13dev/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/f13-github-repo-shortcode/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](http://f13dev.com/wordpress-plugin-github-repo-shortcode/)