WordPress plugin intelligence profile

Anywhere Blocks by Shortcode

Display Gutenberg blocks using shortcode anywhere on your site. Create reusable block templates and embed them with simple shortcodes.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.8
Current version1.0.1
WordPress coverageTested up to WordPress 6.8
Minimum stackWP 6.2 · PHP 8.0
Directory statusactive
Last directory update31 Aug 20251y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Anywhere Blocks by Shortcode version 1.0.1 as active, updated 1y ago and tested up to WordPress 6.8.

Overview

About this plugin

Anywhere Blocks by Shortcode is a powerful WordPress plugin that allows you to create reusable Gutenberg block templates and display them anywhere on your website using simple shortcodes.

Key Features

  • Block Template System: Create custom block templates using the full Gutenberg editor
  • Simple Shortcode Integration: Display your block templates anywhere with [anbsg_block id='123']
  • Gutenberg Editor Integration: Built-in shortcode panel in the block editor for easy copying
  • Custom Post Type: Dedicated “Block Templates” post type for organized management
  • Admin Interface: Clean admin interface with shortcode column for quick access
  • Developer Friendly: Clean, well-documented code with proper namespacing and autoloading

How It Works

  • Create Block Templates: Navigate to “Block Templates” in your WordPress admin and create new templates using the Gutenberg editor
  • Get Your Shortcode: Copy the generated shortcode from the admin list or the editor sidebar panel
  • Use Anywhere: Paste the shortcode in any post, page, widget, or template file

Shortcode Usage

Basic usage:

[anbsg_block id=’123′]

Alternative parameters:

[anbsg_block template_id=’123′]

[anbsg_block post_id=’123′]

Perfect For

  • Reusable Content Blocks: Create once, use everywhere
  • Marketing Sections: Call-to-action blocks, promotional banners
  • Product Showcases: Product grids, testimonials, feature lists
  • Footer Content: Complex footer layouts with blocks
  • Widget Areas: Advanced widget content using blocks
  • Template Parts: Reusable sections for themes and page builders

Developer Features

  • Clean Architecture: Namespaced classes with PSR-4 autoloading
  • Extensible: Action and filter hooks for customization
  • Performance Optimized: Efficient loading and minimal resource usage
  • WordPress Standards: Follows WordPress coding standards and best practices

Usage

Creating Block Templates

  • Go to Block Templates in your WordPress admin menu
  • Click Add New to create a new block template
  • Use the Gutenberg editor to design your content with any blocks
  • Publish the template
  • Copy the shortcode from the list view or editor sidebar

Using Shortcodes

In Posts/Pages:

Simply paste the shortcode in the content editor:

[anbsg_block id=’123′]

In Widgets:

Add a “Custom HTML” widget and insert the shortcode.

In Template Files:

Use the do_shortcode() function:

In Page Builders:

Most page builders support shortcodes in their text/HTML elements.

Editor Integration

When editing a block template, you’ll see a “Shortcode” panel in the document settings sidebar. This panel:

* Displays the current shortcode for the template

* Includes a “Copy Shortcode” button for quick copying

* Updates automatically with the post title

Technical Details

System Requirements

  • WordPress 6.2 or higher
  • PHP 8.0 or higher
  • Gutenberg editor (Block Editor)

File Structure

`

anywhere-blocks-shortcode/

php (Main plugin file)

php (PSR-4 autoloader)

├── app/

php (Base class)

php (Utility functions)

├── view/

php (View loader)

php (Custom post type)

php (Shortcode handler)

├── src/

js (Main JavaScript)

│ └── sidebar/ (Editor sidebar components)

└── build/ (Compiled assets)

`

Hooks and Filters

Actions:

* init – Registers custom post type

* plugins_loaded – Initializes plugin

* enqueue_block_editor_assets – Loads editor scripts

Filters:

* the_content – Processes block content

* manage_{post_type}_posts_columns – Adds shortcode column

* Template filters for custom rendering

Developer Notes

The plugin follows WordPress coding standards and uses:

* Namespaced classes ( ANBS_Block_Shortcode )

* PSR-4 autoloading

* Clean separation of concerns

* Proper sanitization and validation

* WordPress REST API compatibility

Support

For support, feature requests, or bug reports, please visit:

org/plugins/anywhere-blocks-shortcode/

org/codersaiful/

Credits

Developed by Saiful Islam (codersaiful)

org/codersaiful/

com

Special thanks to the WordPress community and Gutenberg development team.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • block template
  • block editor
  • gutenberg blocks anywhere
  • gutenberg blocks shortcode
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.8
Minimum requirementsWordPress 6.2 · PHP 8.0
Update activity31 Aug 20251y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.