{"id":245432,"date":"2025-08-31T04:43:22","date_gmt":"2025-08-31T04:43:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/anywhere-blocks-by-shortcode\/"},"modified":"2025-08-31T04:43:13","modified_gmt":"2025-08-31T04:43:13","slug":"anywhere-blocks-shortcode","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/anywhere-blocks-shortcode\/","author":13614411,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"6.8.5","requires":"6.2","requires_php":"8.0","requires_plugins":null,"header_name":"Anywhere Blocks by Shortcode","header_author":"Saiful Islam","header_description":"Display Gutenberg blocks using shortcode in anywhere of your site. Example: [anbsg_block id='POST_ID' title='BLOCK_TITLE']","assets_banners_color":"edf7f7","last_updated":"2025-08-31 04:43:13","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/profiles.wordpress.org\/codersaiful\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/anywhere-blocks-shortcode\/","header_author_uri":"https:\/\/profiles.wordpress.org\/codersaiful\/#content-plugins","rating":0,"author_block_rating":0,"active_installs":0,"downloads":277,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"codersaiful","date":"2025-08-31 04:43:13"}},"upgrade_notice":{"1.0.0":"<p>Initial release of Anywhere Blocks by Shortcode.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3353243,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3353243,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3353226,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3353226,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":{"Screenshot-1.png":{"filename":"Screenshot-1.png","revision":3353238,"resolution":"1","location":"assets","locale":""},"Screenshot-2.png":{"filename":"Screenshot-2.png","revision":3353238,"resolution":"2","location":"assets","locale":""},"Screenshot-3.png":{"filename":"Screenshot-3.png","revision":3353238,"resolution":"3","location":"assets","locale":""},"Screenshot-4.png":{"filename":"Screenshot-4.png","revision":3353238,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"<strong>Block Templates Admin<\/strong>: Manage your block templates with easy-to-copy shortcodes","2":"<strong>Gutenberg Editor<\/strong>: Create rich content using any Gutenberg blocks","3":"<strong>Shortcode Panel<\/strong>: Built-in shortcode panel in the editor sidebar","4":"<strong>Frontend Display<\/strong>: Clean rendering of block content via shortcodes"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[173360,148857,247115,247114,80],"plugin_category":[43],"plugin_contributors":[144129],"plugin_business_model":[],"class_list":["post-245432","plugin","type-plugin","status-publish","hentry","plugin_tags-block-template","plugin_tags-block-editor","plugin_tags-gutenberg-blocks-anywhere","plugin_tags-gutenberg-blocks-shortcode","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-codersaiful","plugin_committers-codersaiful"],"banners":{"banner":"https:\/\/ps.w.org\/anywhere-blocks-shortcode\/assets\/banner-772x250.jpg?rev=3353226","banner_2x":"https:\/\/ps.w.org\/anywhere-blocks-shortcode\/assets\/banner-1544x500.jpg?rev=3353226","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/anywhere-blocks-shortcode\/assets\/icon-128x128.png?rev=3353243","icon_2x":"https:\/\/ps.w.org\/anywhere-blocks-shortcode\/assets\/icon-256x256.png?rev=3353243","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/anywhere-blocks-shortcode\/assets\/Screenshot-1.png?rev=3353238","caption":"<strong>Block Templates Admin<\/strong>: Manage your block templates with easy-to-copy shortcodes"},{"src":"https:\/\/ps.w.org\/anywhere-blocks-shortcode\/assets\/Screenshot-2.png?rev=3353238","caption":"<strong>Gutenberg Editor<\/strong>: Create rich content using any Gutenberg blocks"},{"src":"https:\/\/ps.w.org\/anywhere-blocks-shortcode\/assets\/Screenshot-3.png?rev=3353238","caption":"<strong>Shortcode Panel<\/strong>: Built-in shortcode panel in the editor sidebar"},{"src":"https:\/\/ps.w.org\/anywhere-blocks-shortcode\/assets\/Screenshot-4.png?rev=3353238","caption":"<strong>Frontend Display<\/strong>: Clean rendering of block content via shortcodes"}],"raw_content":"<!--section=description-->\n<p><strong>Anywhere Blocks by Shortcode<\/strong> is a powerful WordPress plugin that allows you to create reusable Gutenberg block templates and display them anywhere on your website using simple shortcodes.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Block Template System<\/strong>: Create custom block templates using the full Gutenberg editor<\/li>\n<li><strong>Simple Shortcode Integration<\/strong>: Display your block templates anywhere with <code>[anbsg_block id='123']<\/code><\/li>\n<li><strong>Gutenberg Editor Integration<\/strong>: Built-in shortcode panel in the block editor for easy copying<\/li>\n<li><strong>Custom Post Type<\/strong>: Dedicated \"Block Templates\" post type for organized management<\/li>\n<li><strong>Admin Interface<\/strong>: Clean admin interface with shortcode column for quick access<\/li>\n<li><strong>Developer Friendly<\/strong>: Clean, well-documented code with proper namespacing and autoloading<\/li>\n<\/ul>\n\n<h4>How It Works<\/h4>\n\n<ol>\n<li><strong>Create Block Templates<\/strong>: Navigate to \"Block Templates\" in your WordPress admin and create new templates using the Gutenberg editor<\/li>\n<li><strong>Get Your Shortcode<\/strong>: Copy the generated shortcode from the admin list or the editor sidebar panel<\/li>\n<li><strong>Use Anywhere<\/strong>: Paste the shortcode in any post, page, widget, or template file<\/li>\n<\/ol>\n\n<h4>Shortcode Usage<\/h4>\n\n<p>Basic usage:\n    [anbsg_block id='123']<\/p>\n\n<p>Alternative parameters:\n    [anbsg_block template_id='123']\n    [anbsg_block post_id='123']<\/p>\n\n<h4>Perfect For<\/h4>\n\n<ul>\n<li><strong>Reusable Content Blocks<\/strong>: Create once, use everywhere<\/li>\n<li><strong>Marketing Sections<\/strong>: Call-to-action blocks, promotional banners<\/li>\n<li><strong>Product Showcases<\/strong>: Product grids, testimonials, feature lists<\/li>\n<li><strong>Footer Content<\/strong>: Complex footer layouts with blocks<\/li>\n<li><strong>Widget Areas<\/strong>: Advanced widget content using blocks<\/li>\n<li><strong>Template Parts<\/strong>: Reusable sections for themes and page builders<\/li>\n<\/ul>\n\n<h4>Developer Features<\/h4>\n\n<ul>\n<li><strong>Clean Architecture<\/strong>: Namespaced classes with PSR-4 autoloading<\/li>\n<li><strong>Extensible<\/strong>: Action and filter hooks for customization<\/li>\n<li><strong>Performance Optimized<\/strong>: Efficient loading and minimal resource usage<\/li>\n<li><strong>WordPress Standards<\/strong>: Follows WordPress coding standards and best practices<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<h4>Creating Block Templates<\/h4>\n\n<ol>\n<li>Go to <strong>Block Templates<\/strong> in your WordPress admin menu<\/li>\n<li>Click <strong>Add New<\/strong> to create a new block template<\/li>\n<li>Use the Gutenberg editor to design your content with any blocks<\/li>\n<li>Publish the template<\/li>\n<li>Copy the shortcode from the list view or editor sidebar<\/li>\n<\/ol>\n\n<h4>Using Shortcodes<\/h4>\n\n<p><strong>In Posts\/Pages:<\/strong>\nSimply paste the shortcode in the content editor:\n    [anbsg_block id='123']<\/p>\n\n<p><strong>In Widgets:<\/strong>\nAdd a \"Custom HTML\" widget and insert the shortcode.<\/p>\n\n<p><strong>In Template Files:<\/strong>\nUse the <code>do_shortcode()<\/code> function:\n    <\/p>\n\n<p><strong>In Page Builders:<\/strong>\nMost page builders support shortcodes in their text\/HTML elements.<\/p>\n\n<h4>Editor Integration<\/h4>\n\n<p>When editing a block template, you'll see a \"Shortcode\" panel in the document settings sidebar. This panel:\n* Displays the current shortcode for the template\n* Includes a \"Copy Shortcode\" button for quick copying\n* Updates automatically with the post title<\/p>\n\n<h3>Technical Details<\/h3>\n\n<h4>System Requirements<\/h4>\n\n<ul>\n<li>WordPress 6.2 or higher<\/li>\n<li>PHP 8.0 or higher<\/li>\n<li>Gutenberg editor (Block Editor)<\/li>\n<\/ul>\n\n<h4>File Structure<\/h4>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>anywhere-blocks-shortcode\/\n\u251c\u2500\u2500 anywhere-blocks-shortcode.php (Main plugin file)\n\u251c\u2500\u2500 autoloader.php (PSR-4 autoloader)\n\u251c\u2500\u2500 app\/\n\u2502   \u251c\u2500\u2500 base.php (Base class)\n\u2502   \u2514\u2500\u2500 functions.php (Utility functions)\n\u251c\u2500\u2500 view\/\n\u2502   \u251c\u2500\u2500 loader.php (View loader)\n\u2502   \u251c\u2500\u2500 cpt.php (Custom post type)\n\u2502   \u2514\u2500\u2500 shortcode.php (Shortcode handler)\n\u251c\u2500\u2500 src\/\n\u2502   \u251c\u2500\u2500 index.js (Main JavaScript)\n\u2502   \u2514\u2500\u2500 sidebar\/ (Editor sidebar components)\n\u2514\u2500\u2500 build\/ (Compiled assets)\n    `<\/p>\n\n<h4>Hooks and Filters<\/h4>\n\n<p><strong>Actions:<\/strong>\n* <code>init<\/code> - Registers custom post type\n* <code>plugins_loaded<\/code> - Initializes plugin\n* <code>enqueue_block_editor_assets<\/code> - Loads editor scripts<\/p>\n\n<p><strong>Filters:<\/strong>\n* <code>the_content<\/code> - Processes block content\n* <code>manage_{post_type}_posts_columns<\/code> - Adds shortcode column\n* Template filters for custom rendering<\/p>\n\n<h4>Developer Notes<\/h4>\n\n<p>The plugin follows WordPress coding standards and uses:\n* Namespaced classes (<code>ANBS_Block_Shortcode<\/code>)\n* PSR-4 autoloading\n* Clean separation of concerns\n* Proper sanitization and validation\n* WordPress REST API compatibility<\/p>\n\n<h3>Support<\/h3>\n\n<p>For support, feature requests, or bug reports, please visit:\n* Plugin URI: https:\/\/wordpress.org\/plugins\/anywhere-blocks-shortcode\/\n* Author Profile: https:\/\/profiles.wordpress.org\/codersaiful\/<\/p>\n\n<h3>Credits<\/h3>\n\n<p>Developed by <strong>Saiful Islam<\/strong> (codersaiful)\n* Profile: https:\/\/profiles.wordpress.org\/codersaiful\/\n* Email: codersaiful@gmail.com<\/p>\n\n<p>Special thanks to the WordPress community and Gutenberg development team.<\/p>\n\n<!--section=installation-->\n<h4>Automatic Installation<\/h4>\n\n<ol>\n<li>Login to your WordPress admin panel<\/li>\n<li>Navigate to Plugins \u2192 Add New<\/li>\n<li>Search for \"Anywhere Blocks by Shortcode\"<\/li>\n<li>Click \"Install Now\" and then \"Activate\"<\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Download the plugin zip file<\/li>\n<li>Login to your WordPress admin panel<\/li>\n<li>Navigate to Plugins \u2192 Add New \u2192 Upload Plugin<\/li>\n<li>Choose the downloaded zip file and click \"Install Now\"<\/li>\n<li>Activate the plugin<\/li>\n<\/ol>\n\n<h4>From Source<\/h4>\n\n<ol>\n<li>Upload the <code>anywhere-blocks-shortcode<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20use%20any%20gutenberg%20blocks%20in%20my%20templates%3F'><h3>Can I use any Gutenberg blocks in my templates?<\/h3><\/dt>\n<dd><p>Yes! The plugin supports all Gutenberg blocks, including core blocks, third-party blocks, and custom blocks.<\/p><\/dd>\n<dt id='will%20shortcodes%20work%20in%20widgets%3F'><h3>Will shortcodes work in widgets?<\/h3><\/dt>\n<dd><p>Yes, shortcodes work in text widgets, custom HTML widgets, and most widget areas that support HTML content.<\/p><\/dd>\n<dt id='can%20i%20use%20the%20same%20template%20multiple%20times%20on%20one%20page%3F'><h3>Can I use the same template multiple times on one page?<\/h3><\/dt>\n<dd><p>Absolutely! You can use the same shortcode multiple times on the same page without any issues.<\/p><\/dd>\n<dt id='does%20this%20work%20with%20page%20builders%3F'><h3>Does this work with page builders?<\/h3><\/dt>\n<dd><p>Yes, most page builders (Elementor, Beaver Builder, Divi, etc.) support shortcodes in their text\/HTML elements.<\/p><\/dd>\n<dt id='can%20i%20pass%20custom%20parameters%20to%20shortcodes%3F'><h3>Can I pass custom parameters to shortcodes?<\/h3><\/dt>\n<dd><p>Currently, the plugin supports <code>id<\/code>, <code>template_id<\/code>, and <code>post_id<\/code> parameters. Additional parameters may be added in future versions.<\/p><\/dd>\n<dt id='is%20this%20plugin%20compatible%20with%20multisite%3F'><h3>Is this plugin compatible with multisite?<\/h3><\/dt>\n<dd><p>Yes, the plugin works on both single-site and multisite WordPress installations.<\/p><\/dd>\n<dt id='will%20this%20slow%20down%20my%20site%3F'><h3>Will this slow down my site?<\/h3><\/dt>\n<dd><p>No, the plugin is optimized for performance and only loads necessary resources when needed.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Issue fixed based on Plugin Support Team feedback<\/li>\n<li>Bug fixes and performance improvements<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Block template custom post type<\/li>\n<li>Shortcode rendering system<\/li>\n<li>Gutenberg editor integration<\/li>\n<li>Admin interface with shortcode column<\/li>\n<li>Autoloader and clean architecture<\/li>\n<li>WordPress 6.8 compatibility<\/li>\n<\/ul>","raw_excerpt":"Display Gutenberg blocks using shortcode anywhere on your site. Create reusable block templates and embed them with simple shortcodes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/245432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=245432"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/codersaiful"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=245432"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=245432"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=245432"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=245432"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=245432"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=245432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}