{"id":404323,"date":"2026-11-16T18:58:22","date_gmt":"2026-11-16T18:58:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/indieman-custom-blocks\/"},"modified":"2026-11-16T18:57:55","modified_gmt":"2026-11-16T18:57:55","slug":"indieman-custom-blocks","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/indieman-custom-blocks\/","author":23601045,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.4","requires":"5.6","requires_php":"7.4","requires_plugins":null,"header_name":"IndieMan Custom Blocks","header_author":"IndieMan","header_description":"Create reusable HTML components and shortcode templates with dynamic placeholder tags and wrapper control.","last_updated":"2026-11-16 18:57:55","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/ko-fi.com\/indiemansoft","header_plugin_uri":"","header_author_uri":"https:\/\/indieman.com.ua","rating":0,"author_block_rating":0,"active_installs":0,"downloads":30,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"indiemansoft","date":"2026-11-16 18:57:55","revision":3805895}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3805895,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3805895,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3805895,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3805895,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3805895,"resolution":"1","location":"assets","locale":"","width":1000,"height":600},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3805895,"resolution":"2","location":"assets","locale":"","width":1000,"height":600},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3805895,"resolution":"3","location":"assets","locale":"","width":1000,"height":600}},"screenshots":{"1":"HTML Template Editor with dynamic parameter hints and example code.","2":"Shortcode settings with 1-click clipboard copy and custom slug configuration.","3":"Blocks list table with quick shortcode copy buttons."}},"plugin_section":[],"plugin_tags":[4121,179451,246,357,4516],"plugin_category":[43],"plugin_contributors":[291904],"plugin_business_model":[],"class_list":["post-404323","plugin","type-plugin","status-publish","hentry","plugin_tags-blocks","plugin_tags-custom-blocks","plugin_tags-html","plugin_tags-shortcodes","plugin_tags-templates","plugin_category-customization","plugin_contributors-indiemansoft","plugin_committers-indiemansoft"],"banners":{"banner":"https:\/\/ps.w.org\/indieman-custom-blocks\/assets\/banner-772x250.png?rev=3805895","banner_2x":"https:\/\/ps.w.org\/indieman-custom-blocks\/assets\/banner-1544x500.png?rev=3805895","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/indieman-custom-blocks\/assets\/icon-128x128.png?rev=3805895","icon_2x":"https:\/\/ps.w.org\/indieman-custom-blocks\/assets\/icon-256x256.png?rev=3805895","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/indieman-custom-blocks\/assets\/screenshot-1.png?rev=3805895","caption":"HTML Template Editor with dynamic parameter hints and example code."},{"src":"https:\/\/ps.w.org\/indieman-custom-blocks\/assets\/screenshot-2.png?rev=3805895","caption":"Shortcode settings with 1-click clipboard copy and custom slug configuration."},{"src":"https:\/\/ps.w.org\/indieman-custom-blocks\/assets\/screenshot-3.png?rev=3805895","caption":"Blocks list table with quick shortcode copy buttons."}],"raw_content":"<!--section=description-->\n<p><strong>IndieMan Custom Blocks<\/strong> lets you create reusable custom HTML components and template blocks and call them anywhere using clean shortcodes. Build banners, callout boxes, promo cards, alert notices, and layout modules once, then reuse them across your posts, pages, and widgets with dynamic attributes.<\/p>\n\n<h3>Key Features:<\/h3>\n\n<ul>\n<li><strong>Reusable Component Templates:<\/strong> Design HTML component snippets once in a centralized admin interface and reuse them site-wide.<\/li>\n<li><strong>Dynamic Shortcode Placeholders:<\/strong> Pass custom attributes directly in your shortcode (e.g. <code>[indieman_block id=\"1\" title=\"Special Offer\" btn_text=\"Buy Now\"]<\/code>) and dynamically inject them using <code>{title}<\/code> and <code>{btn_text}<\/code> placeholders.<\/li>\n<li><strong>Enclosed Content Support:<\/strong> Use the <code>{content}<\/code> placeholder to render content wrapped between opening and closing shortcode tags (<code>[indieman_block id=\"1\"]Your custom text here[\/indieman_block]<\/code>).<\/li>\n<li><strong>Built-in System Placeholders:<\/strong> Automatically insert system values using <code>{site_url}<\/code>, <code>{site_title}<\/code>, <code>{current_year}<\/code>, <code>{post_title}<\/code>, and <code>{post_url}<\/code> in your templates.<\/li>\n<li><strong>Semantic Slug Shortcodes:<\/strong> Set friendly custom slugs for your components to use semantic shortcodes like <code>[indieman_block slug=\"pricing_card\"]<\/code> instead of numeric IDs.<\/li>\n<li><strong>Configurable Wrapper Element:<\/strong> Choose your container HTML element (<code>&lt;div&gt;<\/code>, <code>&lt;section&gt;<\/code>, <code>&lt;article&gt;<\/code>, <code>&lt;aside&gt;<\/code>, or Raw HTML with no wrapper).<\/li>\n<li><strong>Native CodeMirror Editor:<\/strong> Syntax-highlighted HTML editing with integrated 1-click clipboard copy buttons for shortcodes.<\/li>\n<li><strong>Secure &amp; Standards Compliant:<\/strong> Safe placeholder substitution sanitized via <code>wp_kses_post()<\/code>. No <code>eval()<\/code>, no arbitrary script execution, and fully WordPress.org compliant.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>indieman-custom-blocks<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or upload the zip archive via <strong>Plugins -&gt; Add New -&gt; Upload Plugin<\/strong>.<\/li>\n<li>Activate the plugin in WordPress.<\/li>\n<li>Open the <strong>IndieMan Blocks<\/strong> menu in your WordPress dashboard.<\/li>\n<li>Click <strong>Add New Block<\/strong>, write your HTML template with dynamic <code>{placeholders}<\/code>, and publish.<\/li>\n<li>Copy the generated shortcode and paste it into any post, page, or widget!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20placeholder%20tags%20can%20i%20use%20in%20my%20templates%3F\"><h3>What placeholder tags can I use in my templates?<\/h3><\/dt>\n<dd><p>You can use two types of placeholders:\n1. <strong>Built-in System Tags (Auto-filled):<\/strong>\n* <code>{current_year}<\/code> \u2014 Current year (e.g., 2026).\n* <code>{site_title}<\/code> \u2014 Website title from WordPress settings.\n* <code>{site_url}<\/code> \u2014 Homepage URL.\n* <code>{post_title}<\/code> \u2014 Title of the post or page where the block is displayed.\n* <code>{post_url}<\/code> \u2014 Permalink of the current post or page.\n* <code>{content}<\/code> \u2014 Content enclosed between opening and closing shortcode tags: <code>[indieman_block]Your text here[\/indieman_block]<\/code>.<\/p>\n\n<ol>\n<li><strong>Custom Shortcode Attributes (Unlimited):<\/strong>\nYou can invent <strong>any custom tag<\/strong> simply by typing <code>{your_tag}<\/code> in your HTML template! Then in your shortcode, pass it as a matching attribute:\ne.g., <code>[indieman_block id=\"1\" price=\"$49\" discount=\"50%\" badge=\"SALE\"]<\/code>.<\/li>\n<\/ol><\/dd>\n<dt id=\"how%20do%20dynamic%20shortcode%20attributes%20work%3F\"><h3>How do dynamic shortcode attributes work?<\/h3><\/dt>\n<dd><p>Any custom attribute you add to the shortcode is matched to a <code>{attribute_name}<\/code> placeholder in your template. For example, if your template contains <code>&lt;h3 style=\"color:#0073aa;\"&gt;{title}&lt;\/h3&gt;<\/code>, using <code>[indieman_block id=\"1\" title=\"Hello World\"]<\/code> will replace <code>{title}<\/code> with \"Hello World\".<\/p><\/dd>\n<dt id=\"can%20i%20use%20nested%20shortcodes%20inside%20my%20custom%20blocks%3F\"><h3>Can I use nested shortcodes inside my custom blocks?<\/h3><\/dt>\n<dd><p>Yes! Nested shortcodes are fully supported and safely parsed via WordPress <code>do_shortcode()<\/code>.<\/p><\/dd>\n<dt id=\"can%20i%20use%20this%20without%20a%20wrapping%20container%20tag%3F\"><h3>Can I use this without a wrapping container tag?<\/h3><\/dt>\n<dd><p>Yes. In the Shortcode Settings sidebar, set the <strong>Block Wrapper Tag<\/strong> to <strong>No Wrapper (Raw HTML)<\/strong>.<\/p><\/dd>\n<dt id=\"is%20this%20plugin%20safe%20and%20secure%3F\"><h3>Is this plugin safe and secure?<\/h3><\/dt>\n<dd><p>Yes. Output is safely sanitized using standard WordPress functions (<code>wp_kses_post()<\/code>), and all attribute placeholders are escaped before rendering.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial public release by IndieMan (wp.indieman.com.ua).<\/li>\n<li>Fast, lightweight HTML component and shortcode templating engine.<\/li>\n<li>Fully compliant with WordPress.org security, i18n, and capability standards.<\/li>\n<\/ul>","raw_excerpt":"Create reusable HTML components and shortcode templates with dynamic placeholder parameters and wrapper control.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/404323","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=404323"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/indiemansoft"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=404323"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=404323"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=404323"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=404323"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=404323"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=404323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}