Linux 软件免费装
Banner图

Block for Strava

开发者 obenland
更新时间 2026年5月29日 02:18
PHP版本: 8.1 及以上
WordPress版本: 6.9
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

embed block fitness activity strava

下载

1.0.0

详情介绍:

Block for Strava lets you share your Strava activities, routes, and segments on your WordPress site. Paste a link from Strava and the official Strava embed appears in your post — interactive map, elevation profile, stats, and all. There's nothing to set up. No accounts to connect, no keys to copy, no extra software. If you can paste a link, you can use this plugin. What you can do: A note about private activities: If your Strava activity is set to "Followers" or "Only You", open it on Strava, click Share → Embed, and copy the embed code Strava gives you. Paste that on its own line in your post and the block takes care of the rest. Trademark Notice: Strava is a trademark of Strava Inc. This plugin is not affiliated with or endorsed by Strava Inc.

安装:

  1. In your WordPress dashboard, go to Plugins → Add New, search for "Block for Strava", and click Install.
  2. Activate the plugin.
  3. Open any post or page in the editor. Click the "+" button to add a block, search for "Strava", and select it.
  4. Paste your Strava link into the block. For routes, use the settings panel on the right side of the editor to fine-tune how it looks.
Tip: You can also paste a Strava link onto its own line in a post — the editor will recognize it and turn it into a Strava block for you automatically.

屏幕截图:

  • Route embeds include an elevation profile and let you switch between map styles like satellite, hybrid, dark, or winter, plus optional 3D terrain and unpaved-surface highlights.
  • Search "Strava" in the inserter — hovering the result shows a sample preview so you can see the block before adding it.
  • Tweak each route from the editor sidebar: map style, terrain, units, embed width, and toggles for the elevation profile and unpaved surfaces.
  • Add or remove a caption straight from the block toolbar — no extra panels to dig through.

升级注意事项:

1.0.0 Initial release.

常见问题:

Do my visitors need a Strava account?

No. Visitors just see the embed when they view your post — no login, no account, nothing extra. You also don't need a Strava account to embed public activities. The only time you'll need to be logged in to Strava is if you want to embed one of your own private activities, since you'll need to grab the embed code from Strava's share dialog.

Can I embed private activities?

Yes, with one extra step. For activities you've set to "Followers" or "Only You":

  1. Open the activity on Strava (while logged in).
  2. Click Share → Embed.
  3. Copy the code Strava shows you.
  4. Paste it on its own line in your post.
The block recognizes the code and handles everything from there. (At the moment, Strava only offers this option for activities — not for private routes or segments.)

What kinds of Strava links work?

Any of these:

  • The full link to an activity, route, or segment (the URL you see at the top of the page on Strava)
  • Strava short links (the kind that start with strava.app.link)
  • The embed code from Strava's Share → Embed dialog (this is what you'll use for private activities)

How do I change the look of an embedded route?

Click the Strava block in the editor, and a settings panel appears on the right side of your screen. There you can pick the map style, switch between miles and kilometers, toggle the elevation profile, highlight dirt sections, and more. These options apply to routes; activities and segments use Strava's standard look.

Will this slow down my site or share visitor data?

The Strava embed loads directly from Strava when someone views your page — much like a YouTube video does. The full details of what gets sent to Strava are in the External services section below.

更新日志:

1.0.0