Title: Shortcode Popup Forms
Author: thaxam
Published: <strong>2026 年 2 月 4 日</strong>
Last modified: 2026 年 2 月 5 日

---

搜索插件

![](https://ps.w.org/shortcode-popup-forms/assets/banner-772x250.png?rev=3454625)

![](https://ps.w.org/shortcode-popup-forms/assets/icon-256x256.png?rev=3454621)

# Shortcode Popup Forms

 作者：[thaxam](https://profiles.wordpress.org/thaxam/)

[下载](https://downloads.wordpress.org/plugin/shortcode-popup-forms.1.2.2.zip)

 * [详情](https://cn.wordpress.org/plugins/shortcode-popup-forms/#description)
 * [评价](https://cn.wordpress.org/plugins/shortcode-popup-forms/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/shortcode-popup-forms/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/shortcode-popup-forms/#developers)

 [支持](https://wordpress.org/support/plugin/shortcode-popup-forms/)

## 描述

The Shortcode Popup Forms plugin allows you to easily add contact forms to your 
WordPress pages using a simple shortcode. When users click the contact button, a
modern contact form appears with fields for name, title, email, and message. The
plugin supports custom SMTP settings for reliable email delivery and offers multiple
button design options.

### Features

 * Add a contact form anywhere using a simple shortcode
 * Assign the message recipient (person/department) per shortcode
 * Minimal, fast, and fully responsive
 * No bloat — only essential fields
 * GDPR-friendly (no tracking, no cookies)
 * Works with any theme
 * Supports custom success messages

### Shortcode Example

    ```
    `
    ```

[thaxam-contact name=”John Doe” email=”john@example.com”]
 `

### Settings Page

The plugin settings page can be accessed from your WordPress admin dashboard:

 1. Go to **Tools > Shortcode Popup Forms**
 2. Configure SMTP settings for custom email delivery
 3. Customize button designs and default recipient information

The settings page includes three tabs:
 – **SMTP Settings**: Configure custom SMTP
server details for reliable email delivery – **Default Recipient**: Set default 
contact name and email for forms when not specified in shortcode – **Button Design**:
Customize button appearance, colors, and behavior with multiple design options

### Usage

Add the contact form to any page or post using the shortcode:

[thaxam-contact name=”John Doe” email=”johndoe@email.com”]

### Shortcode Parameters

 * `name` (required): The name of the person to contact
 * `email` (required): The email address to send the message to
 * `design` (optional): Override the default button design (default, modern, gradient,
   outline, neumorphism, glassmorphism)

### Examples

[thaxam-contact name=”John Doe” email=”johndoe@email.com”]

This will create a “Send Email” button with the default design that reveals a contact
form when clicked.

[thaxam-contact name=”Jane Smith” email=”jane@email.com” design=”modern”]

This will create a “Send Email” button with the modern design style.

### SMTP Configuration

If the default WordPress email settings don’t work, you can configure custom SMTP
settings:

 1. Go to **Tools > Shortcode Popup Forms** in your WordPress admin
 2. Enter your SMTP server details:
 3.  * **SMTP Host**: Your email server hostname (e.g., smtp.gmail.com)
     * **SMTP Port**: Usually 587 for TLS or 465 for SSL
     * **SMTP Encryption**: TLS, SSL, or None
     * **SMTP Username**: Your email username
     * **SMTP Password**: Your email password
 4. Save the settings

### Gmail Configuration Example

For Gmail:
 – SMTP Host: smtp.gmail.com – SMTP Port: 587 – SMTP Encryption: TLS –
SMTP Username: your-gmail@gmail.com – SMTP Password: Your Gmail app password (not
your regular password)

**Note**: You may need to enable “Less secure app access” or generate an app password
for Gmail.

### Button Design Customization

The plugin offers extensive button customization options:

 1. Go to **Tools > Thaxam Contact Form > Button Design** tab
 2. Choose from 6 different design styles
 3. Customize colors using color pickers:
 4.  * Background Color
     * Text Color
     * Hover Background Color
 5. Adjust styling properties:
 6.  * Border Radius
     * Padding
     * Font Size

### Form Fields

The contact form includes the following fields:

 * **Your Name** (required): Sender’s full name
 * **Title**: Optional title or subject
 * **Your Email** (required): Sender’s email address
 * **Message** (required): The message content

### Security Features

 * All form inputs are properly sanitized
 * Nonce verification for AJAX requests
 * Email validation
 * XSS protection through proper escaping

### Support

For support or feature requests, please contact Thaxam.

### License

This plugin is licensed under the GPL v2 or later.

### Credits

Made by Thaxam

## 屏幕截图

 * [[
 * Settings page with SMTP configuration
 * [[
 * Button design customization options
 * [[
 * Example contact form in action
 * [[

## 安装

 1. Upload the `shortcode-popup-forms` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Configure SMTP settings in Tools > Shortcode Popup Forms (optional)
 4. Customize button design in Tools > Shortcode Popup Forms > Button Design tab

## 常见问题

### Can I customize the form styling?

Yes, you can override the CSS by adding custom styles to your theme’s stylesheet.

### Does this plugin store form submissions?

No, form submissions are sent directly via email and not stored in the database.

### Can I use this with any email service?

Yes, as long as it supports SMTP. Popular services like Gmail, Outlook, SendGrid,
etc., are supported.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Shortcode Popup Forms」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Shortcode Popup Forms」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/shortcode-popup-forms)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.2

 * Version bump to 1.2.2.

#### 1.2.1

 * Changed shortcode from ‘contact’ to ‘thaxam-contact’.
 * Updated readme files and file headers.

#### 1.2.0

 * Updated plugin slug to shortcode-popup-forms
 * Changed shortcode name to Shortcode_popup

#### 1.1.0

 * Added multiple button design options (Default, Modern, Gradient, Outline, Neumorphism,
   Glassmorphism)
 * Added comprehensive button customization controls (colors, padding, border radius,
   font size)
 * Redesigned settings page with tabbed interface
 * Changed from modal popup to inline form display
 * Updated button text to “Send Email”
 * Added optional design parameter to shortcode

#### 1.0.0

 * Initial release
 * Shortcode functionality
 * Popup modal with contact form
 * Custom SMTP settings
 * AJAX form submission
 * Responsive design

## 额外信息

 *  版本 **1.2.2**
 *  最后更新：**4 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/shortcode-popup-forms/)
 * 标签
 * [contact](https://cn.wordpress.org/plugins/tags/contact/)[email](https://cn.wordpress.org/plugins/tags/email/)
   [form](https://cn.wordpress.org/plugins/tags/form/)[popup](https://cn.wordpress.org/plugins/tags/popup/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
 *  [高级视图](https://cn.wordpress.org/plugins/shortcode-popup-forms/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/shortcode-popup-forms/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/shortcode-popup-forms/reviews/)

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/shortcode-popup-forms/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://paypal.me/thaxam)