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 Shortc
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 6.2 and PHP 8.0.
SourceWordPress plugins · Nov 6, 2026
01 / Source details
Aboutthistool.
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
01Create Block Templates : Navigate to “Block Templates” in your WordPress admin and create new templates using the Gutenberg editor
02Get Your Shortcode : Copy the generated shortcode from the admin list or the editor sidebar panel
03Use 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
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
04Go to Block Templates in your WordPress admin menu
05Click Add New to create a new block template
06Use the Gutenberg editor to design your content with any blocks
07Publish the template
08Copy 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
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: * Plugin URI: https://wordpress.org/plugins/anywhere-blocks-shortcode/ * Author Profile: https://profiles.wordpress.org/codersaiful/
Credits
Developed by Saiful Islam (codersaiful) * Profile: https://profiles.wordpress.org/codersaiful/ * Email: codersaiful@gmail.com
Special thanks to the WordPress community and Gutenberg development team.
See it in action
Screenshots & previews.
Block Templates Admin : Manage your block templates with easy-to-copy shortcodesGutenberg Editor : Create rich content using any Gutenberg blocksShortcode Panel : Built-in shortcode panel in the editor sidebarFrontend Display : Clean rendering of block content via shortcodes
02 / Source details
Gettingstarted.
Automatic Installation
01Login to your WordPress admin panel
02Navigate to Plugins → Add New
03Search for “Anywhere Blocks by Shortcode”
04Click “Install Now” and then “Activate”
Manual Installation
05Download the plugin zip file
06Login to your WordPress admin panel
07Navigate to Plugins → Add New → Upload Plugin
08Choose the downloaded zip file and click “Install Now”
09Activate the plugin
From Source
10Upload the anywhere-blocks-shortcode folder to the /wp-content/plugins/ directory
11Activate the plugin through the ‘Plugins’ menu in WordPress
03 / Source details
Frequently asked questions.
Can I use any Gutenberg blocks in my templates?
Yes! The plugin supports all Gutenberg blocks, including core blocks, third-party blocks, and custom blocks.
Will shortcodes work in widgets?
Yes, shortcodes work in text widgets, custom HTML widgets, and most widget areas that support HTML content.
Can I use the same template multiple times on one page?
Absolutely! You can use the same shortcode multiple times on the same page without any issues.
Does this work with page builders?
Yes, most page builders (Elementor, Beaver Builder, Divi, etc.) support shortcodes in their text/HTML elements.
Can I pass custom parameters to shortcodes?
Currently, the plugin supports id , template_id , and post_id parameters. Additional parameters may be added in future versions.
Is this plugin compatible with multisite?
Yes, the plugin works on both single-site and multisite WordPress installations.
Will this slow down my site?
No, the plugin is optimized for performance and only loads necessary resources when needed.
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati