📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-footer.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
12.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
5.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
authorize-application.php
10.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
11.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
0.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
11.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-blocks.php
14.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
7.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
font-library.php
1.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
7.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu-header.php
9.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
press-this.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
setup-config.php
17.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.phpwp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets-form-blocks.php
5.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: cta.php
<?php /* Widget Name: Call-To-Action Description: A simple call-to-action widget. You can do what ever you want with a call-to-action widget. Author: SiteOrigin Author URI: https://siteorigin.com */ class SiteOrigin_Widget_Cta_Widget extends SiteOrigin_Widget { function __construct() { parent::__construct( 'sow-cta', __('SiteOrigin Call-to-action', 'so-widgets-bundle'), array( 'description' => __('A simple call-to-action widget with massive power.', 'so-widgets-bundle'), 'help' => 'https://siteorigin.com/widgets-bundle/call-action-widget/' ), array( ), false , plugin_dir_path(__FILE__) ); } /** * Initialize the CTA widget */ function initialize(){ // This widget requires the button widget if( !class_exists('SiteOrigin_Widget_Button_Widget') ) { SiteOrigin_Widgets_Bundle::single()->include_widget( 'button' ); } $this->register_frontend_styles( array( array( 'sow-cta-main', plugin_dir_url(__FILE__) . 'css/style.css', array(), SOW_BUNDLE_VERSION ) ) ); $this->register_frontend_scripts( array( array( 'sow-cta-main', plugin_dir_url(__FILE__) . 'js/cta' . SOW_BUNDLE_JS_SUFFIX . '.js', array( 'jquery' ), SOW_BUNDLE_VERSION ) ) ); } function get_widget_form(){ return array( 'title' => array( 'type' => 'text', 'label' => __('Title', 'so-widgets-bundle'), ), 'sub_title' => array( 'type' => 'text', 'label' => __('Subtitle', 'so-widgets-bundle') ), 'design' => array( 'type' => 'section', 'label' => __('Design', 'so-widgets-bundle'), 'fields' => array( 'background_color' => array( 'type' => 'color', 'label' => __('Background color', 'so-widgets-bundle'), ), 'border_color' => array( 'type' => 'color', 'label' => __('Border color', 'so-widgets-bundle'), ), 'title_color' => array( 'type' => 'color', 'label' => __('Title color', 'so-widgets-bundle'), ), 'subtitle_color' => array( 'type' => 'color', 'label' => __('Subtitle color', 'so-widgets-bundle'), ), 'button_align' => array( 'type' => 'select', 'label' => __( 'Button align', 'so-widgets-bundle' ), 'default' => 'right', 'options' => array( 'left' => __( 'Left', 'so-widgets-bundle'), 'right' => __( 'Right', 'so-widgets-bundle'), ) ) ) ), 'button' => array( 'type' => 'widget', 'class' => 'SiteOrigin_Widget_Button_Widget', 'label' => __('Button', 'so-widgets-bundle'), ), ); } function get_less_variables($instance) { if( empty( $instance ) ) return array(); return array( 'border_color' => $instance['design']['border_color'], 'background_color' => $instance['design']['background_color'], 'title_color' => $instance['design']['title_color'], 'subtitle_color' => $instance['design']['subtitle_color'], 'button_align' => $instance['design']['button_align'], ); } function modify_child_widget_form($child_widget_form, $child_widget) { unset( $child_widget_form['design']['fields']['align'] ); return $child_widget_form; } } siteorigin_widget_register('sow-cta', __FILE__, 'SiteOrigin_Widget_Cta_Widget');
Save