বৰ্ণনা
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.
ইনষ্টলেশ্যন
This section describes how to install the plugin and get it working.
- Upload
html-helpers
directory to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Use html-helpers API in your plugins and themes.
OR
- Put html-helpers.php to your plugin or theme folder
require
it- Use html-helpers API in your plugins and themes.
পৰ্য্যালোচনা
এই প্লাগিনৰ বাবে কোনো পৰ্য্যালোচনা নাই।
অৱদানকাৰী আৰু বিকাশকাৰীসকল
আপোনাৰ ভাষাত “HTML Helpers” অনুবাদ কৰক।
বিকাশৰ প্ৰতি আগ্ৰহী?
ক’ড ব্ৰাউজ কৰক, SVN ৰিপজিটৰী চাওক নাইবা RSS-দ্বাৰা বিকাশৰ পঞ্জী ছাবস্ক্ৰাইব কৰক।
সলনি-পঞ্জী
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_cycleand
_cycle` functions to support rails-style cycles - Added “multiple” option support for
select
tag.
0.2
- Initial public release