Title: Conditional If/Then/Else Smart Tags for WPForms
Author: maximum.software
Published: <strong>2025 年 1 月 25 日</strong>
Last modified: 2025 年 1 月 25 日

---

搜索插件

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

![](https://ps.w.org/conditional-smart-tags-for-wpforms/assets/icon.svg?rev=3228288)

# Conditional If/Then/Else Smart Tags for WPForms

 作者：[maximum.software](https://profiles.wordpress.org/maximumsoftware/)

[下载](https://downloads.wordpress.org/plugin/conditional-smart-tags-for-wpforms.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/conditional-smart-tags-for-wpforms/#description)
 * [评价](https://cn.wordpress.org/plugins/conditional-smart-tags-for-wpforms/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/conditional-smart-tags-for-wpforms/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/conditional-smart-tags-for-wpforms/#developers)

 [支持](https://wordpress.org/support/plugin/conditional-smart-tags-for-wpforms/)

## 描述

Conditional If/Then/Else Smart Tags for WPForms enhances your form by adding conditional
logic capabilities through smart tags. This plugin allows you to display different
content based on form field values.

#### Features

 * Add if/then/else conditions where smart tags can be used
 * Compare field values using exact match conditions

#### Example Usage

Use this syntax in your WPForms notifications or confirmations:

    ```
    {if field_id="3" value="TestValue"}
    This message is shown ONLY if field #3 exactly matches "TestValue".
    {else}
    This message is shown otherwise.
    {/if}
    ```

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/conditional-smart-tags-for-
    wpforms` directory, or install the plugin through the WordPress plugins screen 
    directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the new if/then/else smart tags in your WPForms notifications and confirmations

## 常见问题

### How do I find a field’s ID?

The field ID can be found in the WPForms form builder. When editing a field, look
for the “Field ID” in the field options panel on the left.

### Can I use multiple conditions?

Yes, you can use multiple if/then/else blocks. Just make sure to properly close 
each if block with {/if}.

### Can I nest if/then/else blocks and other smart tags?

Yes, you can use nested if/then/else blocks and other smart tags.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Conditional If/Then/Else Smart Tags for WPForms」是开源软件。 以下人员对此插件
做出了贡献。

贡献者

 *   [ maximum.software ](https://profiles.wordpress.org/maximumsoftware/)

「Conditional If/Then/Else Smart Tags for WPForms」插件已被翻译至 1 种本地化语言。
感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/conditional-smart-tags-for-wpforms/contributors)
为本插件所做的贡献。

[帮助将「Conditional If/Then/Else Smart Tags for WPForms」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/conditional-smart-tags-for-wpforms)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/conditional-smart-tags-for-wpforms/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/conditional-smart-tags-for-wpforms/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/conditional-smart-tags-for-wpforms/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/conditional-smart-tags-for-wpforms/)。

## 更新日志

#### 1.0.1

 * Release date: January 24, 2025
 * Minor changes

#### 1.0.0

 * Release date: January 21, 2025
 * Initial release

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**1 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.2 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/conditional-smart-tags-for-wpforms/)
   和 [Russian](https://ru.wordpress.org/plugins/conditional-smart-tags-for-wpforms/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/conditional-smart-tags-for-wpforms)
 * 标签
 * [conditional fields](https://cn.wordpress.org/plugins/tags/conditional-fields/)
   [conditional logic](https://cn.wordpress.org/plugins/tags/conditional-logic/)
   [forms](https://cn.wordpress.org/plugins/tags/forms/)[WPForms](https://cn.wordpress.org/plugins/tags/wpforms/)
 *  [高级视图](https://cn.wordpress.org/plugins/conditional-smart-tags-for-wpforms/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/conditional-smart-tags-for-wpforms/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/conditional-smart-tags-for-wpforms/reviews/)

## 贡献者

 *   [ maximum.software ](https://profiles.wordpress.org/maximumsoftware/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/conditional-smart-tags-for-wpforms/)