Plugin - Flex Shortcodes

Reusable HTML snippets inserted with [flexshortcodes], a block picker, or the classic editor button. PHP is never executed.

  • Shortcodes
  • Snippets
  • HTML

What it does

Store HTML once and reuse it in posts, pages, widgets, and templates.

Parameters fill {{placeholders}}; nested shortcodes are allowed, circular includes are blocked.

Features

  • Insert by slug or ID: [flexshortcodes name="promo-banner"]
  • Block editor picker and classic editor button
  • Optional parameters mapped to {{placeholders}}
  • JSON import / export, duplicate, and find usages
  • Front-end output sanitized with wp_kses_post(); no PHP execution

Get it

Flex Shortcodes is free on WordPress.org under GPLv2 or later. Install from Plugins → Add New, or download the package from https://wordpress.org/plugins/flex-shortcodes/.

More plugins

Flex Fields

Custom meta boxes for posts, pages, taxonomies, user profiles, and Global Options — used in code with flex_field() and flex_option().

Read more

Flex Security

Practical WordPress hardening: login limits, XML-RPC, headers, enumeration protection, and optional captcha.

Read more

Tell us about your project

Our offices

  • US
    30 N Gould St Ste R
    82801, Sheridan, Wyoming