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