alignment.php
4 years ago
devices.php
4 years ago
settings.php
4 years ago
state.php
4 years ago
upsell.php
4 years ago
visibility.php
4 years ago
upsell.php
92 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Upsell Extended Version Widget Options |
| 4 | * |
| 5 | * @copyright Copyright (c) 2015, Jeffrey Carandang |
| 6 | * @since 1.0 |
| 7 | */ |
| 8 | |
| 9 | // Exit if accessed directly |
| 10 | if ( ! defined( 'ABSPATH' ) ) exit; |
| 11 | |
| 12 | /** |
| 13 | * Add Upgrade to Pro Widget Options Tab |
| 14 | * |
| 15 | * @since 1.0 |
| 16 | * @return void |
| 17 | */ |
| 18 | |
| 19 | /** |
| 20 | * Called on 'extended_widget_opts_tabs' |
| 21 | * create new tab navigation for alignment options |
| 22 | */ |
| 23 | function widgetopts_tab_gopro( $args ){ ?> |
| 24 | <li class="extended-widget-gopro-tab-alignment"> |
| 25 | <a href="#extended-widget-opts-tab-<?php echo $args['id'];?>-gopro">+</a> |
| 26 | </li> |
| 27 | <?php |
| 28 | } |
| 29 | add_action( 'extended_widget_opts_tabs', 'widgetopts_tab_gopro', 100 ); |
| 30 | |
| 31 | /** |
| 32 | * Called on 'extended_widget_opts_tabcontent' |
| 33 | * create new tab content options for alignment options |
| 34 | */ |
| 35 | function widgetopts_tabcontent_gopro( $args ){ ?> |
| 36 | <div id="extended-widget-opts-tab-<?php echo $args['id'];?>-gopro" class="extended-widget-opts-tabcontent extended-widget-opts-tabcontent-gopro"> |
| 37 | <p class="widgetopts-unlock-features"> |
| 38 | <span class="dashicons dashicons-lock"></span><?php _e( 'Unlock all Options', 'widget-options' );?> |
| 39 | </p> |
| 40 | <p> |
| 41 | <?php _e( 'Get the world\'s most complete widget management and get the best out of your widgets! Upgrade to extended version to get:', 'widget-options' );?> |
| 42 | </p> |
| 43 | <ul> |
| 44 | <li> |
| 45 | <span class="dashicons dashicons-lock"></span> <?php _e( 'Animation Options', 'widget-options' );?> |
| 46 | </li> |
| 47 | <li> |
| 48 | <span class="dashicons dashicons-lock"></span> <?php _e( 'Custom Styling Options', 'widget-options' );?> |
| 49 | </li> |
| 50 | <li> |
| 51 | <span class="dashicons dashicons-lock"></span> <?php _e( 'Column Display', 'widget-options' );?> |
| 52 | </li> |
| 53 | <li> |
| 54 | <span class="dashicons dashicons-lock"></span> <?php _e( 'User Roles Visibility Restriction', 'widget-options' );?> |
| 55 | </li> |
| 56 | <li> |
| 57 | <span class="dashicons dashicons-lock"></span> <?php _e( 'Fixed/Sticky Widget Options', 'widget-options' );?> |
| 58 | </li> |
| 59 | <li> |
| 60 | <span class="dashicons dashicons-lock"></span> <?php _e( 'Days and Date Range Restriction', 'widget-options' );?> |
| 61 | </li> |
| 62 | <li> |
| 63 | <span class="dashicons dashicons-lock"></span> <?php _e( 'Link Widget Options', 'widget-options' );?> |
| 64 | </li> |
| 65 | <li> |
| 66 | <span class="dashicons dashicons-lock"></span> <?php _e( 'Clone Widget Options', 'widget-options' );?> |
| 67 | </li> |
| 68 | <li> |
| 69 | <span class="dashicons dashicons-lock"></span> <?php _e( 'Widget Caching Options', 'widget-options' );?> |
| 70 | </li> |
| 71 | <li> |
| 72 | <span class="dashicons dashicons-lock"></span> <?php _e( 'Shortcodes Options', 'widget-options' );?> |
| 73 | </li> |
| 74 | <li> |
| 75 | <span class="dashicons dashicons-lock"></span> <?php _e( 'Extended Taxonomy and Post Types Support', 'widget-options' );?> |
| 76 | </li> |
| 77 | <li> |
| 78 | <span class="dashicons dashicons-lock"></span> <?php _e( 'Disable Widgets and Permissions', 'widget-options' );?> |
| 79 | </li> |
| 80 | <li> |
| 81 | <span class="dashicons dashicons-lock"></span> <?php _e( 'Target URLs and Wildcard Restrictions', 'widget-options' );?> |
| 82 | </li> |
| 83 | <li> |
| 84 | <span class="dashicons dashicons-lock"></span> <?php _e( 'Pagebuilder by SiteOrigin Support', 'widget-options' );?> |
| 85 | </li> |
| 86 | </ul> |
| 87 | <p><strong><a href="<?php echo apply_filters('widget_options_site_url', trailingslashit(WIDGETOPTS_PLUGIN_WEBSITE).'?utm_source=wordpressadmin&utm_medium=widgettabs&utm_campaign=widgetoptsprotab');?>" class="button-primary" target="_blank"><?php _e( 'Learn More', 'widget-options' );?></a></strong></p> |
| 88 | </div> |
| 89 | <?php |
| 90 | } |
| 91 | add_action( 'extended_widget_opts_tabcontent', 'widgetopts_tabcontent_gopro'); ?> |
| 92 |