$theme, 'topbar' => $topbar, 'width' => $width, 'drag' => $drag, 'oani' => $oani, 'cani' => $cani, 'title' => $title, 'desc' => $desc, 'abut' => $abut, 'dbut' => $dbut, 'durl' => $durl, 'mdev' => $mdev, 'sitewide' => $sitewide, 'cook' => $cook ); update_option( 'xpsol_acxp_settings', $acxp_options ); ?>

Settings Saved Successfully.

Press Y for YES or N for No or Click any button'; } if(empty($acxp_options['abut'])){ $acxp_options['abut'] = 'Accept'; } if(empty($acxp_options['dbut'])){ $acxp_options['dbut'] = 'Decline'; } if(empty($acxp_options['durl'])){ $acxp_options['durl'] = site_url(); } if(empty($acxp_options['mdev'])){ $acxp_options['mdev'] = 'true'; } if(empty($acxp_options['sitewide'])){ $acxp_options['sitewide'] = 'true'; } if(empty($acxp_options['cook'])){ $acxp_options['cook'] = '7'; } ?>

What's New in Version 4.5
When you save the "Popup Description Text with a new line, the plugin breaks and popup doesn't show up. In Version 4.5 we fixed that issue and also removed the ugly "spinner" icon from popup.
Be advised that, You can still use all html tags in Popup Description."

Confirmation Pop-up Settings

Enable Sitewide
Popup Theme
Popup Top bar
Popup Width (px)
Dragable
Popup Open Animation
Popup Open Animation
Popup Title Text
Popup Description Text
Accept Button Text
Decline Button Text
Decline Redirect URL
Show Alert
Meet Developer Button

How to Use?

Documentation

Site-wide

You can enable sitewide confirmation alert and customize the alert in WP-Admin > Multipurpose Alert > Settings

Shortcode [acxp_malert]

Available Parameters

All parameters can be used together. If you do not set any values in shotcodes, it will get values from WP-Admin -> Multipurpose Alert -> Settings. If you haven't set any settings in WP-Admin -> Multipurpose Alert -> Settings, Default values will be used given below.
title Default: Confirmation Alert!

title parameter can be used to change the title of confirmation alert and it should be defined in double quotes. It does not support HTML but it does support all languages.
here is the sample to change alert box title to Confirmation Alert! [acxp_malert title="Confirmation Alert!"]

content Default: Do you want to continue browsing?

content parameter can be used to change the description of confirmation alert and it should be defined in double quotes. It does support HTML and all languages.
here is the sample to change the alert box description to Do you want to continue browsing? [acxp_malert content="Do you want to continue browsing?"]

accept Default: Accept

accept parameter can be used to change the text of Accept (Green) button in confirmation alert and it should be defined in double quotes. It does not support HTML but it supports all languages.
here is the sample to change the Accept (green) button text to Yes Go On [acxp_malert accept="Yes Go On"]

decline Default: Decline

decline parameter can be used to change the text of Decline (red) button in confirmation alert and it should be defined in double quotes. It does not support HTML but it supports all languages.
here is the sample to change the Decline (red) button text to No, Take me to Homepage [acxp_malert decline="No, Take me to Homepage"]

width Default: 500px

width parameter can be used to change the width of confirmation alert and it should be defined in numbers between 250 - 650. For mobile and Tablets it is set to 300px by default to keep the design in place and you cannot change it.
here is the sample to set width to 500px [acxp_malert width=500]

theme Default: Modern

theme parameter can be used to change the theme of confirmation alert and preset background.

Available Themes
here is the sample to apply dark theme [acxp_malert theme=dark]

topbar Default: red

topbar parameter can be used to change the color of confirmation alert's top bar

Available Colors
here is the sample to make top bar green [acxp_malert topbar=green]

open and close Default: rotate

open and close parameter can be used to change the open and close animation of confirmation alert

Available Animations
here is the sample to apply scale animation as opening transition and rotate animation as closing. [acxp_malert open=scale close=rotate]

drag Default: true

drag parameter can be used to make the confirmation alert draggable

Available Options
here is the sample to make it draggable [acxp_malert drag=true]

cookie Default: 7

cookie parameter can be used to make sure people don't see the confirmation alert everytime the load the website/page/post. Shortcodes it works separately for every post and page.
Available Options ( x days)
here is the sample to hide confirmation alert for 30 days once user clicks it [acxp_malert cookie=30]

url Default:

url parameter can be used to redirect people if they select Decline (red) button on the confirmation alert.
here is the sample to redirect users to https://google.com [acxp_malert url=https://google.com]

dev Default: true

dev parameter can be used to enable or disable Meet the Developer button on the confirmation alert.
here is the sample to enable [acxp_malert dev=true]

About Plugin

For any queries contact us @ support@xpertsol.org
We would appreciate if you report any bugs or send us improvement suggestions.
'title', 'content' => 'content', 'accept' => 'accept', 'decline' => 'decline', 'width' => 'width', 'topbar' => 'topbar', 'theme' => 'theme', 'open' => 'open', 'close' => 'close', 'drag' => 'drag', 'dev' => 'dev', 'url' => 'url', 'cookie' => 'cookie' ), $atts ); $acxp_options = get_option( 'xpsol_acxp_settings' ); if($a['title'] == 'title' ){ $a['title'] = $acxp_options['title']; } elseif (empty($acxp_options['title'])){ $a['title'] = 'Confirmation Alert!'; } if($a['content'] == 'content'){ $a['content'] = $acxp_options['desc']; } elseif (empty($acxp_options['desc'])){ $a['content'] = 'Do you want to continue browsing?
Press Y for YES or N for No or Click any button'; } if($a['accept'] == 'accept'){ $a['accept'] = $acxp_options['abut']; } elseif (empty($acxp_options['abut'])){ $a['accept'] = 'Accept'; } if($a['decline'] == 'decline' ){ $a['decline'] = $acxp_options['dbut']; } elseif (empty($acxp_options['dbut'])){ $a['decline'] = 'Decline'; } if($a['width'] == 'width'){ $a['width'] = $acxp_options['width']; } elseif (empty($acxp_options['width'])){ $a['width'] = '500'; } if($a['topbar'] == 'topbar' ){ $a['topbar'] = $acxp_options['topbar']; } elseif (empty($acxp_options['topbar'])){ $a['topbar'] = 'green'; } if($a['theme'] == 'theme'){ $a['theme'] = $acxp_options['theme']; } elseif (empty($acxp_options['theme'])){ $a['theme'] = 'modern'; } if($a['open'] == 'open'){ $a['open'] = $acxp_options['oani']; } elseif (empty($acxp_options['oani'])){ $a['open'] = 'rotate'; } if($a['close'] == 'close' ){ $a['close'] = $acxp_options['cani']; } elseif (empty($acxp_options['cani'])){ $a['close'] = 'rotate'; } if($a['drag'] == 'drag' ){ $a['drag'] = $acxp_options['drag']; } elseif (empty($acxp_options['drag'])){ $a['drag'] = 'true'; } if($a['dev'] == 'dev' ){ $a['dev'] = $acxp_options['mdev']; } elseif (empty($acxp_options['mdev'])){ $a['dev'] = 'true'; } if($a['url'] == 'url'){ $a['url'] = $acxp_options['durl']; } elseif (empty($acxp_options['durl'])){ $a['url'] = site_url(); } if($a['cookie'] == 'cookie'){ $a['cookie'] = $acxp_options['cook']; } elseif (empty($acxp_options['cook'])){ $a['cookie'] = '7'; } ?> %s ', admin_url( 'admin.php?page=acxp-adult-confirmation' ), __( 'Settings', 'plugin_domain' ) ); $links['demo'] = sprintf( ' %s ', 'https://xpertsol.org/demo/', __( 'Demo', 'plugin_domain' ) ); } return $links; }