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

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!
  • 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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Sapphire Popups”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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.