This is somewhat embarrassing, isn’t it?
It looks like nothing was found at this location. Maybe try a search?
>add_section( array( 'name' => __( 'On User Inactivity', 'masterpopups' ), 'desc' => __( 'Display the popup after X seconds of user inactivity', 'masterpopups' ), 'options' => array( 'toggle' => true, 'toggle_default' => 'close',//open,close ), )); $on_inactivity->open_mixed_field(array('name' => __( 'Status', 'masterpopups' ) )); $on_inactivity->add_field(array( 'id' => 'trigger-open-on-inactivity', 'name' => __( 'Enable', 'masterpopups' ), 'type' => 'switcher', 'default' => 'off', 'options' => array( 'desc_tooltip' => true, //'show_name' => false, ) )); $on_inactivity->add_field(array( 'id' => 'trigger-open-on-inactivity-period', 'name' => __( 'Inactivity time', 'masterpopups' ), 'type' => 'number', 'default' => '60', 'options' => array( 'show_spinner' => true, 'unit' => 'sec', 'show_if' => array('trigger-open-on-inactivity', '=', 'on' ), ), 'attributes' => array( 'min' => 0, ), )); $on_inactivity->close_mixed_field(); $on_inactivity->open_mixed_field(array( 'name' => __( 'Set cookie', 'masterpopups' ), 'desc' => __( 'Enable this option to display the popup only once.', 'masterpopups' ), 'insert_after_name' => "Clear Cookie", )); $on_inactivity->add_field(array( 'id' => 'cookie-on-inactivity', 'name' => __( 'Enable', 'masterpopups' ), 'type' => 'switcher', 'default' => 'off', 'options' => array( 'desc_tooltip' => true, //'show_name' => false, ) )); $on_inactivity->add_field(array( 'id' => 'cookie-on-inactivity-duration', 'name' => __( 'Cookie duration', 'masterpopups' ), 'type' => 'radio', 'default' => 'current_session', 'items' => array( 'current_session' => __( 'Current session', 'masterpopups' ), 'days' => __( 'Define days', 'masterpopups' ), ), )); $on_inactivity->add_field(array( 'id' => 'cookie-on-inactivity-days', 'name' => __( 'Days', 'masterpopups' ), 'desc' => __( 'The popup will be displayed once every "X" days.', 'masterpopups' ), 'type' => 'number', 'default' => '7', 'options' => array( 'desc_tooltip' => true, 'show_spinner' => true, 'unit' => 'days', 'show_if' => array('cookie-on-inactivity-duration', '=', 'days' ), ), 'attributes' => array( 'min' => 1, ), )); $on_inactivity->close_mixed_field(); /* |--------------------------------------------------------------------------------------------------- | On Scroll |--------------------------------------------------------------------------------------------------- */ $on_scroll = $xbox->add_section( array( 'name' => __( 'On Scroll', 'masterpopups' ), 'desc' => __( 'Display the popup after scrolling down X amount, after post content or after certain element', 'masterpopups' ), 'options' => array( 'toggle' => true, 'toggle_default' => 'close',//open,close ), )); $on_scroll->open_mixed_field(array('name' => __( 'Status', 'masterpopups' ) )); $on_scroll->add_field(array( 'id' => 'trigger-open-on-scroll', 'name' => __( 'Enable', 'masterpopups' ), 'type' => 'switcher', 'default' => 'off', 'options' => array( 'desc_tooltip' => true, //'show_name' => false, ) )); $on_scroll->add_field(array( 'id' => 'trigger-open-on-scroll-amount', 'name' => __( 'Scroll amount', 'masterpopups' ), 'type' => 'number', 'default' => '0', 'options' => array( 'show_spinner' => true, 'unit' => '%', 'unit_picker' => array('px' => 'PX', '%' => '%'), 'show_if' => array('trigger-open-on-scroll', '=', 'on' ), ), 'attributes' => array( 'min' => 0, ), )); $on_scroll->add_field(array( 'id' => 'trigger-open-on-scroll-after-post', 'name' => __( 'After post content', 'masterpopups' ), 'type' => 'switcher', 'default' => 'off', 'options' => array( 'desc_tooltip' => true, 'show_if' => array('trigger-open-on-scroll', '=', 'on' ), ) )); $on_scroll->add_field(array( 'id' => 'trigger-open-on-scroll-selector', 'name' => __( 'Scroll to certain element (ID/Class)', 'masterpopups' ), 'desc' => __( 'Enter the ID name or Class name like #footer or .widget-title', 'masterpopups' ), 'type' => 'text', 'default' => '', 'options' => array( //'desc_tooltip' => true, 'show_if' => array('trigger-open-on-scroll', '=', 'on' ), ) )); $on_scroll->close_mixed_field(); $on_scroll->open_mixed_field(array( 'name' => __( 'Set cookie', 'masterpopups' ), 'desc' => __( 'Enable this option to display the popup only once.', 'masterpopups' ), 'insert_after_name' => "Clear Cookie", )); $on_scroll->add_field(array( 'id' => 'cookie-on-scroll', 'name' => __( 'Enable', 'masterpopups' ), 'type' => 'switcher', 'default' => 'off', 'options' => array( 'desc_tooltip' => true, //'show_name' => false, ) )); $on_scroll->add_field(array( 'id' => 'cookie-on-scroll-duration', 'name' => __( 'Cookie duration', 'masterpopups' ), 'type' => 'radio', 'default' => 'current_session', 'items' => array( 'current_session' => __( 'Current session', 'masterpopups' ), 'days' => __( 'Define days', 'masterpopups' ), ), )); $on_scroll->add_field(array( 'id' => 'cookie-on-scroll-days', 'name' => __( 'Days', 'masterpopups' ), 'desc' => __( 'The popup will be displayed once every "X" days.', 'masterpopups' ), 'type' => 'number', 'default' => '7', 'options' => array( 'desc_tooltip' => true, 'show_spinner' => true, 'unit' => 'days', 'show_if' => array('cookie-on-scroll-duration', '=', 'days' ), ), 'attributes' => array( 'min' => 1, ), )); $on_scroll->close_mixed_field(); /* |--------------------------------------------------------------------------------------------------- | Inline |--------------------------------------------------------------------------------------------------- */ $display_inline = $xbox->add_section( array( 'name' => __( 'Display Inline', 'masterpopups' ), 'desc' => __( 'Embed the popup before or after post/page content', 'masterpopups' ), 'options' => array( 'toggle' => true, 'toggle_default' => 'close',//open,close ), )); $display_inline->add_field(array( 'id' => 'trigger-open-display-inline-in', 'name' => __( 'Embed automatically in', 'masterpopups' ), 'type' => 'checkbox', 'default' => '', 'items' => array( 'before-post' => __( 'Before Post', 'masterpopups' ), 'after-post' => __( 'After Post', 'masterpopups' ), ), 'options' => array( 'show_name' => true, ) ));
It looks like nothing was found at this location. Maybe try a search?