{"id":343581,"date":"2026-07-30T00:44:48","date_gmt":"2026-07-30T00:44:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/homepage-popup-notice\/"},"modified":"2026-08-06T04:32:20","modified_gmt":"2026-08-06T04:32:20","slug":"homepage-popup-notice","status":"publish","type":"plugin","link":"https:\/\/nl.wordpress.org\/plugins\/homepage-popup-notice\/","author":20421663,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.5","stable_tag":"1.0.5","tested":"7.0.5","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Homepage Popup Notice","header_author":"ts\u5c0f\u9648","header_description":"A lightweight popup notice plugin with 3 styles: card popup, modal overlay, and toast notification. \u5f39\u7a97\u516c\u544a\uff0c\u4e00\u6b3e\u7b80\u5355\u6613\u7528\u7684WordPress\u9996\u9875\u5f39\u7a97\u516c\u544a\u63d2\u4ef6\uff0c\u652f\u6301\u4e09\u79cd\u5f39\u7a97\u6837\u5f0f\u3002","assets_banners_color":"9199ba","last_updated":"2026-08-06 04:32:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.kqwq.com\/wordpress\/plugins\/3241.html","header_author_uri":"https:\/\/www.kqwq.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":244,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.2":{"tag":"1.0.2","author":"tsxcc","date":"2026-07-30 00:44:19"},"1.0.3":{"tag":"1.0.3","author":"tsxcc","date":"2026-07-31 06:42:47"},"1.0.4":{"tag":"1.0.4","author":"tsxcc","date":"2026-08-06 04:16:19"},"1.0.5":{"tag":"1.0.5","author":"tsxcc","date":"2026-08-06 04:32:20"}},"upgrade_notice":{"1.0.3":"<p>New admin UI and help tab added. Settings remain unchanged.<\/p>","1.0.1":"<p>Security and guideline compliance update. Custom CSS feature has been removed. Please review your popup styling after updating.<\/p>","1.0.0":"<p>This is a complete rewrite. You will need to reconfigure your popup settings after upgrading. Please back up your old settings before updating.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3627890,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3627890,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3629590,"resolution":"772x250","location":"assets","locale":"","width":3488,"height":1120}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.2","1.0.3","1.0.4","1.0.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3636201,"resolution":"1","location":"assets","locale":"","width":2848,"height":1600},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3636206,"resolution":"2","location":"assets","locale":"","width":2848,"height":1600},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3636206,"resolution":"3","location":"assets","locale":"","width":2848,"height":1600},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3636206,"resolution":"4","location":"assets","locale":"","width":2848,"height":1600}},"screenshots":{"1":"Plugin settings page \u2014 visual style selector with preview cards","2":"Style 1 \u2014 Centered card popup with logo","3":"Style 2 \u2014 Modal overlay popup","4":"Style 3 \u2014 Toast notification"}},"plugin_section":[],"plugin_tags":[7540,1334,491,193963,273747],"plugin_category":[],"plugin_contributors":[273748],"plugin_business_model":[],"class_list":["post-343581","plugin","type-plugin","status-publish","hentry","plugin_tags-announcement","plugin_tags-notice","plugin_tags-popup","plugin_tags-193963","plugin_tags-273747","plugin_contributors-tsxcc","plugin_committers-tsxcc"],"banners":{"banner":"https:\/\/ps.w.org\/homepage-popup-notice\/assets\/banner-772x250.png?rev=3629590","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/homepage-popup-notice\/assets\/icon-128x128.png?rev=3627890","icon_2x":"https:\/\/ps.w.org\/homepage-popup-notice\/assets\/icon-256x256.png?rev=3627890","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/homepage-popup-notice\/assets\/screenshot-1.png?rev=3636201","caption":"Plugin settings page \u2014 visual style selector with preview cards"},{"src":"https:\/\/ps.w.org\/homepage-popup-notice\/assets\/screenshot-2.png?rev=3636206","caption":"Style 1 \u2014 Centered card popup with logo"},{"src":"https:\/\/ps.w.org\/homepage-popup-notice\/assets\/screenshot-3.png?rev=3636206","caption":"Style 2 \u2014 Modal overlay popup"},{"src":"https:\/\/ps.w.org\/homepage-popup-notice\/assets\/screenshot-4.png?rev=3636206","caption":"Style 3 \u2014 Toast notification"}],"raw_content":"<!--section=description-->\n<p>Homepage Popup Notice (\u5f39\u7a97\u516c\u544a) 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 \u2014 just activate, customize, and go.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li><strong>3 Popup Styles<\/strong>: Centered card popup, modal overlay, and toast notification<\/li>\n<li><strong>Customizable Content<\/strong>: Logo image, button text, links, and color options<\/li>\n<li><strong>Visual Style Selector<\/strong>: Click preview cards to switch styles instantly<\/li>\n<li><strong>Smart Display<\/strong>: Cookie-based frequency control (once per day per user)<\/li>\n<li><strong>Lightweight<\/strong>: No external dependencies, minimal footprint<\/li>\n<li><strong>Beautiful Admin UI<\/strong>: Flat, colorful, block-based settings page<\/li>\n<li><strong>Help Center<\/strong>: Built-in help tab with FAQ and contact info<\/li>\n<\/ul>\n\n<h4>Style Preview<\/h4>\n\n<ul>\n<li><strong>Style 1 \u2014 Centered Card Popup<\/strong>: A centered card with logo avatar, close button, and action link. Perfect for brand announcements.<\/li>\n<li><strong>Style 2 \u2014 Modal Overlay<\/strong>: Full-screen semi-transparent overlay with centered modal. Ideal for important notices.<\/li>\n<li><strong>Style 3 \u2014 Toast Notification<\/strong>: Growl\/Toast-style notification that auto-dismisses. Great for subtle alerts.<\/li>\n<\/ul>\n\n<h4>Usage<\/h4>\n\n<ol>\n<li>Activate the plugin<\/li>\n<li>Go to Settings \u2192 Homepage Popup Notice<\/li>\n<li>Choose your popup style and customize content<\/li>\n<li>Save and view your site!<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code> directory, or install via WordPress plugin installer.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Go to <strong>Settings \u2192 Homepage Popup Notice<\/strong> to configure.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"the%20popup%20is%20not%20showing.%20what%20should%20i%20do%3F\"><h3>The popup is not showing. What should I do?<\/h3><\/dt>\n<dd><p>Please check:\n1. The plugin is activated and you've saved popup content in settings.\n2. Enable \"Cookie fix\" in the plugin settings.\n3. Check browser console for JavaScript errors.<\/p><\/dd>\n<dt id=\"my%20site%27s%20javascript%20broke%20after%20installing%20this%20plugin.\"><h3>My site's JavaScript broke after installing this plugin.<\/h3><\/dt>\n<dd><p>WordPress ships with a modern version of jQuery. This plugin uses the built-in jQuery. If you encounter issues, try updating your theme.<\/p><\/dd>\n<dt id=\"does%20the%20popup%20show%20every%20page%20load%3F\"><h3>Does the popup show every page load?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"can%20i%20customize%20the%20popup%20appearance%3F\"><h3>Can I customize the popup appearance?<\/h3><\/dt>\n<dd><p>Yes! Each style has its own content editor and color options in the plugin settings.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20work%20with%20caching%20plugins%3F\"><h3>Does this plugin work with caching plugins?<\/h3><\/dt>\n<dd><p>Yes. The popup is rendered via wp_footer action and works with most caching plugins.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>i18n: Fixed help tab answers not translated (quote escaping in source strings)<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>i18n: All source strings now in English, translated to zh_CN via .po\/.mo<\/li>\n<li>i18n: Added zh_CN translation files (languages\/)<\/li>\n<li>i18n: Regenerated .pot template<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>New: Flat and colorful admin UI redesign<\/li>\n<li>New: Help tab with FAQ, contact author and plugin intro<\/li>\n<li>New: Dropdown arrow and description for notification position<\/li>\n<li>Update: High-resolution style preview images<\/li>\n<li>Fix: Style 3 notification script loading<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Renamed js.cookie.js to cookie.js for broader filesystem compatibility<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Removed custom CSS\/JS input fields (WP.org guideline compliance)<\/li>\n<li>Replaced inline style\/script tags with wp_add_inline_style \/ wp_add_inline_script<\/li>\n<li>Fixed nonce sanitization (wp_unslash + sanitize_text_field)<\/li>\n<li>Removed bundled jQuery (use WordPress built-in)<\/li>\n<li>Updated js-cookie to v3.0.8<\/li>\n<li>Removed load_plugin_textdomain() (automatic in WP 4.6+)<\/li>\n<li>Tested with WordPress 7.0<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Complete rewrite: WordPress Settings API replaces Redux Framework<\/li>\n<li>All obfuscated\/encrypted code removed<\/li>\n<li>External update checker removed<\/li>\n<li>Phone-home tracking on activation removed<\/li>\n<li>Bundled Redux Framework removed<\/li>\n<li>New admin page: Settings \u2192 Homepage Popup Notice<\/li>\n<li>Full i18n support (.pot file included)<\/li>\n<li>All functions prefixed with hppn_<\/li>\n<li>All output properly escaped (esc_*, wp_kses_post)<\/li>\n<li>Complete sanitize callback for all options<\/li>\n<li>Visual style selector with preview images<\/li>\n<li>Color picker and media upload support<\/li>\n<li>Tested with WordPress 6.9<\/li>\n<\/ul>","raw_excerpt":"A lightweight WordPress popup plugin with 3 styles for announcements, notifications, or ads.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/343581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=343581"}],"author":[{"embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tsxcc"}],"wp:attachment":[{"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=343581"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=343581"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=343581"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=343581"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=343581"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=343581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}