Mô tả
Displays GitHub buttons with your proffered octicon.
Features
- Widget
- Shortcode
Ảnh màn hình
Cài đặt
Install
- Upload
wp-github-buttons.php
and other files compressed in the zip folder to the/wp-content/plugins/
directory., - Activate the plugin through the ‘Plugins’ menu in WordPress.
Hỏi đáp
<
h4>Shortcode Slug
<
h4>
wp_github_button
[wp_github_button]
Shortcode Parameters
account
– the account name. For example, For example, in the repository urlhttps://github.com/michaeluno/wp-github-buttons
it will bemichaeluno
.repository
– the repository slug. For example, in the repository urlhttps://github.com/michaeluno/wp-github-buttons
it will bewp-github-buttons
.show_count
–1
or0
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_style
–default
ormega
For a large button, setmega
. -
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’]
Đánh giá
There are no reviews for this plugin.
Người đóng góp & Lập trình viên
“WP GitHub Buttons” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “WP GitHub Buttons” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.0.0 – 2015/03/01
- Released.