SVG Block icon
Media, Galleries & Sliders

SVG Block

Display an SVG image as a block, which can be used for displaying images, icons, dividers, buttons

  • By Phi Phan
  • v1.2.4
  • Updated
Developer Phi Phan
95 Excellentmaintenance
  • 5 yearson WordPress.org
  • 8plugins
  • 26,900+installs in total
  • 5.0★avg. rating (136)
  • 100%of plugins updated this year
11/14 badges Profile →

Is SVG Block safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 3 months ago (version 1.2.4).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.1; the current release is 7.1. Needs PHP 7.1+.
  • Pass: Well rated Rated 5.0/5 by 14 users on WordPress.org.
  • Pass: Widely used Active on 4,000+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 19, 2026. Always keep plugins updated and test changes on a staging site.

Overview

SVG Block describes itself as: “Display an SVG image as a block, which can be used for displaying images, icons, dividers, buttons”

It is active on 4,000+ WordPress sites and rated 5.0 out of 5 by 14 users on WordPress.org. Developers can extend it through 0 actions and 7 filters, listed below.

We haven't published a hands-on review of SVG Block yet. Want one, or need help with it? Send us a request.

How to install SVG Block

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “SVG Block” and pick the one by Phi Phan.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install svg-block --activate

Requirements: WordPress 6.5+ · PHP 7.1+ · tested up to WordPress 7.1.5

Hooks & customisation

SVG Block 1.2.4 fires 0 actions and 7 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

svg-block — top hooks
// Attributes that are allowed.
apply_filters( 'svg_allowed_attributes', parent::getAttributes() );

// Tags that are allowed.
apply_filters( 'svg_allowed_tags', parent::getTags() );

// Filter in includes/icon-library.php
apply_filters( 'boldblocks_svg_block_allow_upload_svg_image', true );

// Filter in includes/style.php
apply_filters( 'boldblocks_svg_block_get_breakpoints', $breakpoints );

// Filter in includes/icon-library.php
apply_filters( 'boldblocks_svg_block_limit_svgs', 500 );

// Filter in includes/icon-library.php
apply_filters( 'boldblocks_svg_block_load_icons_from_library', true );

Browse all 7 hooks with examples →

SVG Block: frequently asked questions

Is SVG Block free?

Yes. SVG Block is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is SVG Block safe to use?

SVG Block is actively maintained: the latest version was released 3 months ago. Users rate it 5.0 out of 5 from 14 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does SVG Block work with WordPress 7.1?

Yes. SVG Block is tested up to WordPress 7.1, the current release. It requires WordPress 6.5 or later and PHP 7.1 or later.

How many websites use SVG Block?

SVG Block is active on 4,000+ WordPress sites, according to WordPress.org. It is currently at version 1.2.4, last updated on August 16, 2026.

What are the best alternatives to SVG Block?

Plugins that do a similar job and are actively maintained include The Icon Block (40,000+ installs), JVM Rich Text Icons (3,000+ installs), Enable SVG, WebP, and ICO Upload (10,000+ installs).

Can I customise SVG Block without editing its code?

Yes. SVG Block 1.2.4 fires 0 actions and 7 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 7 hooks with examples.

Done for you

Need SVG Block to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need SVG Block customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Phi Phan. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.

More plugins by Phi Phan

All 8 →

A single block to display custom fields in the Block Editor. It supports ACF, MetaBox, WooCommerce, meta, rest field, shortcode…

10,000+ installs Updated 1 month ago 47 hooks

Embed YouTube videos without slowing down your site. Easily embed one or multiple videos, shorts, and playlists.

6,000+ installs Updated 2 months ago 2 hooks

A simple breadcrumb trail block that supports JSON-LD structured data and is compatible with Woocommerce

2,000+ installs Updated 3 months ago 15 hooks

This block provides an animated counter effect for numbers. It’s fast, lightweight, SEO-friendly, accessibility-ready, and fits any design.

2,000+ installs Updated 3 months ago

Alternatives in Media, Galleries & Sliders

See all →
Reviewed

Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.

1+ million installs Updated 4 weeks ago 17 hooks
Reviewed

Securely upload SVG files to your media library, with built-in sanitization and advanced features for styling and animation.

1+ million installs Updated 6 days ago 4 hooks
Reviewed

Responsive slider plugin to create sliders in visual editor easily. Build beautiful image slider, layer slider, video slider, post slider,…

800,000+ installs Updated 3 weeks ago 12 hooks
Reviewed

Easily replace any attached image/file by simply uploading a new file in the Media Library edit view - a real…

600,000+ installs Updated 4 weeks ago 46 hooks