
IndieMan Custom Blocks
v1.0.0indiemansoft · 2026年11月16日 上架
Create reusable HTML components and shortcode templates with dynamic placeholder parameters and wrapper control.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 107
- 最近更新
- 2026年11月17日
需要 WordPress 5.6+已测试到 7.1.5PHP 7.4+
贡献者
截图
IndieMan Custom Blocks 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.
Key Features:
- Reusable Component Templates: Design HTML component snippets once in a centralized admin interface and reuse them site-wide.
- Dynamic Shortcode Placeholders: Pass custom attributes directly in your shortcode (e.g.
[indieman_block id="1" title="Special Offer" btn_text="Buy Now"]) and dynamically inject them using{title}and{btn_text}placeholders. - Enclosed Content Support: Use the
{content}placeholder to render content wrapped between opening and closing shortcode tags ([indieman_block id="1"]Your custom text here[/indieman_block]). - Built-in System Placeholders: Automatically insert system values using
{site_url},{site_title},{current_year},{post_title}, and{post_url}in your templates. - Semantic Slug Shortcodes: Set friendly custom slugs for your components to use semantic shortcodes like
[indieman_block slug="pricing_card"]instead of numeric IDs. - Configurable Wrapper Element: Choose your container HTML element (
<div>,<section>,<article>,<aside>, or Raw HTML with no wrapper). - Native CodeMirror Editor: Syntax-highlighted HTML editing with integrated 1-click clipboard copy buttons for shortcodes.
- Secure & Standards Compliant: Safe placeholder substitution sanitized via
wp_kses_post(). Noeval(), no arbitrary script execution, and fully WordPress.org compliant.


