這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

My Coderwall Badges

外掛說明

This simple plugin lets you get your Coderwall badges and show them on your blog.
Install, activate the plugin and set your username in the CW Badges Panel.
You can display your badges using the [cwbadges] shortcode inside your pages/posts.
There’s also a widget which waits to be activated by you in the theme options.

螢幕擷圖

  • Setup Panel

安裝方式

  1. Upload my-coderwall-badges directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Copy the style in css/style.css to your theme’s stylesheet and adapt it to your needs.

使用者評論

2016 年 9 月 3 日
you shouldn't need sslverify => false: $cwbadges = wp_remote_get('https://coderwall.com/'.$this->username.'.json', array( 'sslverify' => false)); You should also html escape the data coming from coderwall before using it in HTML: foreach($cwbadges->badges as $badge){ $badges_string.='<img class="cwbtip" src="'.$badge->badge.'" alt="'.$badge->name.'" title="'.$badge->description.'" />'; } $badges_string.='</div>'; Also, you should apply some filtering on the username and endorsement before using them. Not a big deal, just good practices. Thanks for the awesome work anyway 🙂
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈My Coderwall Badges〉的開發相關工作。

參與者

將〈My Coderwall Badges〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.6

  • fixed ssl verification issue (thanks to tmeinlschmidt)

0.5

  • Added option to show Coderwall endorsements (http://coderwall.com/blog/2012-01-16-the-hacker-version-of-an-embeddable-social-button) (thanks to picandocodigo)

0.4

  • German translation (thanks to bountin)

0.3

  • Added a simple widget. (thanks to picandocodigo)

0.2

  • Minor fixes, added shortcode, removed curl functions.

0.1

  • First release.