{"id":250552,"date":"2025-09-11T16:20:33","date_gmt":"2025-09-11T16:20:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/snippy-blocks\/"},"modified":"2025-09-13T03:11:24","modified_gmt":"2025-09-13T03:11:24","slug":"bcodecraft-blocks","status":"publish","type":"plugin","link":"https:\/\/srd.wordpress.org\/plugins\/bcodecraft-blocks\/","author":21081924,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.3","stable_tag":"1.2.3","tested":"6.8.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"bcodecraft Blocks","header_author":"bcodecraft","header_description":"A modern WordPress plugin for managing and reusing content snippets with seamless Block Editor integration.","assets_banners_color":"8a85d4","last_updated":"2025-09-13 03:11:24","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/ko-fi.com\/boyduang","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":312,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2.1":{"tag":"1.2.1","author":"mrboydwp","date":"2025-09-12 17:52:36"},"1.2.2":{"tag":"1.2.2","author":"mrboydwp","date":"2025-09-12 18:24:56"},"1.2.3":{"tag":"1.2.3","author":"mrboydwp","date":"2025-09-13 03:11:24"}},"upgrade_notice":{"1.2.1":"<p>Performance and security improvements with enhanced search functionality and better mobile experience.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3360023,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3360023,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3360023,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3360023,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"bccb-blocks\/snippet":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"bccb-blocks\/snippet","version":"1.2.3","title":"bcodecraft Block","category":"text","icon":"editor-code","description":"Insert a reusable content snippet.","keywords":["snippet","reusable","content"],"example":{},"supports":{"html":false,"anchor":true,"className":true,"customClassName":true,"multiple":true,"inserter":true,"lock":true},"attributes":{"snippetId":{"type":"number","default":0},"snippetTitle":{"type":"string","default":""},"snippetContent":{"type":"string","default":""}},"providesContext":{},"usesContext":[],"selectors":{"root":".wp-block-bccb-blocks-snippet"},"textdomain":"bcodecraft-blocks","editorScript":"file:.\/index.js","editorStyle":"file:.\/style-index.css","style":"file:.\/style-index.css","render":"file:.\/render.php"}},"tagged_versions":["1.2.1","1.2.2","1.2.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3360023,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3360023,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3360023,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3360023,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3360023,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3360023,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"<strong>Modern Modal Interface<\/strong> - Beautiful snippet selection with search and preview","2":"<strong>Block Editor Integration<\/strong> - Seamless workflow with live preview","3":"<strong>Snippet Management<\/strong> - Clean admin interface for managing all your snippets","4":"<strong>Classic Editor Support<\/strong> - TinyMCE button for shortcode insertion","5":"<strong>Placeholder State<\/strong> - Intuitive onboarding for new users","6":"<strong>Mobile Responsive<\/strong> - Works perfectly on all devices"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4121,1332,148076,54012,240398],"plugin_category":[46],"plugin_contributors":[223716],"plugin_business_model":[],"class_list":["post-250552","plugin","type-plugin","status-publish","hentry","plugin_tags-blocks","plugin_tags-editor","plugin_tags-gutenberg","plugin_tags-reusable-content","plugin_tags-snippets","plugin_category-editor-and-writing","plugin_contributors-mrboydwp","plugin_committers-mrboydwp"],"banners":{"banner":"https:\/\/ps.w.org\/bcodecraft-blocks\/assets\/banner-772x250.png?rev=3360023","banner_2x":"https:\/\/ps.w.org\/bcodecraft-blocks\/assets\/banner-1544x500.png?rev=3360023","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/bcodecraft-blocks\/assets\/icon-128x128.png?rev=3360023","icon_2x":"https:\/\/ps.w.org\/bcodecraft-blocks\/assets\/icon-256x256.png?rev=3360023","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/bcodecraft-blocks\/assets\/screenshot-1.png?rev=3360023","caption":"<strong>Modern Modal Interface<\/strong> - Beautiful snippet selection with search and preview"},{"src":"https:\/\/ps.w.org\/bcodecraft-blocks\/assets\/screenshot-2.png?rev=3360023","caption":"<strong>Block Editor Integration<\/strong> - Seamless workflow with live preview"},{"src":"https:\/\/ps.w.org\/bcodecraft-blocks\/assets\/screenshot-3.png?rev=3360023","caption":"<strong>Snippet Management<\/strong> - Clean admin interface for managing all your snippets"},{"src":"https:\/\/ps.w.org\/bcodecraft-blocks\/assets\/screenshot-4.png?rev=3360023","caption":"<strong>Classic Editor Support<\/strong> - TinyMCE button for shortcode insertion"},{"src":"https:\/\/ps.w.org\/bcodecraft-blocks\/assets\/screenshot-5.png?rev=3360023","caption":"<strong>Placeholder State<\/strong> - Intuitive onboarding for new users"},{"src":"https:\/\/ps.w.org\/bcodecraft-blocks\/assets\/screenshot-6.png?rev=3360023","caption":"<strong>Mobile Responsive<\/strong> - Works perfectly on all devices"}],"raw_content":"<!--section=description-->\n<p><strong>bcodecraft Blocks<\/strong> helps you manage reusable content on your WordPress site efficiently. Create content snippets once and use them anywhere with our modern, intuitive interface.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>\ud83c\udfaf Modern Modal Interface<\/strong> - Beautiful, searchable snippet selection with live preview<\/li>\n<li><strong>\ud83d\udcdd Block Editor Integration<\/strong> - Seamless workflow with smooth animations and transitions  <\/li>\n<li><strong>\u2699\ufe0f Classic Editor Support<\/strong> - TinyMCE button for one-click shortcode insertion<\/li>\n<li><strong>\ud83c\udf1f Smart Placeholder State<\/strong> - Guided onboarding for new users<\/li>\n<li><strong>\ud83d\udcf1 Responsive Design<\/strong> - Optimized for all devices and screen sizes<\/li>\n<li><strong>\ud83d\ude80 Performance Optimized<\/strong> - Server-side pagination and efficient loading for large collections<\/li>\n<li><strong>\ud83d\udd0d Advanced Search<\/strong> - Real-time search with debouncing and server-side filtering<\/li>\n<li><strong>\ud83d\udd12 Secure &amp; Reliable<\/strong> - Built with security best practices and input validation<\/li>\n<\/ul>\n\n<h4>Perfect For<\/h4>\n\n<ul>\n<li><strong>Contact Information<\/strong> - Address, phone, email that appears on multiple pages<\/li>\n<li><strong>Call-to-Action Blocks<\/strong> - Reusable promotional content and banners<\/li>\n<li><strong>Legal Text<\/strong> - Terms, privacy policies, disclaimers<\/li>\n<li><strong>Product Features<\/strong> - Standard descriptions for products and services<\/li>\n<li><strong>Social Media Links<\/strong> - Consistent social media widgets<\/li>\n<\/ul>\n\n<h4>How It Works<\/h4>\n\n<ol>\n<li><strong>Create Snippets<\/strong> - Use the familiar WordPress Block Editor to create your content snippets<\/li>\n<li><strong>Insert Anywhere<\/strong> - Add snippets via the beautiful modal interface in Block Editor or Classic Editor  <\/li>\n<li><strong>Live Preview<\/strong> - See exactly how your content will look before publishing<\/li>\n<li><strong>Automatic Updates<\/strong> - Change a snippet once, and it updates everywhere it's used<\/li>\n<\/ol>\n\n<h4>User Experience<\/h4>\n\n<ul>\n<li><strong>Intuitive Modal Interface<\/strong> - No more dropdown menus, search and select from a beautiful grid<\/li>\n<li><strong>Real-time Search<\/strong> - Find snippets instantly with live filtering<\/li>\n<li><strong>Visual Feedback<\/strong> - Smooth animations and hover effects throughout<\/li>\n<li><strong>Cross-Editor Consistency<\/strong> - Same experience in Block Editor and Classic Editor<\/li>\n<\/ul>\n\n<h4>Developer Friendly<\/h4>\n\n<ul>\n<li><strong>REST API Endpoints<\/strong> - <code>wp-json\/bccb-blocks\/v1\/snippets<\/code> for custom integrations<\/li>\n<li><strong>WordPress Hooks<\/strong> - Filters and actions for customization  <\/li>\n<li><strong>Clean Code<\/strong> - Following WordPress coding standards and best practices<\/li>\n<li><strong>Modern Architecture<\/strong> - Built with React and modern JavaScript<\/li>\n<\/ul>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li>WordPress 6.0+<\/li>\n<li>PHP 7.4+<\/li>\n<\/ul>\n\n<h3>Support<\/h3>\n\n<p>For support and bug reports, please use the WordPress.org support forum for this plugin.<\/p>\n\n<h3>Privacy<\/h3>\n\n<p>bcodecraft Blocks does not collect any personal data. All content is stored locally in your WordPress database and no external connections are made.<\/p>\n\n<!--section=installation-->\n<h4>Automatic Installation<\/h4>\n\n<ol>\n<li>Go to Plugins &gt; Add New in your WordPress admin<\/li>\n<li>Search for \"bcodecraft Blocks\"<\/li>\n<li>Click Install Now and then Activate<\/li>\n<li>Start creating your first snippet!<\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Download the plugin zip file<\/li>\n<li>Go to Plugins &gt; Add New &gt; Upload Plugin<\/li>\n<li>Choose the <code>bcodecraft-blocks.zip<\/code> file and click Install Now<\/li>\n<li>Activate the plugin<\/li>\n<li>You'll see \"Snippets\" appear in your admin menu<\/li>\n<\/ol>\n\n<h4>Getting Started<\/h4>\n\n<ol>\n<li>Go to <strong>Snippets<\/strong> in your WordPress admin<\/li>\n<li>Click <strong>Add New<\/strong> to create your first snippet<\/li>\n<li>Use the Block Editor to create your content<\/li>\n<li>Publish your snippet<\/li>\n<li>Add a bcodecraft Block to any post or page and select your snippet<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20create%20a%20snippet%3F'><h3>How do I create a snippet?<\/h3><\/dt>\n<dd><p>Go to Snippets &gt; Add New in your WordPress admin, create your content using the Block Editor, and publish. Your snippet will be available for use anywhere on your site.<\/p><\/dd>\n<dt id='can%20i%20use%20snippets%20in%20both%20block%20editor%20and%20classic%20editor%3F'><h3>Can I use snippets in both Block Editor and Classic Editor?<\/h3><\/dt>\n<dd><p>Yes! bcodecraft Blocks works seamlessly in both editors. In Block Editor, add a \"bcodecraft Block\" and select from the modal. In Classic Editor, click the bcodecraft Blocks button in the toolbar.<\/p><\/dd>\n<dt id='will%20changing%20a%20snippet%20update%20it%20everywhere%20it%27s%20used%3F'><h3>Will changing a snippet update it everywhere it's used?<\/h3><\/dt>\n<dd><p>Absolutely! That's the power of bcodecraft Blocks. Edit a snippet once, and it automatically updates everywhere you've used it.<\/p><\/dd>\n<dt id='can%20i%20use%20shortcodes%20manually%3F'><h3>Can I use shortcodes manually?<\/h3><\/dt>\n<dd><p>Yes, you can copy the shortcode from the snippets list (e.g., <code>[bccb_block id=\"123\"]<\/code>) and paste it anywhere in your content.<\/p><\/dd>\n<dt id='is%20there%20a%20limit%20to%20how%20many%20snippets%20i%20can%20create%3F'><h3>Is there a limit to how many snippets I can create?<\/h3><\/dt>\n<dd><p>No, you can create unlimited snippets. The plugin is designed to handle large numbers of snippets efficiently.<\/p><\/dd>\n<dt id='what%20happens%20when%20i%20delete%2Funinstall%20the%20plugin%3F'><h3>What happens when I delete\/uninstall the plugin?<\/h3><\/dt>\n<dd><p>When you deactivate the plugin, your snippets remain in the database. If you completely uninstall (delete) the plugin, your snippet data is preserved by default as a safety feature. To completely remove all data, you would need to modify the uninstall.php file.<\/p><\/dd>\n<dt id='does%20it%20work%20with%20page%20builders%3F'><h3>Does it work with page builders?<\/h3><\/dt>\n<dd><p>Yes, snippets work anywhere shortcodes are supported, including most page builders and themes.<\/p><\/dd>\n<dt id='is%20the%20plugin%20translation%20ready%3F'><h3>Is the plugin translation ready?<\/h3><\/dt>\n<dd><p>Yes, bcodecraft Blocks is fully internationalized and ready for translation into any language.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.3 - 2025-09-13<\/h4>\n\n<p><strong>Bug Fixes &amp; Stability<\/strong><\/p>\n\n<p><strong>Fixed:<\/strong>\n* Block registration namespace warning in WordPress admin\n* Improved block type registration with explicit file path handling\n* Enhanced fallback registration for better compatibility<\/p>\n\n<p><strong>Technical Improvements:<\/strong>\n* Updated block registration method with proper namespace handling\n* Added comprehensive fallback system for block registration\n* Improved error handling for missing block.json files<\/p>\n\n<h4>1.2.2 - 2025-09-13<\/h4>\n\n<p><strong>Bug Fixes &amp; Stability<\/strong><\/p>\n\n<p><strong>Fixed:<\/strong>\n* Fatal Error - Fixed missing <code>includes\/<\/code> directory issue that caused plugin activation failures\n* Block Registration - Fixed WordPress block registration warning by using proper directory path method\n* File Structure - Cleaned up duplicate class files to prevent loading conflicts<\/p>\n\n<p><strong>Technical Improvements:<\/strong>\n* SVN Deployment - Improved deployment script to ensure correct file structure\n* Code Organization - Consolidated PHP class files to <code>includes\/<\/code> directory only\n* Block Registration Method - Updated to use proper directory-based registration<\/p>\n\n<h4>1.2.1 - 2025-08-28<\/h4>\n\n<p><strong>Performance &amp; Security Improvements<\/strong><\/p>\n\n<p><strong>Performance Enhancements:<\/strong>\n* Server-side pagination with 20 items per page for large datasets\n* Real-time search with 300ms debouncing and server-side filtering\n* \"Load More\" functionality for progressive content loading\n* Memory optimization preventing performance degradation\n* Efficient handling of large snippet collections\n* Reduced JavaScript bundle size to 11.3KB<\/p>\n\n<p><strong>Enhanced Security:<\/strong>\n* Improved input validation and XSS prevention\n* Rate limiting to prevent abuse\n* Content sanitization and validation\n* Secure API endpoints with proper authentication<\/p>\n\n<p><strong>UI\/UX Improvements:<\/strong>\n* User-friendly pagination controls and navigation\n* Real-time search feedback and loading states\n* Enhanced mobile experience with touch-friendly controls\n* Production-ready error handling for better UX<\/p>\n\n<p><strong>Technical Improvements:<\/strong>\n* Consistent API pagination response structure\n* Code quality improvements with linting compliance\n* Updated documentation with performance and security guides\n* Bug fixes for BlockControls error and date field issues<\/p>\n\n<h4>1.2.0 - 2025-08-27<\/h4>\n\n<p><strong>Major UX Improvements Release<\/strong><\/p>\n\n<p><strong>Added:<\/strong>\n* Modern modal interface for snippet selection (replacing old dropdown)\n* Beautiful placeholder state with clear call-to-action buttons\n* TinyMCE integration for Classic Editor with consistent modal interface\n* Advanced animations and micro-interactions throughout the interface\n* Enhanced search experience with visual feedback and filtering\n* Staggered card animations for snippet selection\n* Visual feedback system with loading states and hover effects<\/p>\n\n<p><strong>Enhanced:<\/strong>\n* Complete UI\/UX overhaul focusing on modern design principles\n* Streamlined Block Editor workflow with modal-based selection\n* Full Classic Editor support with TinyMCE toolbar button\n* Responsive design optimized for all screen sizes\n* Performance optimizations for smooth user experience<\/p>\n\n<p><strong>Technical Improvements:<\/strong>\n* Modernized CSS architecture with animations and transitions\n* Implemented cubic-bezier easing functions for natural motion\n* Built scalable modal component with backdrop blur effects\n* Optimized search with real-time filtering\n* Separated TinyMCE assets for better modularity<\/p>\n\n<h4>1.1.1 - 2025-08-27<\/h4>\n\n<ul>\n<li>Fixed duplicate related posts issue<\/li>\n<li>Improved plugin compatibility<\/li>\n<li>Enhanced content rendering<\/li>\n<\/ul>\n\n<h4>1.1.0 - 2025-08-26<\/h4>\n\n<ul>\n<li>WordPress 6.8 compatibility<\/li>\n<li>Performance optimizations<\/li>\n<li>Production-ready release<\/li>\n<\/ul>\n\n<h4>1.0.0 - 2025-08-26<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A modern WordPress plugin for managing and reusing content snippets with seamless Block Editor integration and advanced search functionality.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/250552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=250552"}],"author":[{"embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mrboydwp"}],"wp:attachment":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=250552"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=250552"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=250552"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=250552"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=250552"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=250552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}