acf.php
2 months ago
alignment.php
2 months ago
animation.php
2 months ago
beaver_builder.php
2 months ago
cache.php
2 months ago
classes.php
2 months ago
classic-widgets-screen.php
2 months ago
clone.php
2 months ago
columns.php
2 months ago
custom-sidebar.php
2 months ago
dates.php
2 months ago
devices.php
2 months ago
disable_widgets.php
2 months ago
elementor.php
2 months ago
fixed.php
2 months ago
import-export.php
2 months ago
links.php
2 months ago
logic.php
2 months ago
move.php
2 months ago
page-and-post-block.php
2 months ago
permission.php
2 months ago
roles.php
2 months ago
search.php
2 months ago
shortcodes.php
2 months ago
sidebar-more_plugins.php
2 months ago
sidebar-opt_in.php
2 months ago
sidebar-support_box.php
2 months ago
sidebar-upsell_pro.php
2 months ago
siteorigin.php
2 months ago
sliding.php
2 months ago
state.php
2 months ago
styling.php
2 months ago
taxonomies.php
2 months ago
title.php
2 months ago
urls.php
2 months ago
visibility.php
2 months ago
widget-area.php
2 months ago
custom-sidebar.php
41 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Widget Area Options Settings Module |
| 5 | * Settings > Widget Options :: Widget Area Options |
| 6 | * |
| 7 | * @copyright Copyright (c) 2017, Jeffrey Carandang |
| 8 | * @since 4.4 |
| 9 | */ |
| 10 | |
| 11 | // Exit if accessed directly |
| 12 | if (!defined('ABSPATH')) exit; |
| 13 | |
| 14 | /** |
| 15 | * Create Card Module for Widget Area Options |
| 16 | * |
| 17 | * @since 4.2 |
| 18 | * @global $widget_options |
| 19 | * @return void |
| 20 | */ |
| 21 | if (!function_exists('widgetopts_settings_custom_sidebar')) : |
| 22 | function widgetopts_settings_custom_sidebar() |
| 23 | { |
| 24 | |
| 25 | ?> |
| 26 | <li class="widgetopts-module-card widgetopts-module-type-pro" id="widgetopts-module-card-custom_sidebar" data-module-id="custom_sidebar"> |
| 27 | <div class="widgetopts-module-card-content"> |
| 28 | <a href="<?php echo apply_filters('widget_options_site_url', trailingslashit(WIDGETOPTS_PLUGIN_WEBSITE) . ''); |
| 29 | ?>" target="_blank" class="widgetopts-pro-upsell"></a> |
| 30 | <h2><?php _e('Custom Widget Area', 'widget-options'); ?></h2> |
| 31 | <div class="widgetopts-pro-label"><span class="dashicons dashicons-lock"></span></div> |
| 32 | <p class="widgetopts-module-desc"> |
| 33 | <?php _e('Allows to create a dedicated back-end container for your widgets.', 'widget-options'); ?> |
| 34 | </p> |
| 35 | </div> |
| 36 | </li> |
| 37 | <?php |
| 38 | } |
| 39 | add_action('widgetopts_module_cards', 'widgetopts_settings_custom_sidebar', 69); |
| 40 | endif; |
| 41 | ?> |