前言介紹
- 這款 WordPress 外掛「Phoenix Folding@Home Stats」是 2016-11-29 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2021-05-20,距離現在已有 1445 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
stats | folding | stanford | Folding@Home | folding at home |
內容簡介
is plugin, you can create a file called donor.php in phoenix-folding-at-home-stats and modify it as needed.
Widget
You can also show the stats in your sidebar or widget area by adding the Phoenix Folding Stats widget to your widgets. You can choose the type of table to display and the donor/team ID or name to display stats for. You can also choose if you want to show the donors that contribute to a team or the teams a donor is a member of.
The options available for the widget are the same as for the shortcode.
原文外掛簡介
This plugin retrieves stats from the Folding@Home API and displays them on your WordPress Website. You can display stats for your donor account or for a Folding team. You can show the stats in your sidebar as a widget or in your content area as a shortcode. The following stats are shown:
Work units.
Total credit in points.
Ranking.
Date you completed the last work unit.
Teams you are a member of/Donors who contribute to your team.
It takes less than a minute to setup. All you need is your donor/team ID or name. The stats are displayed as an HTML table.
What is Folding@Home?
Folding@home is a project run by Stanford University which allows anyone to assist with disease research by donating their unused computer processing power. Your processing power is used to simulate protein folding, a process whereby proteins assemble themselves into tools which your body can use. Joining in is a doddle; simply download the F@H software to get started. Find out more at the Folding@Home website.
You can see an example at https://phoenixweb.com.au/display-folding-at-home-stats-wordpress-plugin/ which is also our announcement post.
Shortcode
Display the shortcode in your content by writing [phoenix_folding_stats] in the post/page editing area.
type – The type of table to display. Set to either ‘team’ or ‘donor’. Defaults to ‘team’.
id – Your donor or team numerical id or name.
class – CSS class to add to the HTML table. This can help with custom styling or getting the style in line with other theme tables. Defaults to empty.
show_donor_teams – On a donor table, show or hide the teams the donor is a member of. Set as ‘false’ or ‘no’ to hide. Defaults to ‘yes’.
show_donor_teams – On a team table, show or hide the donors that contribute to the team. Set as ‘false’ or ‘no’ to hide. Defaults to ‘yes’.
show_id – Show a table row with numerical id. Defaults to ‘false’.
show_logo – Show F@H arrows just after the table header. Set as ‘false’ or ‘no’ to hide. Defaults to ‘yes’.
show_tagline – Show very short spiel about F@H at the bottom of the table. Set as ‘false’ or ‘no’ to hide. Defaults to ‘yes’.
show_rank – Show team/donor rank.
An example of a shortcode with all these parameters in use:
[phoenix_folding_stats type="donor" class="table table-striped" show_id="yes" show_donor_teams="yes" id="James_Jones" show_logo="no" show_tagline="yes"]
Making Changes
– If you just want to change how something looks, the table elements are full of classes you can target with CSS. The plugin itself includes a small amount of CSS which you can easily overwrite.
– I’ve sprinkled in a few WordPress filters so you can change things.
– You can overwrite the templates in the plugin by adding your own templates in your theme. Create a folder in your theme called phoenix-folding-at-home-stats and add templates in there. So for example if you want to overwrite the donor table, you would create a PHP file – wp-content/themes/yourtheme/phoenix-folding-at-home-stats/donor.php and make your own table in there.
– Contact me at the support forums or our website with your desired change. If it’s good I will probably add it in.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Phoenix Folding@Home Stats」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 1.0.1 | 1.0.2 | 2.0.0 | trunk |
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。