This plugin is outdated and might not be supported anymore
HTML Helpers

HTML Helpers

Details
View on WordPress

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.

Details

Plugin code:
html-helpers
Plugin version:
0.2.3
Outdated:
Yes
WP version:
1.5 or higher
PHP version:
or higher
Test up to WP version:
3.1.4
Total installations:
10
Last updated:
2011-06-16
Rating:
Times rated:
0
api
code
html
php