BACK TO DIRECTORY

HTML Helpers

by karevn

0.0
(0 ratings)

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.

Plugin Details

Active Installs
10
Total Downloads
2,454
Version
0.2.3
Requires WP
1.5
Requires PHP
Tested Up To
3.1.4
Added
2011-05-15
Last Updated
2011-06-16 10:28am GMT

Ratings

5
0
4
0
3
0
2
0
1
0