Title: Homepage Popup Notice
Author: tsxcc
Published: <strong>July 30, 2026</strong>
Last modified: July 30, 2026

---

Search plugins

![](https://ps.w.org/homepage-popup-notice/assets/banner-772x250.png?rev=3627890)

![](https://ps.w.org/homepage-popup-notice/assets/icon-256x256.png?rev=3627890)

# Homepage Popup Notice

 By [tsxcc](https://profiles.wordpress.org/tsxcc/)

[Download](https://downloads.wordpress.org/plugin/homepage-popup-notice.1.0.2.zip)

 * [Details](https://wordpress.org/plugins/homepage-popup-notice/#description)
 * [Reviews](https://wordpress.org/plugins/homepage-popup-notice/#reviews)
 *  [Installation](https://wordpress.org/plugins/homepage-popup-notice/#installation)
 * [Development](https://wordpress.org/plugins/homepage-popup-notice/#developers)

 [Support](https://wordpress.org/support/plugin/homepage-popup-notice/)

## Description

Homepage Popup Notice (弹窗公告) is a simple yet powerful popup plugin for WordPress.
Display announcements, promotions, or important notices on your site’s homepage 
with three distinct styles. No complex configuration needed — just activate, customize,
and go.

#### Features

 * **3 Popup Styles**: Centered card popup, modal overlay, and toast notification
 * **Customizable Content**: Logo image, button text, links, and custom CSS
 * **jQuery Compatibility**: Optional downgrade to jQuery 2.1.4 for legacy themes
 * **Smart Display**: Cookie-based frequency control (once per day)
 * **Lightweight**: No external dependencies, minimal footprint
 * **Translation Ready**: Full i18n support with .pot file

#### Style Preview

 * **Style 1 — Centered Card Popup**: A centered card with logo avatar, close button,
   and action link. Perfect for brand announcements.
 * **Style 2 — Modal Overlay**: Full-screen semi-transparent overlay with centered
   modal. Ideal for important notices.
 * **Style 3 — Toast Notification**: Growl/Toast-style notification that auto-dismisses.
   Great for subtle alerts.

#### Usage

 1. Activate the plugin
 2. Go to Settings  弹窗公告 (Homepage Popup Notice)
 3. Choose your popup style and customize content
 4. Save and view your site!

## Screenshots

[⌊Plugin settings page — visual style selector with preview cards⌉⌊Plugin settings
page — visual style selector with preview cards⌉[

Plugin settings page — visual style selector with preview cards

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/` directory, or install via WordPress
    plugin installer.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Go to **Settings  弹窗公告** (Homepage Popup Notice) to configure.

## FAQ

### The popup is not showing. What should I do?

Please check:
 1. The plugin is activated and you’ve saved popup content in settings.
2. Enable “修复2” (Cookie fix) in the plugin settings. 3. Check browser console 
for JavaScript errors.

### My site’s JavaScript broke after installing this plugin.

WordPress ships with a modern version of jQuery. This plugin uses the built-in jQuery.
If you encounter issues, try updating your theme.

### Does the popup show every page load?

No. Style 1 and Style 2 use cookies to remember when a user closes the popup, so
it only shows once per day per user.

### Can I customize the popup appearance?

Yes! Each style has its own content editor and color options in the plugin settings.

### Does this plugin work with caching plugins?

Yes. The popup is rendered via wp_footer action and works with most caching plugins.

### 弹窗不显示怎么办？

请检查：
 1. 确保插件已激活，且在设置中已保存弹窗内容。 2. 在设置中勾选「修复2」（
Cookie 支持）。 3. 检查浏览器控制台是否有 JS 错误。

### 安装插件后网站前台 JS 失效了？

WordPress 自带最新版 jQuery，本插件使用默认 jQuery。如遇兼容问题，请更新您的主题。

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Homepage Popup Notice” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “Homepage Popup Notice” into your language.](https://translate.wordpress.org/projects/wp-plugins/homepage-popup-notice)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/homepage-popup-notice/),
check out the [SVN repository](https://plugins.svn.wordpress.org/homepage-popup-notice/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/homepage-popup-notice/)
by [RSS](https://plugins.trac.wordpress.org/log/homepage-popup-notice/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.2

 * Renamed js.cookie.js to cookie.js for broader filesystem compatibility

#### 1.0.1

 * Removed custom CSS/JS input fields (WP.org guideline compliance)
 * Replaced inline style/script tags with wp_add_inline_style / wp_add_inline_script
 * Fixed nonce sanitization (wp_unslash + sanitize_text_field)
 * Removed bundled jQuery (use WordPress built-in)
 * Updated js-cookie to v3.0.8
 * Removed load_plugin_textdomain() (automatic in WP 4.6+)
 * Tested with WordPress 7.0

#### 1.0.0

 * Complete rewrite: WordPress Settings API replaces Redux Framework
 * All obfuscated/encrypted code removed
 * External update checker removed
 * Phone-home tracking on activation removed
 * Bundled Redux Framework removed
 * New admin page: Settings  弹窗公告
 * Full i18n support (.pot file included)
 * All functions prefixed with hppn_
 * All output properly escaped (esc_*, wp_kses_post)
 * Complete sanitize callback for all options
 * Visual style selector with preview images
 * Color picker and media upload support
 * Tested with WordPress 6.9

## Meta

 *  Version **1.0.2**
 *  Last updated **5 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.0.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [announcement](https://wordpress.org/plugins/tags/announcement/)[notice](https://wordpress.org/plugins/tags/notice/)
   [popup](https://wordpress.org/plugins/tags/popup/)[弹窗](https://wordpress.org/plugins/tags/%e5%bc%b9%e7%aa%97/)
 *  [Advanced View](https://wordpress.org/plugins/homepage-popup-notice/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/homepage-popup-notice/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/homepage-popup-notice/)