이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Flair – Github

설명

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

⚡️ 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']") ; ?>

스크린샷

  • Horizontal / Desktop layout
  • Vertical / Mobile layout
  • Search function
  • Classic Editor
  • Block Editor
  • Template file – Example: “Code usage” page.
  • Demo GIF

FAQ

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

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Flair – Github”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Flair – Github”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

= 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.