Title: HTML Helpers
Author: karevn
Published: <strong>15 می 2011</strong>
Last modified: 16 ژوئن 2011

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

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

# HTML Helpers

 توسط [karevn](https://profiles.wordpress.org/karevn/)

[دانلود](https://downloads.wordpress.org/plugin/html-helpers.0.2.3.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/html-helpers/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/html-helpers/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/html-helpers/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/html-helpers/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/html-helpers/)

## توضیحات

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.

 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.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“HTML Helpers” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

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

[ترجمه “HTML Helpers” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/html-helpers)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/html-helpers/)، [مخزن SVN](https://plugins.svn.wordpress.org/html-helpers/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/html-helpers/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/html-helpers/) مشترک شوید.

## گزارش تغییرات

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

## اطلاعات

 *  نگارش **0.2.3**
 *  آخرین به‌روزرسانی **15 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 1.5 یا بالاتر **
 *  آزمایش‌شده تا **3.1.4**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/html-helpers/)
 * برچسب
 * [api](https://fa.wordpress.org/plugins/tags/api/)[code](https://fa.wordpress.org/plugins/tags/code/)
   [html](https://fa.wordpress.org/plugins/tags/html/)[php](https://fa.wordpress.org/plugins/tags/php/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/html-helpers/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[بررسی شما](https://wordpress.org/support/plugin/html-helpers/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/html-helpers/reviews/)

## مشارکت کنندگان

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

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/html-helpers/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://fa.wordpress.org/plugins/html-helpers/karev.n@gmail.com?output_format=md)