Title: HTML Helpers
Author: karevn
Published: <strong>15.05.2011</strong>
Last modified: 16.06.2011

---

Шукати плагіни

Цей плагін **не перевірявся з останніми 3-ма основними випусками WordPress**. Можливо,
він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності
при використанні з більш новими версіями WordPress.

![](https://s.w.org/plugins/geopattern-icon/html-helpers.svg)

# HTML Helpers

 Від автора [karevn](https://profiles.wordpress.org/karevn/)

[Завантажити](https://downloads.wordpress.org/plugin/html-helpers.0.2.3.zip)

 * [Деталі](https://uk.wordpress.org/plugins/html-helpers/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/html-helpers/#reviews)
 *  [Встановлення](https://uk.wordpress.org/plugins/html-helpers/#installation)
 * [Розробка](https://uk.wordpress.org/plugins/html-helpers/#developers)

 [Підтримка](https://wordpress.org/support/plugin/html-helpers/)

## Опис

This plugin adds simple HTML tag generation API to WordPress, like these examples:

generates and prints `<img src="/wp-content/<your-theme>/images/wordpress.png" alt
="Wordpress" />`. ‘my-image’)) ?> generates and returns almost the same tag, just
with absolute url, id and alt attributes set manually. term_id) ?> generates select
tag with options taken from WP ‘category’ taxonomy and sets $term as selected item
rails-like “cycle” that returns “odd” on first call, “even” on second, “odd” on 
third call, so on. reset_cycle resets the cycle. shortcut for echo(get_post_meta(
$id, ‘meta_name’, true))

Form field generators for `text`, `checkbox`, `hidden` input types, `textarea`, 
and more tags. More docs coming soon, you can read the code to figure out other 
features for now.

## Встановлення

This section describes how to install the plugin and get it working.

 1. Upload `html-helpers` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use html-helpers API in your plugins and themes.

OR

 1. Put html-helpers.php to your plugin or theme folder
 2. `require` it
 3. Use html-helpers API in your plugins and themes.

## Відгуки

Для цього плагіна немає відгуків.

## Учасники та розробники

“HTML Helpers” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій
вклад наступні учасники:

Учасники

 *   [ karevn ](https://profiles.wordpress.org/karevn/)

[Перекладіть “HTML Helpers” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/html-helpers)

### Цікавитесь розробкою?

[Перегляньте код](https://plugins.trac.wordpress.org/browser/html-helpers/), перегляньте
[сховище SVN](https://plugins.svn.wordpress.org/html-helpers/) або підпишіться на
[журнал розробки](https://plugins.trac.wordpress.org/log/html-helpers/) за допомогою
[RSS](https://plugins.trac.wordpress.org/log/html-helpers/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

#### 0.2.3

 * Removed unecessary closing tags for img, input
 * _img and img support image names without an extension
 * smarter ‘alt’ attribute handling for img

#### 0.2.2

 * Fixed endless recursion for img function

#### 0.2.1

 * Added `cycle,`reset_cycle`and`_cycle` functions to support rails-style cycles
 * Added “multiple” option support for `select` tag.

#### 0.2

 * Initial public release

## Мета

 *  Версія **0.2.3**
 *  Останнє оновлення **15 років тому**
 *  Активних встановлень **10+**
 *  Версія WordPress ** 1.5 або вище **
 *  Tested up to **3.1.4**
 *  Мова
 * [English (US)](https://wordpress.org/plugins/html-helpers/)
 * Позначки
 * [api](https://uk.wordpress.org/plugins/tags/api/)[code](https://uk.wordpress.org/plugins/tags/code/)
   [html](https://uk.wordpress.org/plugins/tags/html/)[php](https://uk.wordpress.org/plugins/tags/php/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/html-helpers/advanced/)

## Оцінки

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/html-helpers/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/html-helpers/reviews/)

## Учасники

 *   [ karevn ](https://profiles.wordpress.org/karevn/)

## Підтримка

Є що сказати? Потрібна допомога?

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/html-helpers/)

## Пожертвування

Ви хотіли б підтримати розвиток цього плагіна?

 [ Пожертвувати на розвиток плагіна ](https://uk.wordpress.org/plugins/html-helpers/karev.n@gmail.com?output_format=md)