Cette extension n’a pas été testée avec les3 dernières versions majeures de WordPress. Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

WP GitHub Buttons

Description

Displays GitHub buttons with your proffered octicon.

Features

  • Widget
  • Shortcode

Captures d’écran

  • Buttons
  • Widget Form

Installation

Install

  1. Upload wp-github-buttons.php and other files compressed in the zip folder to the /wp-content/plugins/ directory.,
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

FAQ

<

h4>Shortcode Slug

<

h4>

wp_github_button


[wp_github_button]

Shortcode Parameters

  • account – the account name. For example, For example, in the repository url https://github.com/michaeluno/wp-github-buttons it will be michaeluno.
  • repository – the repository slug. For example, in the repository url https://github.com/michaeluno/wp-github-buttons it will be wp-github-buttons.
  • show_count1 or 0 set 1 to show the count.
  • type – either of the followings or set none for a custom link.

    • .fork – the fork button.
    • .follow – the follow button.
    • .star – the stargazer button.
    • .issue – the issue button.
  • data_styledefault or mega For a large button, set mega.

  • data_text – the button label.

    [wp_github_button type=’.star’ account=’michaeluno’ repository=’wp-github-buttons’ show_count=1 data_text=’Fork Me!’ data_style=’mega’]

  • data_icon – your preferred octicon. e.g. octicon-gift

    [wp_github_button href=’https://wordpress.org’ data_icon=’octicon-gift’ data_text=’Gift’ data_style=’mega’]

Avis

Il n’y a aucun avis sur cette extension.

Contributeurs & développeurs

« WP GitHub Buttons » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « WP GitHub Buttons » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Historique des changements

1.0.0 – 2015/03/01

  • Released.