這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.