Blocksolid Snippets

Beskriuwing

If your website shows the same content on multiple pages it’s best to just keep one copy of this content and to edit that if you need to make site-wide changes.

The Blocksolid Snippets plugin lets you manage these “snippets” of content using a dedicated custom post type.

In the Classic Editor Snippets can be conjured using a simple shortcode such as:

[blocksolid_snippet post_title=”My Snippet”]

If you use Gutenberg our included Snippets block allows you to choose your snippet from a list and live-preview it within your page.

Your snippet can contain formatted text, images, videos, [shortcodes], HTML, gutenberg blocks, any valid WordPress content.

If you are using our separate Blocksolid plugin as a page builder and Gutenberg overlay the Blocksolid Snippets plugin also integrates well with this.

Blocksolid Snippets Features

  • Snippets of code are contained in a custom post type that can then be called via a Gutenberg block or a simple shortcode

Skermôfbyldings

  • /assets/screenshots/screenshot-1.png
  • /assets/screenshots/screenshot-2.png
  • /assets/screenshots/screenshot-3.png
  • /assets/screenshots/screenshot-4.png

Blokken

Dizze plugin jout 1 blok.

  • Snippets

Ynstallaasje

  • Install the plugin using the WordPress ‘Add New plugin’ functionality and activate.

  • Once activated a new Snippets menu item will appear in your WordPress menu to allow you to create new snippets of content.

  • Give each of your snippets a unique title e.g. “My Snippet”.

  • You can then call your snippet via a short code like [blocksolid_snippet post_title=”My Snippet”]

  • if you use the built-in Gutenberg block editor for your website you can use the plugin’s bespoke ‘Snippets’ block to place the snippet within your content.

  • The Snippets block give you a live preview of your snippet within the Gutenberg editor.

Resinsjes

14 novimber, 2023
This plugin is the best solution i have found to be able to use gutenberg content on the description of category pages (wordpress templates). step 1: edit archive template to add add description details on archive pages. step 2: create a block snippet and feel the magic. thanks for writting this plugin!
Lês alle 1 resinsje

Meiwurkers & amp; Untwikkelders

“Blocksolid Snippets” is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.

Meiwurkers

Oersette “Blocksolid Snippets” yn jo taal.

Ynteressearre yn ûntwikkeling?

Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .

Feroaringslog

1.1.3

*Set the __nextHasNoMarginBottom prop to true for back-end controls – 14 October 2024*

1.1.2

WP 6.7 throws warning: Warning: A props object containing a “key” prop is being spread into JSX – removed keys – 26 September 2024

1.1.1

WP 6.5 puts the editor in iframes in certain circumstances – now using ‘enqueue_block_assets’ instead of ‘admin_enqueue_scripts’. Added ‘custom-fields’ to snippets post type support to allow use of Options > Preferences > Panels > Custom fields switch. This is required to stop in-iframe editing which in turn allows a non modal popup classic editor panel – 01 September 2024

1.1.0

React code updated, bumped up to WordPress 6.5 – 18 March 2024

1.0.9

Removed deprecated third parameter from shortcode – 24 October 2023

1.0.8

Replaced deprecated function get_page_by_title() – 10 March 2023

1.0.7

Small change to allow Snippets to respect switching off of Blocksolid overlay – 21 January 2022

1.0.6

Small change to give Snippets its own custom icon – 10 January 2022

1.0.5

Streamlined JS code and added Snippets icon to block – 7 January 2022

1.0.4

Fixed block rendering in admin and improved in front-end – 27 September 2021

1.0.3

Better compatibility with MemberPress – 22 September 2021

1.0.2

Tested with WordPress 5.8 – 20 July 2021

1.0.1

Snippets blocks lists snippets alphabetically – 03 June 2021

1.0

Release Date – 02 June 2021

First release