Skip to content

Commit

Permalink
Merge pull request #39 from 10up/add/wp-php-badges
Browse files Browse the repository at this point in the history
add WP and PHP minimum badges
  • Loading branch information
dkotter authored Sep 26, 2024
2 parents 7a1b7ef + d1b4067 commit c1b22a0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@

![Figma Block](https://github.com/10up/embed-block-figma/blob/develop/.wordpress-org/banner-1544x500.png)

[![Support Level](https://img.shields.io/badge/support-beta-blueviolet.svg)](#support-level) ![WordPress tested up to version](https://img.shields.io/badge/WordPress-v6.5%20tested-success.svg) [![GPLv2 License](https://img.shields.io/github/license/10up/embed-block-figma.svg)](https://github.com/10up/embed-block-figma/blob/develop/LICENSE.md) [![WordPress Playground Demo](https://img.shields.io/github/v/release/10up/embed-block-figma?logo=wordpress&logoColor=FFFFFF&label=Playground%20Demo&labelColor=3858E9&color=3858E9)](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/10up/embed-block-figma/trunk/.wordpress-org/blueprints/blueprint.json)
[![Dependency Review](https://github.com/10up/embed-block-figma/actions/workflows/dependency-review.yml/badge.svg)](https://github.com/10up/embed-block-figma/actions/workflows/dependency-review.yml) [![PHP Compatibility](https://github.com/10up/embed-block-figma/actions/workflows/php-compat.yml/badge.svg)](https://github.com/10up/embed-block-figma/actions/workflows/php-compat.yml) [![PHP Linting](https://github.com/10up/embed-block-figma/actions/workflows/phpcs.yml/badge.svg)](https://github.com/10up/embed-block-figma/actions/workflows/phpcs.yml) [![JS Linting](https://github.com/10up/embed-block-figma/actions/workflows/eslint.yml/badge.svg)](https://github.com/10up/embed-block-figma/actions/workflows/eslint.yml)
[![Support Level](https://img.shields.io/badge/support-beta-blueviolet.svg)](#support-level) ![Required PHP Version](https://img.shields.io/wordpress/plugin/required-php/retro-winamp-block?label=Requires%20PHP) ![Required WP Version](https://img.shields.io/wordpress/plugin/wp-version/retro-winamp-block?label=Requires%20WordPress) ![WordPress tested up to version](https://img.shields.io/badge/WordPress-v6.5%20tested-success.svg) [![GPLv2 License](https://img.shields.io/github/license/10up/embed-block-figma.svg)](https://github.com/10up/embed-block-figma/blob/develop/LICENSE.md) [![Dependency Review](https://github.com/10up/embed-block-figma/actions/workflows/dependency-review.yml/badge.svg)](https://github.com/10up/embed-block-figma/actions/workflows/dependency-review.yml) [![PHP Compatibility](https://github.com/10up/embed-block-figma/actions/workflows/php-compat.yml/badge.svg)](https://github.com/10up/embed-block-figma/actions/workflows/php-compat.yml) [![PHP Linting](https://github.com/10up/embed-block-figma/actions/workflows/phpcs.yml/badge.svg)](https://github.com/10up/embed-block-figma/actions/workflows/phpcs.yml) [![JS Linting](https://github.com/10up/embed-block-figma/actions/workflows/eslint.yml/badge.svg)](https://github.com/10up/embed-block-figma/actions/workflows/eslint.yml) [![WordPress Playground Demo](https://img.shields.io/github/v/release/10up/embed-block-figma?logo=wordpress&logoColor=FFFFFF&label=Playground%20Demo&labelColor=3858E9&color=3858E9)](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/10up/embed-block-figma/trunk/.wordpress-org/blueprints/blueprint.json)

> A Figma Block for the WordPress block editor (Gutenberg).
![Screenshot of the rendered Figma Embed block in the editor / admin](.wordpress-org/screenshot-2.png)

## Features

* Embed a Figma file using a block in the WordPress editor.
* Paste a Figma URL on a new line in the Block Editor to automatically convert it to a Figma Embed block.
* Block settings allow for altering margins of rendered Figma file embed

![Screenshot of the Figma Embed block settings prior to rendering in the editor / admin](.wordpress-org/screenshot-3.png)
![Screenshot of the rendered Figma Embed block in the editor / admin](.wordpress-org/screenshot-2.png)

## Requirements

Expand All @@ -27,6 +24,8 @@
* You can install the plugin manually by [downloading a zip file](https://github.com/10up/embed-block-figma/releases/latest) from GitHub.
* You then need to upload the zip file to your WordPress site by going to *WP-Admin > Plugins > Add New > Upload Plugin* and selecting the zip file from your computer.

![Screenshot of the Figma Embed block settings prior to rendering in the editor / admin](.wordpress-org/screenshot-3.png)

## Getting Started

Once the plugin is installed and activated, you should see a new Figma Embed block. Insert this block into your content and enter the URL of the Figma file you want to embed.
Expand Down

0 comments on commit c1b22a0

Please sign in to comment.