Soronet Popup

Show content in a modal after page load

Author:Tanel Kollamaa (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:4.3.1
Plugin version:1.1.0
Added to WordPress repository:30-10-2015
Last updated:30-10-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:639
plugin download
Click to start download

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');
}

ChangeLog