ShapeBlock

Description

ShapeBlock adds 30+ blocks to the WordPress block editor, plus a Header & Footer Builder.

Every block has the same three tabs: Settings for the content, Layout for columns, alignment and spacing, and Style for colours, typography, borders, shadows and hover effects. Sizes, spacing and columns can be set separately for desktop, tablet and mobile.

See every block in action on the ShapeBlock demo.

Key Features

  • 30+ blocks for layouts, content, media, navigation and marketing.
  • Header & Footer Builder with Include and Exclude display conditions, for classic and block themes.
  • Fully responsive – separate desktop, tablet and mobile values, and hide any block per device.
  • Full design control – typography, gradients, borders, shadows, spacing and a built-in icon picker.
  • Custom Templates – build a layout once and reuse it anywhere with a shortcode.
  • Lightweight – each block loads its files only on pages that use it, and unused blocks can be switched off.
  • Export & Import – move your settings and templates between sites in one file.
  • Privacy friendly – no tracking, no CDN, and Google Fonts stays off until you turn it on.

Blocks

  1. Accordion – Collapsible question and answer sections.
  2. Breadcrumb – Shows visitors where they are on the site.
  3. Button – Buttons with icons, sizes and hover styles.
  4. Client Logo – A grid of client or partner logos with links, grayscale and hover-swap.
  5. Column – A column inside a Row, with its own width per device.
  6. Countdown – Counts down to a date and time.
  7. Counter – Animated number counters.
  8. Features List – Feature lists with icons.
  9. Heading – Headings with typography, gradient and highlight options.
  10. Hover Box – An image or icon in a circle or square that shows a title and description on hover.
  11. Icon – A single icon with colour, size and link.
  12. Icon Box – Icon, heading and text together, in several layouts.
  13. Icon List – A list where each item gets its own icon.
  14. Image Carousel – Several images at once, with centred slides and continuous scrolling.
  15. Image Comparison – Before / after images with a draggable handle.
  16. Isotope Filter – A filterable grid with category buttons, and an icon, title and description for each item.
  17. Menu – Shows a WordPress navigation menu with layout, alignment and colour options.
  18. Offcanvas – Slide-in panels for menus, sidebars or extra content.
  19. Post Grid – Posts in grid layouts, with pagination and optional video.
  20. Pricing Table – Pricing plans with features, badges and a button.
  21. Progress Bar – Animated progress and skill bars.
  22. Row – A responsive row that holds Column blocks.
  23. Scroll Top – A back-to-top button.
  24. Search – A search field you can put anywhere.
  25. Simple Gallery – An image gallery with spacing and column controls.
  26. Slider – A full-width image slider with arrows, dots and autoplay.
  27. Social Icon – Linked social icons, coloured all together or one by one.
  28. Social Share – Share buttons for the current page.
  29. Table – Tables with styled headers, rows and cells.
  30. Tabs – Tabbed content with icons and a few tab styles to pick from.
  31. Team Member – Team members with photo, role and social links.
  32. Testimonial – Testimonials in three styles, with ratings, quote icons and logos.

Header & Footer Builder

Build your header and footer in the block editor – no child theme and no PHP. Then pick where each one shows up with display conditions: Entire Site, Front Page, All Pages, All Posts, All Archives, Search Results, 404 Page, or specific pages and posts. Any condition can be set to Include or Exclude.

It works with classic and block themes. Pages that match none of your conditions keep the theme’s own header and footer. There’s also a Custom Block type you can place anywhere with the [shapeblock_builder] shortcode.

Features

Design controls on every block

  • Settings, Layout and Style tabs, plus an Advanced tab with padding, margin and a solid or gradient background.
  • Typography: font family, size, weight, style, line height, letter spacing, transform and decoration.
  • Borders, radius and box shadows.
  • A built-in icon picker with search, served from your own site.

Fully responsive

  • A desktop, tablet and mobile switcher on sizes, spacing, columns and typography, so each device gets its own value.
  • Tablet styles apply up to 1024px and mobile styles up to 767px.
  • Padding and margin per device on every block.
  • Hide any block on desktop, tablet or mobile from its Responsive panel.
  • Tablet and mobile padding and margin for core WordPress blocks too.

Header & Footer Builder

  • Header, Footer and Custom Block templates, built in the block editor.
  • Include and Exclude display conditions, where Exclude always wins.
  • Works with classic and block themes.
  • Copy a template’s shortcode with one click.

Custom Templates

  • Save a layout once and reuse it anywhere with the [shapeblock_template] shortcode.
  • Use a template as the content of the Offcanvas block.
  • Search, sort, trash, restore and bulk actions in the template list.

Dashboard

  • Turn any block on or off, or all at once. A block that’s off doesn’t load.
  • A global container width for the Row block.
  • Export and import your settings, Custom Templates and Theme Builder templates as one JSON file. Pick what to import and skip duplicates.

Speed

  • Block styles and scripts load only on pages that use the block.
  • Styles are generated per block, so two copies of a block can look different.
  • All libraries are bundled with the plugin, with no CDN.
  • Google Fonts are optional, off by default, and load only the fonts you use.

Other

  • Duplicated or pasted blocks get a new ID, so their styles never clash.
  • Translation ready, with a .pot file.
  • No tracking and no licence check.
  • Deleting the plugin removes its settings and cached data, and keeps your content.

External services

Out of the box, ShapeBlock doesn’t connect to any outside service. It only does in the two cases below, and both are your choice.

Google Fonts (optional, off by default)

When it’s turned on, Google Fonts feeds the Font Family picker in the block settings and loads the fonts you pick. While it’s off, the plugin doesn’t talk to Google at all. To turn it on, go to ShapeBlock > Settings > Google Fonts. If you turn it off later, the requests stop and the cached font list is deleted.

With it switched on:

  • In the WordPress admin, your server fetches the font list from https://fonts.google.com/metadata/fonts and caches it for a week. That request carries no site, post or user data.
  • In the block editor and on the front end, the browser loads the font stylesheet from https://fonts.googleapis.com and the font files from https://fonts.gstatic.com. Like any browser request, this sends the visitor’s IP address, user agent and the referring page to Google.

Google Fonts is provided by Google LLC. Terms of service: https://policies.google.com/terms – Privacy policy: https://policies.google.com/privacy

Video embeds (only when you add a video URL)

The Post Grid block can show a video for a post. With no video URL, nothing is contacted, and a video file (.mp4, .webm, .ogg, .mov) plays in a regular <video> tag. For a YouTube or Vimeo URL, WordPress’ own oEmbed (wp_oembed_get()) asks the provider for the embed code (cached for a day), and the visitor’s browser loads the player from the provider, which receives their IP address, user agent and the referring page.

  • YouTube (Google LLC) – Terms: https://www.youtube.com/t/terms – Privacy: https://policies.google.com/privacy
  • Vimeo, Inc. – Terms: https://vimeo.com/terms – Privacy: https://vimeo.com/privacy

Social Share and Social Icon links

These blocks only output normal links. Nothing is sent until a visitor clicks one; the Social Share links then pass the page URL and title (and for Pinterest the featured image) to that network: Facebook, X, LinkedIn, Pinterest, WhatsApp, Telegram and Reddit. Email opens the visitor’s own mail app, and Copy Link copies the URL in the browser.

Source code and build process

Every compiled file in the plugin ships with its readable source right beside it:

  • Blocks: includes/public/blocks/<block>/src/, built into the build/ folder next to it. The Menu block is hand-written in includes/public/blocks/menu/build/ and has no build step.
  • Admin dashboard: src/ in the plugin root, built into build/.
  • Stylesheets: assets/css/style.scss, includes/public/assets/css/public.scss and assets/lib/bootstrap/bootstrap-grid.scss, each built beside its source.

Built with @wordpress/scripts and Dart Sass. To rebuild: npm install, then npm run build and npm run build:<block> (all script names are in package.json).

Credits

ShapeBlock is licensed GPLv2 or later and includes these MIT-licensed libraries, each with its licence file:

  • Swiper 12.0.3 (https://swiperjs.com) – assets/lib/swiper/LICENSE, unmodified release files.
  • Bootstrap 5.3 grid (https://getbootstrap.com) – assets/lib/bootstrap/LICENSE, only the grid, recompiled with a shapeblock- prefix.
  • Ant Design 6 and Ant Design Icons (https://ant.design) – assets/lib/antd/LICENSE, used only in the admin dashboard.

The icon fonts were made with Fontello (https://fontello.com). Our own icons are GPLv2 or later; three come from Font Awesome 4.7 and Elusive Icons under the SIL Open Font License 1.1 (https://openfontlicense.org), listed in includes/public/assets/icon/config.json.

Blocks

This plugin provides 32 blocks.

  • Icon Box Icon boxes with the icon on top, then title and description — icon, number or image supported.
  • Social Icon A row of linked social icons with per-icon or global colors, hover states and full button styling.
  • Accordion An FAQ accordion with collapsible questions and custom icons.
  • Icon A single icon with color, size, background, border, rotation and link.
  • Breadcrumb A dynamic breadcrumb trail for the current page, with home icon, separator and full styling.
  • Menu Build a navigation menu inside the block — add links and dropdowns, pick pages, descriptions, new-tab links, plus a responsive mobile menu.
  • Offcanvas A toggle button that opens an off-canvas panel rendering a selected Template — classic side or modern fullscreen.
  • Hover Box An image or icon in a circle or square that reveals a title and description on hover.
  • Simple Gallery A responsive image gallery with captions, hover effects and a lightbox.
  • Pricing Table A configurable pricing table with features list, featured ribbon and call-to-action button.
  • Heading A heading with sub-heading, highlight, separator, gradient text and watermark.
  • Image Carousel A multi-image carousel with centred slides and continuous scrolling.
  • Progress Bar A progress / skill bar with title and percent — two layout styles and full styling.
  • Button A flexible button with icon, gradient and full style controls.
  • Testimonial A grid of testimonials with three styles, ratings, quote icons and logos.
  • Icon List A vertical list of items with icon, number or image, title, description and optional connector.
  • Scroll Top A floating scroll-to-top button that appears after scrolling and smoothly returns to the top.
  • Client Logo A responsive grid of client / partner logos with links, grayscale and hover-swap effects.
  • Counter An animated number counter with prefix/suffix, icon, title, and counter or odometer animation.
  • Search A site search — popup lightbox skin or inline search field skin, with full styling.
  • Countdown A countdown timer to a target date with days/hours/minutes/seconds, custom labels, separators and full styling.
  • Table A data table with header, body and footer cells — icons, images, tooltips, colspan/rowspan and full styling.
  • Image Comparison A before / after image comparison slider with a draggable handle — horizontal or vertical.
  • Row A flexible row container that holds columns. Build any layout with responsive presets, flexbox controls and per-device styling.
  • Social Share Social share buttons for the current page — Facebook, X, LinkedIn, WhatsApp, copy link and more.
  • Isotope Filter A filterable grid: category buttons on top, and under each category a list of items with icon, title and description.
  • Team Member A team member card with 5 skins, social icons, contact info and an optional popup.
  • Slider An image slider.
  • Post Grid Post Grid Block
  • Column A column inside a shapeblock Row. Holds any block — including nested Rows.
  • Features List A vertical list of items with icon, number or image, title, description and optional connector.
  • Tabs Tabbed content with icon/image titles, content title, description and a button — horizontal or vertical layouts.

Installation

  1. Go to Plugins > Add New Plugin, search for “ShapeBlock” and click Install Now.
  2. Activate ShapeBlock from the Plugins screen.
  3. Open any post or page and add a ShapeBlock block from the block inserter.
  4. Optional: visit ShapeBlock > Blocks Settings to turn off blocks you won’t use.

FAQ

Will it work with my theme?

Yes, with any well-coded theme, including block themes. The blocks pick up your theme’s typography, and you can restyle them from the block settings.

Do I have to use all 32 blocks?

No. Turn off any you don’t need in ShapeBlock > Blocks Settings. A block that’s off isn’t registered and its files aren’t loaded.

Can I replace my theme’s header and footer?

Yes. Build one in ShapeBlock > Theme Builder and set where it should appear. Pages that don’t match your conditions keep the theme’s own header and footer.

Does ShapeBlock send any data to outside servers?

Not by default. See External services above.

What happens when I delete the plugin?

Deleting the plugin removes the options and cached data it created. Your Custom Templates, Theme Builder items and the blocks in your posts are your content, so they stay.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“ShapeBlock” is open source software. The following people have contributed to this plugin.

Contributors

Translate “ShapeBlock” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release.