该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

In Field Labels

描述

This plugin turns properly formatted html forms into in-field labels.
This is integration with the http://fuelyourcoding.com/scripts/infield/
when the input field is focussed then label fade & entry begins in input field then label text disappered.
When clearing the field the label text reappears.

Html form format as below

<form id="test" method="post" >
<p>
  <label for="field_id">Label Text</label><br />
  <input type="text" name="field_id" value="" id="field_id" placeholder="">
</p>
</form>

屏幕截图

  • Add form id’s in the backend separated with comma.
  • form looks like in the front end.

安装

Installing the In Field Labels plugin is very easy. Simply follow the steps below.

  1. Extract the package to obtain the in-field-labels folder
  2. Upload the in-field-labels folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Configure the settings according to your needs through the Settings > In Field Labels menu
  5. Add form id (not including # sign) separated with comma( like commentform,test ) in the ‘In Field Labels’ section

常见问题

What will be the html form formats

Simple format of html forms

<form id="test" method="post" >
<p>
  <label for="field_id">Label Text</label><br />
  <input type="text" name="field_id" value="" id="field_id" placeholder="">
</p>
</form>

评价

此插件暂无评价。

贡献者及开发者

「In Field Labels」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「In Field Labels」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Initial release of the In Field Labels plugin