{"id":11868,"date":"2011-01-20T05:15:20","date_gmt":"2011-01-20T05:15:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ml-raw-html\/"},"modified":"2011-01-20T18:39:42","modified_gmt":"2011-01-20T18:39:42","slug":"ml-raw-html","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/ml-raw-html\/","author":2038621,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.2","stable_tag":"1.0.2","tested":"3.0.5","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"ML Raw HTML","header_author":"Bill Lipa","header_description":"","assets_banners_color":"","last_updated":"2011-01-20 18:39:42","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/masterleep.com\/projects\/raw-html","header_author_uri":"http:\/\/masterleep.com\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":2768,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1214,246,229,166],"plugin_category":[59],"plugin_contributors":[88034],"plugin_business_model":[],"class_list":["post-11868","plugin","type-plugin","status-closed","hentry","plugin_tags-code","plugin_tags-html","plugin_tags-javascript","plugin_tags-posts","plugin_category-utilities-and-tools","plugin_contributors-masterleep","plugin_committers-masterleep"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ml-raw-html.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin allows you to insert raw HTML and Javascript into your post without any tampering by the fiendish\nWordPress paragraph and line break inserter.  It is based on shortcodes and avoids expensive and fragile\nparsing of the post content based on regular expressions, unlike other plugins with similar functionality.<\/p>\n\nUsing the plugin\n\n<p>Content that should be passed through unchanged by WordPress should be contained in a [ml_raw_html] shortcode\nblock.  For example:<\/p>\n\n<pre><code>Regular post content here...\n\n[ml_raw_html]\n  &lt;script type=\"text\/javascript\"&gt;\n  function foo(bar) {\n     frobozz = 'a';\n     bat = bar;\n  }\n  &lt;\/script&gt;\n[\/ml_raw_html]\n\nMore post content...\n<\/code><\/pre>\n\n<h3>Multiple raw blocks<\/h3>\n\n<p>If you have multiple ml_raw_html blocks on a page, there is a slight complication.  Each block needs to have\na different id attribute to allow the implementation to accurately select the correct block of text.\nFor example:<\/p>\n\n<pre><code>Regular post content here...\n\n[ml_raw_html id=\"1\"]\n  &lt;script type=\"text\/javascript\"&gt;\n  function foo(bar) {\n     frobozz = 'a';\n     bat = bar;\n  }\n  &lt;\/script&gt;\n[\/ml_raw_html]\n\nMore post content...\n\n[ml_raw_html id=\"2\"]\n  &lt;script type=\"text\/javascript\"&gt;\n  function foo2(bar) {\n     return 5;\n  }\n  &lt;\/script&gt;\n[\/ml_raw_html]\n<\/code><\/pre>\n\n<p>The id values are arbitrary, so long as they are unique on the page.<\/p>\n\n<p>The shortcode name \"ml_raw_html\" and the id attribute, if present, must be all lowercase, and there cannot be any\nextra whitespace inside the brackets.<\/p>\n\n<!--section=installation-->\n<p>To install the plugin:<\/p>\n\n<ol>\n<li>Download the ml-raw-html.zip file.<\/li>\n<li>Unzip the file.<\/li>\n<li>Move the ml-raw-html folder to wp-content\/plugins.<\/li>\n<li>Activate the plugin in the WordPress dashboard.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Readme and version tweaks.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Readme had wrong plugin name.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First usable version.<\/li>\n<\/ul>","raw_excerpt":"Simple, efficient, and flexible raw html support via shortcodes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11868","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=11868"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/masterleep"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11868"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11868"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11868"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11868"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11868"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}