Home Plugins html helpers
HTML Helpers logo

HTML Helpers

by karevn on WordPress.org

This plugin adds simple HTML tag generation API to WordPress.

(0)

This plugin adds simple HTML tag generation API to WordPress, like these examples:
generates and prints 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.

Active installations10+
Weekly downloads
5-44.44%
Version0.2.3
Last updated6/16/2011
WordPress version1.5
Tested up to3.1.4
Tags
apicodehtmlphp
HTML Helpers | Plugin0