Select one or more tags, then press “Search Plugins”

Find Plugin with any / all of the selected criteria
Search Plugin

Block For Strava Wordpress Plugin - Rating, Reviews, Demo & Download

Block For Strava Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Block for Strava adds a single block to the editor that embeds Strava activities, routes, and segments inside a sandboxed iframe. Public resources embed from a URL; followers-only and private activities embed via the share-dialog snippet from Strava (which carries a per-share token sent to Strava as part of the iframe URL).

When a visitor views a post containing the block, their browser loads the embed iframe directly from strava-embeds.com; for short share links (strava.app.link/…), the site server makes a HEAD request to Strava to resolve the canonical URL. See the External services section below for full details.

Features:

  • One Gutenberg block — find “Strava” in the inserter, paste a URL, done
  • Pasting a Strava URL on its own line in post content (or the share-dialog snippet) auto-converts to the Strava block — when typed inside paragraph text, the block toolbar’s “Transform to Strava” finishes the conversion
  • Supports full URLs (strava.com/activities/…, strava.com/routes/…, strava.com/segments/…), short share links (strava.app.link/…), and the share-dialog embed snippet (with token, for non-public activities)
  • Per-route options for map style, terrain, units, full-width, dirt-surface highlight, and elevation toggle
  • Front-end pages render the official Strava embed (interactive map, elevation profile, etc.) inside a cross-origin sandboxed iframe with referrerpolicy=origin
  • Live in-editor preview with route options applied
  • No API key needed; visitors don’t need a Strava account either (only authors embedding non-public activities need a logged-in Strava session to copy the share-dialog snippet)

Trademark Notice: Strava is a trademark of Strava Inc. This plugin is not affiliated with or endorsed by Strava Inc.

External services

This plugin embeds Strava content through Strava’s public embed service.
When a visitor views a post containing a Strava embed, their browser requests
the embed iframe from https://strava-embeds.com/. Strava may receive request
data such as the visitor’s IP address, browser user agent, referring site
origin, and the Strava activity, route, or segment ID in the embed URL.

For followers-only or private activities, the share-dialog snippet pasted into
the block carries a per-share token that the plugin saves as part of the block’s
attributes and appends to the iframe URL on the front end (?token=…). The
token is sent to Strava on every request for that embed and is what authorizes
the iframe to render the non-public activity.

When a Strava short share link (https://strava.app.link/…) is embedded, the
site server makes a HEAD request to strava.app.link and follows redirects
only to strava.app.link or strava.com to resolve the public activity, route,
or segment URL. Resolved URLs are cached temporarily in WordPress transients.

External service: Strava public embeds, operated by Strava, Inc. This plugin is
independently developed and is not affiliated with or endorsed by Strava Inc.
Terms of Service: Strava Terms of Service
Privacy Policy: Strava Privacy Policy

Development

The human-readable source files and build tooling are maintained in the
Block for Strava GitHub repository.

The WordPress.org package includes the compiled build/ assets
(build/index.js, build/block.json, build/index.asset.php) that the block
registers from. To rebuild the assets from source, clone the repository and run:

  1. npm ci
  2. npm run build

The editor source files are in src/. PHP source is included in the plugin
package.

Screenshots

No screenshots provided


Reviews & Comments