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

Custom Strava Integration

설명

The “Custom Strava Integration” is a powerful plugin that makes integrating strava activities easy and simple. It gives you the opportunity to create output exactly the way you like it.

The Plugin

Basically what this plugin does is adding the shortcode [strava id=”[activity id]”] to your post, receiving data via Strava API v3 and filling the preconfigured template with this information.

Configuration

You want full control of the shortcode’s output ? No Problem. You can specify a template at the settings page and define the positions of strava information. Therefore ‘Custom Strava Integration’ provides these placeholders:

  • [distance] – Overall distance of the activity
  • [description] – Description of the activity
  • [duration] – Duration of the activity
  • [elevation] – Overall elevation of the activity
  • [location] – Location of the activity
  • [name] – Name of the activity
  • [speed] – Depending on type (ride or run) – either running pace or riding speed
  • [time] – Local start time of the activity
  • [type] – Type of the activity (run – ride – swim)

You can not only customize the style by using CSS features, moreover you have full control over the html output.

Moreover you can choose the type of display unit (mi/ft or km/m) you want to use.

Difference to other solutaions

We know that strava also does offer their own embedded widget, but this plugin:

  • does not use iframes (if you want to)
  • allows you to fully customize the content
  • can display more information than the widget
  • does not require you to leave the site

You can concentrate on the important things – writing good blog posts!

스크린샷

  • Add Client Id & Secret to be able to connect to strava
  • Configure the template the way you like it
  • Add Shortcode(s) by choosing from the list of activities

설치

  1. Upload the folder strava-for-wordpress to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Plugin Setup

  1. Please create a application on Strava first! Go here [http://www.strava.com/developers] for more details.
  2. It is also important to make sure that the redirect URI you enter is the same as your site.
  3. After creating the application go to the Settings page and enter the client id and secret.
  4. Save settings
  5. Click “Connect with Strava” on the settings page to generate an access token

Add to page/post

Basically what this plugin does is adding the shortcode [strava id=”[activity id]”] to your post, receiving data via Strava API v3 and filling the preconfigured template with this information. Of course you could paste the snippet manually, but in order to do so you would have to leave your site and find the needed id by yourself. The easier way is to choose one of the listed activities in the right corner of your post editing page and let the plugin do the work for you. No more copy and paste!

FAQ

Do i really need to add a strava app?

Yes this is required by strava to allow access to your activities

후기

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

기여자 & 개발자

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

기여자

자국어로 “Custom Strava Integration”(을)를 번역하세요.

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

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

변경이력

1.0

  • Plugin released.