acf.php
5 years ago
alignment.php
5 years ago
animation.php
5 years ago
beaver_builder.php
5 years ago
cache.php
5 years ago
classes.php
5 years ago
clone.php
5 years ago
columns.php
5 years ago
dates.php
5 years ago
devices.php
5 years ago
disable_widgets.php
5 years ago
elementor.php
5 years ago
fixed.php
5 years ago
import-export.php
5 years ago
links.php
5 years ago
logic.php
5 years ago
move.php
5 years ago
permission.php
5 years ago
roles.php
5 years ago
search.php
5 years ago
shortcodes.php
5 years ago
sidebar-more_plugins.php
5 years ago
sidebar-opt_in.php
5 years ago
sidebar-support_box.php
5 years ago
sidebar-upsell_pro.php
5 years ago
siteorigin.php
5 years ago
sliding.php
5 years ago
state.php
5 years ago
styling.php
5 years ago
taxonomies.php
5 years ago
title.php
5 years ago
urls.php
5 years ago
visibility.php
5 years ago
widget-area.php
5 years ago
sliding.php
44 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Widgets on Menu Settings Module |
| 4 | * Settings > Widget Options :: Widgets on Menu |
| 5 | * |
| 6 | * @copyright Copyright (c) 2017, Jeffrey Carandang |
| 7 | * @since 1.0 |
| 8 | */ |
| 9 | |
| 10 | // Exit if accessed directly |
| 11 | if ( ! defined( 'ABSPATH' ) ) exit; |
| 12 | |
| 13 | /** |
| 14 | * Create Card Module for Widgets on Menu Options |
| 15 | * |
| 16 | * @since 1.0 |
| 17 | * @return void |
| 18 | */ |
| 19 | if( !function_exists( 'widgetopts_settings_sliding_addon' ) ): |
| 20 | function widgetopts_settings_sliding_addon(){ |
| 21 | |
| 22 | if( !is_plugin_active( 'sliding-widget-options/plugin.php' ) ){ ?> |
| 23 | <li class="widgetopts-module-card widgetopts-module-type-pro" data-module-id="sliding"> |
| 24 | <div class="widgetopts-module-card-content" style="border-color: #ffb310;"> |
| 25 | <a href="<?php echo apply_filters('widget_options_site_url', trailingslashit(WIDGETOPTS_PLUGIN_WEBSITE).'modal-pop-up-and-sliding-widget-options/?utm_source=wordpressadmin&utm_campaign=modulecard');?>" target="_blank" class="widgetopts-pro-upsell"></a> |
| 26 | <h2><?php _e( 'Sliding Widgets Add-on', 'widget-options' );?></h2> |
| 27 | <div class="widgetopts-pro-label"><span class="dashicons dashicons-admin-plugins"></span></div> |
| 28 | <p class="widgetopts-module-desc"> |
| 29 | <?php |
| 30 | _e( 'Premium add-on to transform any widgets into Modal Pop-up, Slide-ins and Sliding Panels.', 'widget-options' ); |
| 31 | if( defined( 'ELEMENTOR_VERSION' ) ){ |
| 32 | _e( '<br /><span class="dashicons dashicons-yes" style="color: #ffb310;"></span> Elementor Compatible', 'widget-options' ); |
| 33 | } |
| 34 | ?> |
| 35 | </p> |
| 36 | </div> |
| 37 | </li> |
| 38 | <?php |
| 39 | } |
| 40 | } |
| 41 | add_action( 'widgetopts_module_cards', 'widgetopts_settings_sliding_addon', 220 ); |
| 42 | endif; |
| 43 | ?> |
| 44 |