Title: Custom Strava Integration
Author: floriankimmel
Published: <strong>2015 年 9 月 26 日</strong>
Last modified: 2015 年 9 月 30 日

---

搜索插件

![](https://ps.w.org/custom-strava-integration/assets/banner-772x250.png?rev=1253956)

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

![](https://s.w.org/plugins/geopattern-icon/custom-strava-integration_fd855f.svg)

# Custom Strava Integration

 作者：[floriankimmel](https://profiles.wordpress.org/floriankimmel/)

[下载](https://downloads.wordpress.org/plugin/custom-strava-integration.zip)

 * [详情](https://cn.wordpress.org/plugins/custom-strava-integration/#description)
 * [评价](https://cn.wordpress.org/plugins/custom-strava-integration/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/custom-strava-integration/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/custom-strava-integration/#developers)

 [支持](https://wordpress.org/support/plugin/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⌉⌊Add Client Id & Secret
to be able to connect to strava⌉[

Add Client Id & Secret to be able to connect to strava

[⌊Configure the template the way you like it⌉⌊Configure the template the way you
like it⌉[

Configure the template the way you like it

[⌊Add Shortcode(s) by choosing from the list of activities⌉⌊Add Shortcode(s) by 
choosing from the list of activities⌉[

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!

## 常见问题

  Do i really need to add a strava app?

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

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ floriankimmel ](https://profiles.wordpress.org/floriankimmel/)

[帮助将「Custom Strava Integration」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/custom-strava-integration)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/custom-strava-integration/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/custom-strava-integration/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/custom-strava-integration/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/custom-strava-integration/)。

## 更新日志

#### 1.0

 * Plugin released.

## 额外信息

 *  版本 **1.0**
 *  最后更新：**11 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.4 或更高版本 **
 *  已测试的最高版本为 **4.3.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/custom-strava-integration/)
 * 标签
 * [biking](https://cn.wordpress.org/plugins/tags/biking/)[running](https://cn.wordpress.org/plugins/tags/running/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)[strava](https://cn.wordpress.org/plugins/tags/strava/)
 *  [高级视图](https://cn.wordpress.org/plugins/custom-strava-integration/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/custom-strava-integration/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/custom-strava-integration/reviews/)

## 贡献者

 *   [ floriankimmel ](https://profiles.wordpress.org/floriankimmel/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/custom-strava-integration/)