{"id":11150,"date":"2011-05-15T15:10:41","date_gmt":"2011-05-15T15:10:41","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/html-helpers\/"},"modified":"2011-06-16T10:28:48","modified_gmt":"2011-06-16T10:28:48","slug":"html-helpers","status":"publish","type":"plugin","link":"https:\/\/de.wordpress.org\/plugins\/html-helpers\/","author":5849903,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.3","stable_tag":"0.2.3","tested":"3.1.4","requires":"1.5","requires_php":"","requires_plugins":"","header_name":"HTML Helpers","header_author":"Nikolay Karev","header_description":"","assets_banners_color":"","last_updated":"2011-06-16 10:28:48","external_support_url":"","external_repository_url":"","donate_link":"mailto:karev.n@gmail.com","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/html-helpers\/","header_author_uri":"http:\/\/karevn.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2300,"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":["0.2","0.2.1","0.2.2","0.2.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1556,1214,246,662],"plugin_category":[43],"plugin_contributors":[78005],"plugin_business_model":[],"class_list":["post-11150","plugin","type-plugin","status-publish","hentry","plugin_tags-api","plugin_tags-code","plugin_tags-html","plugin_tags-php","plugin_category-customization","plugin_contributors-karevn","plugin_committers-karevn"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/html-helpers.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin adds simple HTML tag generation API to WordPress, like these examples:\n     generates and prints <code>&lt;img src=\"\/wp-content\/&lt;your-theme&gt;\/images\/wordpress.png\" alt=\"Wordpress\" \/&gt;<\/code>.\n     'my-image')) ?&gt; generates and returns almost the same tag, just with absolute url, id and alt attributes set manually.\n    term_id) ?&gt; generates select tag with options taken from WP 'category' taxonomy and sets $term as selected item\n     rails-like \"cycle\" that returns \"odd\" on first call, \"even\" on second, \"odd\" on\n    third call, so on. reset_cycle resets the cycle.\n     shortcut for echo(get_post_meta($id, 'meta_name', true))<\/p>\n\n<p>Form field generators for <code>text<\/code>, <code>checkbox<\/code>, <code>hidden<\/code> input types, <code>textarea<\/code>, and more tags. More docs coming soon, you can read the code to figure out other features for now.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload <code>html-helpers<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use html-helpers API in your plugins and themes.<\/li>\n<\/ol>\n\n<p>OR<\/p>\n\n<ol>\n<li>Put html-helpers.php to your plugin or theme folder<\/li>\n<li><code>require<\/code> it<\/li>\n<li>Use html-helpers API in your plugins and themes.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.2.3<\/h4>\n\n<ul>\n<li>Removed unecessary closing tags for img, input<\/li>\n<li>_img and img support image names without an extension<\/li>\n<li>smarter 'alt' attribute handling for img<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Fixed endless recursion for img function<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Added <code>cycle,<\/code>reset_cycle<code>and<\/code>_cycle` functions to support rails-style cycles<\/li>\n<li>Added \"multiple\" option support for <code>select<\/code> tag.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Initial public release<\/li>\n<\/ul>","raw_excerpt":"This plugin adds simple HTML tag generation API to WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11150"}],"author":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/karevn"}],"wp:attachment":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11150"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11150"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11150"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11150"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11150"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}