이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

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”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “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