Title: Flair &#8211; Github
Author: m4n0jkum4r
Published: <strong>18 de desembre de 2021</strong>
Last modified: 21 de desembre de 2021

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/flair-github/assets/icon-128x128.png?rev=2646058)

# Flair – Github

 Per [m4n0jkum4r](https://profiles.wordpress.org/m4n0jkum4r/)

[Baixa](https://downloads.wordpress.org/plugin/flair-github.zip)

 * [Detalls](https://ca.wordpress.org/plugins/flair-github/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/flair-github/#reviews)
 * [Desenvolupament](https://ca.wordpress.org/plugins/flair-github/#developers)

 [Suport](https://wordpress.org/support/plugin/flair-github/)

## Descripció

📣 WordPress plugin to show Github profile summary through their API.

⚡️ Demo: [https://manojkumar.online/lab/wp/github-flair-demo/](https://manojkumar.online/lab/wp/github-flair-demo/)

After installing the plugin, just use this shortcode: `[github-flair]` in your posts,
pages or widgets.

You can make use of the user attribute of the shortcode like this:

    ```
    [github-flair user="WordPress"] 
    ```

where WordPress can be replaced by your desired Github username.

By default, the search function is enabled but if you need to remove it, you can
do so with:

    ```
    [github-flair show-search="no"]
    ```

You can also make use of the shortcode in your template files using this

    ```
    <?php echo do_shortcode("[github-flair user='WordPress']") ; ?>
    ```

## Captures

[⌊Horizontal / Desktop layout⌉⌊Horizontal / Desktop layout⌉[

Horizontal / Desktop layout

[⌊Vertical / Mobile layout⌉⌊Vertical / Mobile layout⌉[

Vertical / Mobile layout

[⌊Search function⌉⌊Search function⌉[

Search function

[⌊Classic Editor⌉⌊Classic Editor⌉[

Classic Editor

[⌊Block Editor⌉⌊Block Editor⌉[

Block Editor

[⌊Template file - Example: "Code usage" page.⌉⌊Template file - Example: "Code usage"
page.⌉[

Template file – Example: «Code usage» page.

[⌊Demo GIF⌉⌊Demo GIF⌉[

Demo GIF

## PMF

### Do I need an API key to access GitHub key?

You might not need an API key for now since GitHub offers unauthenticated access
up to certain limit. Please read this: https://docs.github.com/en/rest/guides/getting-
started-with-the-rest-api which says that they allow up to 60 requests per hour 
per user. So they block the IP for a while if they exceed that limit.

The admin inputs for API key will be in the future releases if people find it interesting
to work with.

### How do I limit the number of search results?

Make use of the attribute `[github-flair total-results="25"]` where you can set 
any number instead of 25.

### I need to add/delete details to/from these cards.

You can do so if you are a developer by editing the script.js file and getting the
desired results from the API into the HTML and then minify it. As a non-developer,
You can request more profile data through https://github.com/M4N0JKUM4R/Flair-Github/
issues

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Flair – Github» és programari de codi obert. La següent gent ha col·laborat en 
aquesta extensió.

Col·laboradors

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

[Traduïu «Flair – Github» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/flair-github)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/flair-github/), baixeu-
vos el [repositori SVN](https://plugins.svn.wordpress.org/flair-github/), o subscriviu-
vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/flair-github/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/flair-github/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

= 1.0.1
 * Fixed JS errors on non-shortcode pages. Added option to limit the number
of search results.

= 1.0.0
 * Early release with basic rendering of cards with a search function.

## Meta

 *  Versió **1.0.1**
 *  Darrera actualització **fa 5 anys**
 *  Instal·lacions actives **Menys de 10**
 *  Versió del WordPress ** 5.2 o posterior **
 *  Provada fins a **5.8.14**
 *  Versió del PHP ** 7.2 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/flair-github/)
 * Etiquetes
 * [card](https://ca.wordpress.org/plugins/tags/card/)[flair](https://ca.wordpress.org/plugins/tags/flair/)
   [Github](https://ca.wordpress.org/plugins/tags/github/)[profile](https://ca.wordpress.org/plugins/tags/profile/)
   [search](https://ca.wordpress.org/plugins/tags/search/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/flair-github/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/flair-github/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/flair-github/)