=== ConvertToHTML HTML CSS JavaScript Inserter ===
Contributors: converttohtml
Tags: custom html, custom css, custom javascript, code inserter, header footer
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.0.0-beta.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create HTML, CSS and JavaScript code blocks with separate editors, page targeting and flexible placement.

== Description ==

ConvertToHTML HTML CSS JavaScript Inserter provides separate editors for each code type. Each block can:

* Load CSS in the document header.
* Place HTML before or after content, in the site header or footer, or only by shortcode.
* Load trusted JavaScript in the header or footer.
* Target the entire site, homepage, posts, Pages, singular content or specific IDs.
* Be enabled or disabled without deletion.
* Display all three code types using [converttohtml_code id="123"].

JavaScript requires an administrator account with WordPress's unfiltered_html capability. The optional public ConvertToHTML credit is disabled by default.

== Installation ==

1. Open Plugins > Add New > Upload Plugin.
2. Select the ZIP, install it and activate it.
3. Open Code Inserter in the WordPress administration menu.
4. Create a code block, choose placement and targeting, then save.

== Frequently Asked Questions ==

= Should I include style or script tags? =

No. Enter CSS without style tags and JavaScript without script tags. The plugin supplies those wrappers.

= Where should JavaScript load? =

The footer is recommended for most code because the page markup has loaded first. Some verification or initialization code may specifically require the header.

= Can I load code on one Page? =

Yes. Select Specific post or Page IDs and enter the numeric IDs separated by commas.

= Why is JavaScript unavailable? =

WordPress only allows accounts with the unfiltered_html capability to publish JavaScript through this plugin.

= Does the plugin force a backlink? =

No. The optional “Powered by ConvertToHTML” credit is disabled by default and uses rel="nofollow" when enabled.

== Changelog ==

= 1.0.0-beta.1 =

* Initial beta release.
* Added separate HTML, CSS and JavaScript editors.
* Added shortcode and automatic placement.
* Added page targeting and enable/disable controls.
* Added optional public credit.
