acf.php
7 years ago
alignment.php
9 years ago
animation.php
4 years ago
beaver_builder.php
8 years ago
cache.php
4 years ago
classes.php
8 years ago
classic-widgets-screen.php
4 years ago
clone.php
4 years ago
columns.php
4 years ago
dates.php
4 years ago
devices.php
9 years ago
disable_widgets.php
4 years ago
elementor.php
8 years ago
fixed.php
4 years ago
import-export.php
8 years ago
links.php
4 years ago
logic.php
9 years ago
move.php
8 years ago
permission.php
4 years ago
roles.php
4 years ago
search.php
9 years ago
shortcodes.php
4 years ago
sidebar-more_plugins.php
4 years ago
sidebar-opt_in.php
4 years ago
sidebar-support_box.php
4 years ago
sidebar-upsell_pro.php
4 years ago
siteorigin.php
9 years ago
sliding.php
4 years ago
state.php
7 years ago
styling.php
4 years ago
taxonomies.php
4 years ago
title.php
9 years ago
urls.php
4 years ago
visibility.php
9 years ago
widget-area.php
8 years ago
sidebar-support_box.php
50 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Support Sidebar Metabox |
| 4 | * Settings > Widget Options |
| 5 | * |
| 6 | * @copyright Copyright (c) 2016, Jeffrey Carandang |
| 7 | * @since 4.0 |
| 8 | */ |
| 9 | |
| 10 | // Exit if accessed directly |
| 11 | if ( ! defined( 'ABSPATH' ) ) exit; |
| 12 | |
| 13 | /** |
| 14 | * Create Metabox for Support |
| 15 | * |
| 16 | * @since 4.0 |
| 17 | * @return void |
| 18 | */ |
| 19 | if( !function_exists( 'widgetopts_settings_support_box' ) ): |
| 20 | function widgetopts_settings_support_box(){ ?> |
| 21 | <div id="widgetopts-sidebar-widget-support" class="postbox widgetopts-sidebar-widget"> |
| 22 | <h3 class="hndle ui-sortable-handle"><span><?php _e( 'Need Help on Managing Widgets?', 'widget-options' );?></span></h3> |
| 23 | <div class="inside"> |
| 24 | <p> |
| 25 | <?php _e( 'Since you are using the free version, you can get the free support on WordPress.org community forums. Thanks!', 'widget-options' );?> |
| 26 | </p> |
| 27 | <p> |
| 28 | <a class="button-secondary" href="https://wordpress.org/support/plugin/widget-options/" target="_blank"><?php _e( 'Get Free Support', 'widget-options' );?></a> |
| 29 | </p> |
| 30 | <p> |
| 31 | <?php _e( 'Manage your widgets better and get fast professional support by upgrading to Extended Widget Options.', 'widget-options' );?> |
| 32 | </p> |
| 33 | <p> |
| 34 | <a class="button-secondary" href="<?php echo apply_filters('widget_options_site_url', trailingslashit(WIDGETOPTS_PLUGIN_WEBSITE).'?utm_source=wordpressadmin&utm_medium=widget&utm_campaign=widgetoptsprocta');?>" target="_blank"><?php _e( 'Get Extended Widget Options', 'widget-options' );?></a> |
| 35 | </p> |
| 36 | <!--<p> |
| 37 | <?php //_e( 'You can also join our community via Facebook Group.', 'widget-options' );?> |
| 38 | </p> |
| 39 | <p> |
| 40 | <a class="button-secondary" href="https://www.facebook.com/groups/WPwidgets/" target="_blank"><?php //_e( 'Join Facebook Group', 'widget-options' );?></a> |
| 41 | </p>--> |
| 42 | </div> |
| 43 | </div> |
| 44 | |
| 45 | <?php |
| 46 | } |
| 47 | add_action( 'widgetopts_module_sidebar', 'widgetopts_settings_support_box', 30 ); |
| 48 | endif; |
| 49 | ?> |
| 50 |