This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP GitHub Buttons


Displays GitHub buttons with your proffered octicon.


  • Widget
  • Shortcode


  • Buttons
  • Widget Form



  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.



h4>Shortcode Slug





Shortcode Parameters

  • account – the account name. For example, For example, in the repository url it will be michaeluno.
  • repository – the repository slug. For example, in the repository url 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=’’ data_icon=’octicon-gift’ data_text=’Gift’ data_style=’mega’]


There are no reviews for this plugin.

Contributors & Developers

“WP GitHub Buttons” is open source software. The following people have contributed to this plugin.


Translate “WP GitHub Buttons” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


1.0.0 – 2015/03/01

  • Released.