Title: HTML Helpers
Author: karevn
Published: <strong>15 mei 2011</strong>
Last modified: 16 juni 2011

---

Plugins zoeken

Deze plugin **is niet getest met de laatste drie grote versies van WordPress**. 
Mogelijk wordt het niet meer onderhouden of ondersteund. Er kunnen ook compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

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

# HTML Helpers

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

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

 * [Details](https://nl-be.wordpress.org/plugins/html-helpers/#description)
 * [Beoordelingen](https://nl-be.wordpress.org/plugins/html-helpers/#reviews)
 *  [Installatie](https://nl-be.wordpress.org/plugins/html-helpers/#installation)
 * [Ontwikkeling](https://nl-be.wordpress.org/plugins/html-helpers/#developers)

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

## Beschrijving

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.

## Installatie

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.

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“HTML Helpers” is open source software. De volgende personen hebben bijgedragen 
aan deze plugin.

Bijdragers

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

[Vertaal “HTML Helpers” naar jouw taal.](https://translate.wordpress.org/projects/wp-plugins/html-helpers)

### Interesse in de ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/html-helpers/), haal
de [SVN repository](https://plugins.svn.wordpress.org/html-helpers/) op, of abonneer
je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/html-helpers/) via
[RSS](https://plugins.trac.wordpress.org/log/html-helpers/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

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

 *  Versie **0.2.3**
 *  Laatst bijgewerkt: **15 jaar geleden**
 *  Actieve installaties: **10+**
 *  WordPress versie ** 1.5 of nieuwer **
 *  Getest t/m **3.1.4**
 *  Taal
 * [English (US)](https://wordpress.org/plugins/html-helpers/)
 * Tags
 * [api](https://nl-be.wordpress.org/plugins/tags/api/)[code](https://nl-be.wordpress.org/plugins/tags/code/)
   [html](https://nl-be.wordpress.org/plugins/tags/html/)[php](https://nl-be.wordpress.org/plugins/tags/php/)
 *  [Geavanceerde weergave](https://nl-be.wordpress.org/plugins/html-helpers/advanced/)

## Beoordelingen

Er zijn nog geen beoordelingen ingediend.

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

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/html-helpers/reviews/)

## Bijdragers

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

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/html-helpers/)

## Doneren

Wil je de groei van deze plugin ondersteunen?

 [ Doneer aan deze plugin ](https://nl-be.wordpress.org/plugins/html-helpers/karev.n@gmail.com?output_format=md)