跳到内容

Soronet Popup

v1.1.0

Dabuuker · 2015年10月30日 上架

Show content in a modal after page load

正在使用
10 以下
评分
暂无
累计下载
1,101
最近更新
2015年10月30日
需要 WordPress 4.0+已测试到 4.3.34

贡献者

Show content in a modal after page load.

Usage:

Select ‘SN Popup’ from the admin menu, then Add New. Type a name for the popup and insert any content you like. If you’re done, click Publish.

Now find a page or post you’d like to see the popup on and edit it. There should be a new metabox called ‘SN Popup’, choose the settings you want and hit Update, then view your page.

Video: https://www.youtube.com/watch?v=t6lt6v3fuEQ

To change the styling of the modal, you can override its styles in your theme’s css. Or for more advanced styling you can dequeue the default css and replace it with your own.

For reference, the default unminified version of the css is located at /plugins/sn-popup/vendor/featherlight-1.3.4/src/featherlight.css

To dequeue the old css and enqueue your own, add something like this to your functions.php:

add_action('wp_enqueue_scripts','remove_featherlight_css'); function remove_featherlight_css(){     wp_dequeue_style('sn-featherlight');     wp_enqueue_style('featherlight-new-css','/path-to-new-css'); } 

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums