=== BlockEnsert ===
Contributors: abodeorigin
Tags: gutenberg, block editor, content insertion, ads, dynamic content
Requires at least: 6.1
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 0.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Place banners, CTAs, ads, and more exactly where you want across posts and pages, without manual copy-paste.

== Description ==

BlockEnsert helps you place reusable block content exactly where it should appear in your posts and pages.

You can create insertion rules in the BlockEnsert custom post type, choose where content should appear, and limit rules to selected post types.

= Key features =

* Gutenberg-first workflow with editor-integrated settings.
* Placement options: before content, after content, before block number, and after block number.
* Target supported top-level Gutenberg block types (more block support is planned in upcoming versions).
* Parent-only block targeting (child-only blocks are excluded from rule targeting).
* Post type targeting for each rule.

== Installation ==

1. Upload the blockensert folder to /wp-content/plugins/.
2. Activate BlockEnsert through the Plugins screen in WordPress.
3. Open BlockEnsert in wp-admin and create an insertion rule.
4. Choose placement, target block type, and supported post types.
5. Publish the rule.

== Frequently Asked Questions ==

= Does this work with Classic Editor content? =

This version is focused on the Block Editor experience. Support for Classic Editor content is planned for a future release.

= Which blocks are currently supported? =

At the moment, you can target Paragraph and Image blocks. Support for additional Core and custom blocks is already planned for upcoming releases.

= Does it support nested child block insertion targeting? =

No. This release intentionally targets top-level blocks only.


== Changelog ==

= 0.1.1 =

* Hardened insertion content sanitization with a filterable HTML allowlist and opt-in script tag support.

= 0.1.0 =

* Initial public release.

== Upgrade Notice ==

= 0.1.0 =

Initial release.
