وضاحت
Lightweight widget shortcodes to display GitHub buttons and gists on your blog. Includes shortcode for embedding GitHub hosted gists and buttons for:
- Follow
- Watch
- Star
- Fork
- Download
- Issue
The plugin implements ntkme’s ‘github-buttons’ and GitHub’s gist display as shortcodes.
Usage
GitHub Follow Button:
Add the [Github_User_Button user='JBarnden' size='large' show_count='true']
shortcode in your content and replace JBarnden
with the desired GitHub username.
GitHub Repo Buttons:
Add the [Github_Repo_Button user='JBarnden' repo='wp-github-widgets' size='large' show_count='true']
shortcode in your content, replacing JBarnden
with the desired GitHub username and MyRepo
with the desired repo belonging to the specified user.
You can set thetype
attribtute to watch
, star
, fork
, issue
or download
.
Display Gist:
Add the [Gist]gist_id[/Gist]
where gist_id
is replaced with the id of the desired Gist.
More detailed documentation can be found here. If you find the plugin useful or have any feedback I’d really appreciate your review.
Feature Requests and Contributions
Please submit feature requests and contributions via the issues section of the plugin’s GitHub Repository.
If you feel like improving the plugin, pull requests are both welcome and appreciated.
تصوير
انسٽاليشن
- Upload the
widget-shortcodes-gh
directory to your plugins directorywp-content/plugins
. - Activate the plugin through the ‘Plugins’ menu in WordPress
جائزا
ھن پلگ ان لاءِ ڪي به رايا ناھن.
تعاون ڪندڙ & ڊولپرز
“Widget Shortcodes for Github” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.
تعاون ڪندڙترجمو ڪريو “Widget Shortcodes for Github” توهان جي ٻولي ۾.
ڊولپمينٽ ۾ دلچسپي؟
ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.
لاگ تبدیل ڪريو
1.0
- Stable release with shortcodes for GitHub buttons and Gist display.