acf.php
4 years ago
alignment.php
4 years ago
animation.php
4 years ago
beaver_builder.php
4 years ago
cache.php
4 years ago
classes.php
4 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
4 years ago
disable_widgets.php
4 years ago
elementor.php
4 years ago
fixed.php
4 years ago
import-export.php
4 years ago
links.php
4 years ago
logic.php
4 years ago
move.php
4 years ago
permission.php
4 years ago
roles.php
4 years ago
search.php
4 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
4 years ago
sliding.php
4 years ago
state.php
4 years ago
styling.php
4 years ago
taxonomies.php
4 years ago
title.php
4 years ago
urls.php
4 years ago
visibility.php
4 years ago
widget-area.php
4 years ago
links.php
36 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Links Settings Module |
| 4 | * Settings > Widget Options :: Link Widget |
| 5 | * |
| 6 | * @copyright Copyright (c) 2016, Jeffrey Carandang |
| 7 | * @since 3.0 |
| 8 | */ |
| 9 | |
| 10 | // Exit if accessed directly |
| 11 | if ( ! defined( 'ABSPATH' ) ) exit; |
| 12 | |
| 13 | /** |
| 14 | * Create Card Module for Custom Links Options |
| 15 | * |
| 16 | * @since 3.0 |
| 17 | * @return void |
| 18 | */ |
| 19 | if( !function_exists( 'widgetopts_settings_links' ) ): |
| 20 | function widgetopts_settings_links(){ ?> |
| 21 | <li class="widgetopts-module-card widgetopts-module-type-pro" data-module-id="links"> |
| 22 | <div class="widgetopts-module-card-content"> |
| 23 | <a href="<?php echo apply_filters('widget_options_site_url', trailingslashit(WIDGETOPTS_PLUGIN_WEBSITE).'features/link-wordpress-widgets/');?>" target="_blank" class="widgetopts-pro-upsell"></a> |
| 24 | <h2><?php _e( 'Link Widget', 'widget-options' );?></h2> |
| 25 | <div class="widgetopts-pro-label"><span class="dashicons dashicons-lock"></span></div> |
| 26 | <p class="widgetopts-module-desc"> |
| 27 | <?php _e( 'Add custom links to any widgets to redirect users on click action.', 'widget-options' );?> |
| 28 | </p> |
| 29 | </div> |
| 30 | </li> |
| 31 | <?php |
| 32 | } |
| 33 | add_action( 'widgetopts_module_cards', 'widgetopts_settings_links', 70 ); |
| 34 | endif; |
| 35 | ?> |
| 36 |