Blocksolid Snippets

Descripción

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

Capturas de pantalla

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

Bloques

Este plugin proporciona 1 bloque.

  • Snippets

Instalación

  • 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.

Opiniones

14 de Noviembre de 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!
Leer 1 comentario

Colaboradores & Desarrolladores

“Blocksolid Snippets” es software de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

Traduce & #8220;Blocksolid Snippets” a tu idioma.

¿interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN , o suscríbete al log de desarrollo por RSS .

Historial de cambios

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