该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Dailymile Widgets

描述

Share your latest workout with Dailymile widgets in your WordPress sidebar. This plugin uses native WordPress caching so the widgets won’t slow down your site.

Seven widgets are available:

  • Last Workout – Share your latest workout
  • Recent Workouts = Your last few workouts
  • Total Distance – Show off your total mileage
  • Mini Mileage Counter – A smaller version of Total Distance
  • Racing Widget – List upcoming races
  • Donuts – How many donuts you’ve earned
  • Cheezburgers – How many cheeseburgers you’ve earned

Check dailymile or click screenshots to see what they look like.

This plugin specifically addresses display slowdowns related to the JavaScript widgets provided by Dailymile. The WordPress API allows for regularly scheduled widget updates while dramatically improving display time.

屏幕截图

  • Last Workout widget
  • Recent Workouts widget
  • Total Distance widget
  • Mini Mileage Counter widget
  • Racing widget
  • Donuts widget
  • Cheezburger widget

安装

  1. Upload the dailymile-widgets folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Dailymile widgets can be added to your site from the Appearance > Widgets pane of your WordPress Dashboard

常见问题

Why can’t I see my widgets?

Make sure your username is spelled correctly.

Can I customize my widgets?

Not yet. Widgets are designed by Dailymile, if they start to offer customization then this plugin will too.

How wide are the widgets?

Dailymile’s widgets are HTML and stretch gracefully to fit various dimensions. The default width is 280px except for the mini mileage widget which is fixed at 157px.
The Last Workout and Racing widgets can squeeze down to 212px before the design breaks. The Donut and Cheezburger widgets are 180px wide.

You spelled cheeseburger wrong

I know, that annoys me too.

评价

此插件暂无评价。

贡献者及开发者

「Dailymile Widgets」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.2

  • Introduced the completely new Recent Workouts widget
  • Added display of races from the past 10 days (depending on what Dailymile sends in the widget code)
  • Refactoring and code cleanup
  • JavaScript refinements in widget settings
  • Workarounds for several design-related bugs in the stock widgets

1.1

  • Urls are now auto-linked in the Last Workout widget
  • Last Workout widgets can now show the full entry or short entry
  • Admin page improvements
  • Improved compatibility with the WordPress Twentyten theme
  • Additional CSS overrides for better compatibility and consistency
  • Fixed date display in the Last Workout widget (dailymile API change)
  • Improved error handling
  • Bug fixes, mine and theirs

1.0.3

  • Corrected typo in API call for fixing relative dates on Last Workout widgets

1.0.2

  • Better error handling of the Dailymile API
  • Switched to API url for additional entry details

1.0.1

  • Patched the “posted…ago” line in the Last Workout widget to display the correct relative time.
  • Fixed a bug in the Racing widget affecting the display of races

1.0

  • Initial release.