Title: HTML Helpers
Author: karevn
Published: <strong>15 maio, 2011</strong>
Last modified: 16 junho, 2011

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

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

# HTML Helpers

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

[Baixar](https://downloads.wordpress.org/plugin/html-helpers.0.2.3.zip)

 * [Detalhes](https://br.wordpress.org/plugins/html-helpers/#description)
 * [Avaliações](https://br.wordpress.org/plugins/html-helpers/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/html-helpers/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/html-helpers/#developers)

 [Suporte](https://wordpress.org/support/plugin/html-helpers/)

## Descrição

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.

## Instalação

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.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“HTML Helpers” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

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

[Traduzir o “HTML Helpers” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/html-helpers)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/html-helpers/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/html-helpers/) ou
assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/html-helpers/)
por [RSS](https://plugins.trac.wordpress.org/log/html-helpers/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 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

## Meta

 *  Versão **0.2.3**
 *  Última atualização **15 anos atrás**
 *  Instalações ativas **10+**
 *  Versão do WordPress ** 1.5 ou superior **
 *  Testado até **3.1.4**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/html-helpers/)
 * Tags
 * [api](https://br.wordpress.org/plugins/tags/api/)[code](https://br.wordpress.org/plugins/tags/code/)
   [html](https://br.wordpress.org/plugins/tags/html/)[php](https://br.wordpress.org/plugins/tags/php/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/html-helpers/advanced/)

## Classificações

Ainda não foi enviada nenhuma avaliação.

[Sua avaliação](https://wordpress.org/support/plugin/html-helpers/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/html-helpers/reviews/)

## Colaboradores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/html-helpers/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](https://br.wordpress.org/plugins/html-helpers/karev.n@gmail.com?output_format=md)