WP Manifestindependent plugin directory
manifest / integrations / wp-thecrag-oembed

WP theCrag oEmbed

Easily embed climbing data from theCrag.com into your wordpress site

by Simon Dale · github.com/thecrag/wp-thecrag-oembed · website

2stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/thecrag/wp-thecrag-oembed/archive/refs/heads/master.zip

From the readme

WP theCrag oEmbed # A simple WordPress plugin for enabling theCrag.com as an oEmbed provider. https://www.thecrag.com/article/oembed Install Plugin on WordPress ### To install the plugin via zip: 1) Download from here: https://github.com/theCrag/wp-thecrag-oembed/archive/master.zip 2) Unzip and move it into /wordpress/wp-content/plugins/wp-thecrag-oembed/ To install via git: Then in the admin GUI to go /wordpress/wp-admin/plugins.php and activate the plugin Once activated urls such as these will be converted to embedded content using WordPress's oEmbed implementation. https://www.thecrag.com/climbing/australia/ebor-gorge/area/12094801/routes This only works on WordPress version 4.0 and above. Internals ### It is required that thecrag embedded iframes be dynamically resized to the embeded content. This is quite a tedious task for cross domain iframes, but luckily we can use David Bradshaw's iframe-resizer project (https://github.com/davidjbradshaw/iframe-resizer) to achieve this. The iframeResizer.min.js javascript file is included in this plugin. TO DO ### Document some good example sites. Get feedback on the additional

Read the full README on GitHub →