Title: Sapphire Popups
Author: Bobby Lee
Published: <strong>2020 年 8 月 21 日</strong>
Last modified: 2020 年 10 月 2 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/sapphire-popups.svg)

# Sapphire Popups

 作者：[Bobby Lee](https://profiles.wordpress.org/bobbylee81/)

[下载](https://downloads.wordpress.org/plugin/sapphire-popups.1.3.1.zip)

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

 [支持](https://wordpress.org/support/plugin/sapphire-popups/)

## 描述

Sapphire Popups allows you to easily add popups and set the behavior of how the 
popup is displayed all without the use of cookies. It is compatible with the Classic
Editor and Gutenberg which makes it easy to use, it’s also very approachable for
developers to extend.

Major Features in Sapphire Popups include:

 * Easily create and manage popups using the Classic Editor or Gutenberg.
 * 3 popup behavior selections.
 * If a popup is updated it will be displayed again, even if the behavior has not
   expired.
 * Remove popup title option.
 * Does not use cookies.
 * More features coming soon!!

Behavior selections:

 * Default: Display popup on every page load.
 * Show Daily: Popup will be displayed once per day.
 * Show Once: Popup will show only once ever – unless behavior is changed or popup
   had been updated.

Popups that get updated will be displayed again even if the behavior is set to Show
Once. If the behavior is set to Show Daily and the popup is updated it will be displayed
again and the daily timer will start over. This allows for updates to be made even
after the popup has been displayed.

## 屏幕截图

[⌊Sapphire Popups settings page. Select a popup, the behavior, and if you want to
exclude the Popup Title - that's it!⌉⌊Sapphire Popups settings page. Select a popup,
the behavior, and if you want to exclude the Popup Title - that's it!⌉[

Sapphire Popups settings page. Select a popup, the behavior, and if you want to 
exclude the Popup Title – that’s it!

[⌊Managing popups is easy.⌉⌊Managing popups is easy.⌉[

Managing popups is easy.

## 安装

Upload the Sapphire Popups plugin to your site, activate it, and start creating 
popups.

Enjoy!

## 常见问题

### What is the Default Behavior

The Default Behavior will display the popup on every page load.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Bobby Lee ](https://profiles.wordpress.org/bobbylee81/)

[帮助将「Sapphire Popups」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/sapphire-popups)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.3.1: – 2020-10-01

 * Removed.
 * Cleaned up and removed unnecessary files due to switch of OOP architecture.

#### 1.3.0: – 2020-09-25

 * Fixed.
 * Added missing files.

#### 1.2.0: – 2020-09-24

 * Re-wrote plugin in OOP architecture using the WordPress Plugin Boilerplate.
 * All functionality is the same.

#### 1.1.0: – 2020-09-16

 * Changed: Converted main plugin file to a class – SapphirePopup.

#### 1.0.1: – 2020-09-16

 * Fixed
 * Added the_content filter on popup content so that it can be treated the same 
   way as a normal post.
 * The issue was that

<

p> tags were not being added so all lines ended up on one line. The wpautop filter
which added

<

p> tags is one of the filters used in the_content so I just used that.
 – I also
used wp_kses_post for extra sanitization when pulling from the DB but this removes
custom HTML. I found that get_post_by_title() uses get_post() which uses sanitize_post()
so this is happening by default. – includes > core-functions.php > sapphire_popups_add_popup_script.–
https://github.com/runningCoder81/sapphire-popups/issues/1

#### 1.0.0: 2020-08-30

 * Created version 1.

## 额外信息

 *  版本 **1.3.1**
 *  最后更新：**6 年前**
 *  活跃安装数量 **10+**
 *  已测试的最高版本为 **5.5.24**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/sapphire-popups/)
 * 标签
 * [classic editor](https://cn.wordpress.org/plugins/tags/classic-editor/)[Easy to use](https://cn.wordpress.org/plugins/tags/easy-to-use/)
   [gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)[no cookies](https://cn.wordpress.org/plugins/tags/no-cookies/)
   [popups](https://cn.wordpress.org/plugins/tags/popups/)
 *  [高级视图](https://cn.wordpress.org/plugins/sapphire-popups/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/sapphire-popups/reviews/#new-post)

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

## 贡献者

 *   [ Bobby Lee ](https://profiles.wordpress.org/bobbylee81/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/sapphire-popups/)